Commit graph

17 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
Martin Fuhrer
1bd1c7233f Mac OS X font loading fix: Skip over system font "AppleMyungjo.ttf" which causes TTF_OpenFont() to crash. 2008-02-07 04:11:04 +00:00
William Kendrick
adf56ef7e9 tp-magic-config man moved to (1)
Magic tool documentation now split into separate files, and referenced
(as a directory) from README, so that users can find docs to any additional
tools (ones not included by default with Tux Paint) that are installed.
Added new --datadir option, to separate path to brushes/stamps/etc. from that of saved files.
Improved docs on where savedir default is.
Made sure --help, man tuxpaint, and OPTIONS docs all covered all command-line options.
Noted SDL_Pango makes locale-specific fonts unnecessary.
Added "--plugindocprefix" option to tp-magic-config, for where docs should go.
Improved plugin API documentation.
Improved layout of man pages a little.
2007-08-02 21:04:42 +00:00
William Kendrick
40200798d8 turn plugin junk into a struct
sorting magic tools by (localized) name
emboss now keeps color
minor fixups
2007-07-20 18:37:36 +00:00
William Kendrick
c4b3e49215 Added ripples magic.
Added (not finished) (new) sparkles magic.
Fixed printf localization bug in postscript printing.
Got Text tool working when Pango is used.
2007-07-18 20:13:08 +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
Martin Fuhrer
83b00e8f60 Mac OS X update - Standard Mac font paths will now be used during attempt to TTF fonts at startup. (eg. Foreign fonts can now be placed in /Library/Fonts or ~/Library/Fonts, alongside all the other standard Mac fonts) 2006-10-19 01:34:32 +00:00
Martin Fuhrer
3189f07863 Mac OS X updates. 2006-10-14 03:55:34 +00:00
William Kendrick
7716a05281 Ran source code through "indent -nbfda -npcs -npsl -bli0". 2006-08-27 21:00:52 +00:00
John Popplewell
f482a789f6 Fix to make font sizing work. 2006-02-20 06:14:12 +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