Commit graph

11 commits

Author SHA1 Message Date
Mark K. Kim
4cabed88a6 Improved support for detecting missing dependencies:
- Added libpaper-dev package checking.

- Previously, SDL_Pango's bug forced Tux Paint to include a customized
  version of SDL_Pango.h in its distribution, so we couldn't tell if
  SDL_Pango was installed in the system by including SDL_Pango.h.  We made
  a new workaround for SDL_Pango's bug that does not require Tux Paint to
  include SDL_Pango.h, so now we can check for SDL_Pango installation.

- Makefile now includes a check for gettext installation and will not
  fail when attempting to generate .mo files or install .mo files.  Instead,
  Makefile will now display a warning and skip the .mo file generation and
  installation steps.

Many thanks to Arunodai Vudem for the patches.
2008-05-25 02:30:45 +00:00
William Kendrick
e9348a977a Silenced some debugging. 2007-07-19 18:48:18 +00:00
William Kendrick
21ea42f38f Attempting to debug/fix SDL_Pango stuff.
Added icon for Kalidescope magic tool.
Added Canada map starter.
Added Japan map starter.
Improved comments near gettext() calls to improve POT and PO files.
Regenerated PO files and POT file.
Added .cvsignore to make sure tp_magic_api.h (which is generated) isn't noticed.
2007-07-17 18:41:16 +00:00
William Kendrick
0eecea9581 Magic compiles silenced.
Attempted Text tool font load under pango.
Made pango optional.
TuxPaint_Font is aware of both panfgo contexts & sdl_ttf ttf fonts.
2007-07-13 18:18:20 +00:00
William Kendrick
095ba8efb3 Began adding support for using SDL_Pango, a wrapper to Pango,
a library for layout and rendering of text, with an emphasis on
internationalization.  (The hope is to improve support for languages
that SDL_ttf doesn't support well; e.g., Arabic and Telegu.)

TTF_Font structs and some functions were replaced by a new
TuxPaint_Font struct and function, which wraps around either TTF_Font
or SDLPango_Context, depending on whether SDL_Pango is being used.
Note: STILL NEEDS WORK!
2007-07-12 18:43:18 +00:00
William Kendrick
bccb269062 New starters: 10x10 grid & 20x20 grid
Reordered font-loading to happen after locale switch occurs, to
pick up font-organizing string translations (e.g., "Aa", "qx", etc.).
Attempting to help address issue of Latin-only fonts being available
in non-Latin locales -- seemed to help with Norwegian.
Czech translation update.
Russian README documentation
2007-06-06 18:31:54 +00:00
William Kendrick
d451169a83 Got stamp category switching working/ 2007-05-16 07:14:08 +00:00
Albert Cahalan
19b0c3d33d make multiply/divide key (on OLPC XO keyboard) work 2007-03-29 05:06:45 +00:00
William Kendrick
7716a05281 Ran source code through "indent -nbfda -npcs -npsl -bli0". 2006-08-27 21:00:52 +00:00
John Popplewell
2982961f38 Various fixes for win32, mostly as a result of the splits. 2006-02-20 04:12:27 +00:00
William Kendrick
e964eb17a0 More splits from "tuxpaint.c":
+ "debug.h": Defines whether debugging printf() calls should be enabled.
  + "dirwalk.c/h": Callback functions for recursive directory traversal.
  + "fonts.c/h": Font loading/grouping/discarding variables and functions.
  + "get_fname.c/h": Functions for constructing preferred file paths.
2006-02-19 08:02:39 +00:00