diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 3c42e9ec5..a5f17acf7 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -8,7 +8,7 @@ http://www.tuxpaint.org/ $Id$ -2020.August.25 (0.9.25) +2020.August.29 (0.9.25) * New Features ------------ * Export drawings: @@ -91,6 +91,8 @@ $Id$ * Sub-section links within README's Table of Contents. + * EXTENDING docs cleaned up and Table of Contents added. + * Bug Fixes --------- * Mended issue where stamp descriptions were not loading diff --git a/docs/en/EXTENDING.txt b/docs/en/EXTENDING.txt index 67b672789..012978727 100644 --- a/docs/en/EXTENDING.txt +++ b/docs/en/EXTENDING.txt @@ -1,20 +1,48 @@ + Extending Tux Paint version 0.9.25 - Extending Tux Paint Copyright (c) 2002-2020 by various contributors; see AUTHORS.txt http://www.tuxpaint.org/ - June 14, 2002 - July 27, 2020 + June 14, 2002 - August 29, 2020 ---------------------------------------------------------------------- - If you wish to add or change things like Brushes and Rubber Stamps used by - Tux Paint, you can do it fairly easily by simply putting or removing files - on your hard disk. + +------------------------------------------+ + |Table of Contents | + |------------------------------------------| + | * Where Files Go | + | * Standard Files | + | * Personal Files | + | * Brushes | + | * Brush Options | + | * Stamps | + | * Images | + | * Description Text | + | * Sound Effects | + | * Descriptive Sound | + | * Stamp Options | + | * Pre-Mirrored and Flipped Images | + | * Fonts | + | * 'Starters' | + | * Coloring-Book Style | + | * Scene-Style | + | * 'Templates' | + | * Translations | + | * Alternative Input Methods | + +------------------------------------------+ + + ---------------------------------------------------------------------- + + If you wish to add or change things like Brushes, Starters, Rubber Stamps + and other content used by Tux Paint, you can do so fairly easily by simply + adding, changing, or removing files where Tux Paint looks for them. Note: You'll need to restart Tux Paint for the changes to take effect. + ---------------------------------------------------------------------- + Where Files Go Standard Files @@ -42,11 +70,12 @@ Where Files Go C:\Program Files\TuxPaint\data - Mac OS X + macOS Tux Paint stores its data files inside the "Tux Paint" application - (which is actually a special kind of folder on Mac OS X). The - following steps explain how to get to the folders within: + icon (which is actually a special kind of folder on macOS & Mac OS X + before it). The following steps explain how to get to the folders + within it: 1. Bring up a 'context' menu by holding the [Control] key and clicking the Tux Paint icon the in Finder. (If you have a mouse @@ -55,10 +84,10 @@ Where Files Go window will appear with a folder inside called "Contents." 3. Open the "Contents" folder and open the "Resources" folder found inside. - 4. There, you will find the "starters", "stamps" and "brushes" - folders. Adding new content to these folders will make the - content available to any user that launches this copy (icon) of - Tux Paint. + 4. There, you will find various sub-folders, such as "starters", + "stamps", "brushes", etc. Adding new content to these folders + will make the content available to any user that launches this + copy (icon) of Tux Paint. Note: If you install a newer version of Tux Paint and replace or discard the old version, you will lose changes made by following the @@ -67,13 +96,13 @@ Where Files Go Tux Paint also looks for files in a "TuxPaint" folder that you can place in your system's "Application Support" folder (found under - "Library" at the root of your hard disk): + "Library" at the root of your filesystem): /Library/Application Support/TuxPaint/ It also looks for files in the user's "Application Support" folder: - /Users/(user name)/Library/Application Support/TuxPaint/ + /Users/(username)/Library/Application Support/TuxPaint/ When you upgrade to a newer version of Tux Paint, the contents of this TuxPaint folder will stay the same and remain accessible by all @@ -91,14 +120,14 @@ Where Files Go Your personal Tux Paint folder is stored in your "Application Data". For example, on newer Windows (set up for an English-speaking user): - C:\Documents and Settings\(user name)\Application Data\TuxPaint\ + C:\Documents and Settings\(username)\Application Data\TuxPaint\ Mac OS X Your personal Tux Paint folder is stored in your "Application Support" folder: - /Users/(user name)/Library/Application Support/ TuxPaint/ + /Users/(username)/Library/Application Support/TuxPaint/ Linux and Unix @@ -121,8 +150,8 @@ Where Files Go Brushes - The brushes used for drawing with the 'Brush' and 'Lines' tools in - Tux Paint are simply PNG image files. + The brushes used for drawing with the 'Brush' and 'Lines' tools in Tux + Paint are simply PNG image files. The alpha (transparency) of the PNG image is used to determine the shape of the brush, which means that the shape can be 'anti-aliased' and even @@ -131,9 +160,6 @@ Brushes Greyscale pixels in the brush PNG will be drawn using the currently-selected color in Tux Paint. Color pixels will be tinted. - Brush images should be no wider than 40 pixels across and no taller than - 40 pixels high. (i.e., the maximum size can be 40 x 40.) - Brush Options Aside from a graphical shape, brushes can also be given other @@ -245,8 +271,8 @@ Stamps information and tips. Advanced Users: The Advanced Stamps HOWTO describes, in detail, how to - make PNG images which will scale perfectly when used as stamps in - Tux Paint. + make PNG images which will scale perfectly when used as stamps in Tux + Paint. ---------------------------------------------------------------------- @@ -281,8 +307,8 @@ Stamps Windows Users Use NotePad or WordPad to edit/create these files. Be sure to save - them as Plain Text, and make sure they have ".txt" at the end of the - filename... + them as plain-text, and make sure they have a ".txt" extension at + the end of the filename. ---------------------------------------------------------------------- @@ -415,9 +441,9 @@ Stamps Initial Stamp Size By default, Tux Paint assumes that your stamp is sized appropriately - for unscaled display on a 608x472 canvas. This is the original - Tux Paint canvas size, provided by a 640x480 screen. Tux Paint will - then adjust the stamp according to the current canvas size and, if + for unscaled display on a 608x472 canvas. This is the original Tux + Paint canvas size, provided by a 640x480 screen. Tux Paint will then + adjust the stamp according to the current canvas size and, if enabled, the user's stamp size controls. If your stamp would be too big or too small, you can specify a scale @@ -480,7 +506,7 @@ Fonts image is not overwritten. Additionally, as you edit your new picture, the contents of the original 'starter' affect it. - Coloring-Book Style + Coloring-Book Style The most basic kind of 'starter' is similar to a picture in a coloring book. It's an outline of a shape which you can then color in and add @@ -503,7 +529,7 @@ Fonts graphics) or KPX (templates from Kid Pix, another childrens' drawing program; they are special files which simply contain a JPEG within). - Scene-Style + Scene-Style Along with the 'coloring-book' style overlay, you can also provide a separate background image as part of a 'starter' picture. The overlay @@ -600,8 +626,8 @@ Fonts Translations Tux Paint supports numerous languages, thanks to use of the "gettext" - localization library. (See OPTIONS for how to change locales in - Tux Paint.) + localization library. (See OPTIONS for how to change locales in Tux + Paint.) To translate Tux Paint to a new language, copy the translation template file, "tuxpaint.pot" (found in Tux Paint's source code, in the folder @@ -652,6 +678,8 @@ Translations Makefile, to have the ".po" gettext catalog source files compiled into ".mo" files, and installed, for use at runtime. + ---------------------------------------------------------------------- + Alternative Input Methods As of version 0.9.17, Tux Paint's "Text" tool can provide alternative @@ -710,6 +738,8 @@ Alternative Input Methods used in Korean to handle Batchim, which may carry over to the next character. - Note: Additional input method support also requires additions to - Tux Paint's source code (/src/im.c), and requires updates to the - Makefile, to have the ".im" files installed, for use at runtime. + Note: Additional input method support also requires additions to Tux + Paint's source code (/src/im.c), and requires updates to the Makefile, + to have the ".im" files installed, for use at runtime. + + ---------------------------------------------------------------------- diff --git a/docs/en/html/EXTENDING.html b/docs/en/html/EXTENDING.html index d96945943..de1244baf 100644 --- a/docs/en/html/EXTENDING.html +++ b/docs/en/html/EXTENDING.html @@ -16,12 +16,12 @@ alink="#FF00FF">

+ Extending
Tux Paint
- version 0.9.25
- Extending Tux Paint + alt="Tux Paint">
+ version 0.9.25

@@ -32,37 +32,142 @@

- June 14, 2002 - July 27, 2020 + June 14, 2002 - August 29, 2020

+
+ + + + + + + + + +
+ Table of Contents +
+ +
+

- If you wish to add or change things like Brushes and Rubber - Stamps used by Tux Paint, you can do it fairly easily by - simply putting or removing files on your hard disk. + If you wish to add or change things like Brushes, Starters, + Rubber Stamps and + other content used by + Tux Paint, + you can do so fairly easily by simply adding, changing, or removing files + where Tux Paint looks for them.

- Note: You'll need to restart Tux Paint for the changes - to take effect. + Note: You'll need to restart + Tux Paint + for the changes to take effect.

+
+

- Where Files Go + + Where Files Go +

- Standard Files + + Standard Files +

- Tux Paint looks for its various data files in its - 'data' directory. + Tux Paint looks for its various data files in its + 'data' directory.

@@ -72,8 +177,8 @@

Where this directory goes depends on what value was set - for "DATA_PREFIX" when Tux Paint was - built. See INSTALL.txt for details. + for "DATA_PREFIX" when Tux Paint was + built. See INSTALL.txt for details.

@@ -100,86 +205,87 @@

- Tux Paint looks for a directory called 'data' in + Tux Paint looks for a directory called 'data' in the same directory as the executable. This is the directory that the installer used when installing - Tux Paint e.g.: + Tux Paint e.g.:

- C:\Program Files\TuxPaint\data + C:\Program Files\TuxPaint\data

- Mac OS X + macOS

- Tux Paint stores its data files inside the - "Tux Paint" application (which is actually a - special kind of folder on Mac OS X). The - following steps explain how to get to the folders - within: + Tux Paint stores its data files inside the + "Tux Paint" application icon + (which is actually a special kind of folder on macOS & + Mac OS X before it). The following steps explain how to get to the folders + within it:

  1. Bring up a 'context' menu by holding the [Control] - key and clicking the Tux Paint icon the in Finder. + key and clicking the Tux Paint icon the in Finder. (If you have a mouse with more than one button, you can simply right-click the icon.)
  2. -
  3. Select "Show Contents" from the menu that - appears. A new Finder window will appear with a folder - inside called "Contents." +
  4. Select "Show Contents" from the menu that + appears. A new Finder window will appear with a folder + inside called "Contents."
  5. -
  6. Open the "Contents" folder and open the "Resources" - folder found inside. +
  7. Open the "Contents" folder and open the + "Resources" folder found inside.
  8. -
  9. There, you will find the "starters", "stamps" and - "brushes" folders. Adding new content to these folders +
  10. There, you will find various sub-folders, such as + "starters", "stamps", "brushes", + etc. Adding new content to these folders will make the content available to any user that - launches this copy (icon) of Tux Paint. + launches this copy (icon) of Tux Paint.

Note: If you install a newer version of - Tux Paint and replace or discard the old version, + Tux Paint and replace or discard the old version, you will lose changes made by following the instructions above, so keep backups of your new content (stamps, brushes, etc.).

- Tux Paint also looks for files in a "TuxPaint" + Tux Paint also looks for files in a "TuxPaint" folder that you can place in your system's - "Application Support" folder (found under - "Library" at the root of your hard disk): + "Application Support" folder + (found under "Library" at the root of your filesystem):

- /Library/Application Support/TuxPaint/ + /Library/Application Support/TuxPaint/

- It also looks for files in the user's "Application - Support" folder: + It also looks for files in the user's + "Application Support" folder:

- /Users/(user name)/Library/Application + /Users/(username)/Library/Application Support/TuxPaint/

- When you upgrade to a newer version of Tux Paint, the - contents of this TuxPaint folder will stay the same and - remain accessible by all users of Tux Paint. + When you upgrade to a newer version of Tux Paint, the + contents of this TuxPaint folder will stay the same and + remain accessible by all users of Tux Paint.

@@ -188,13 +294,15 @@ noshade>

- Personal Files + + Personal Files +

You can also create brushes, stamps, fonts and 'starters' - in your own directory (folder) for Tux Paint to + in your own directory (folder) for Tux Paint to find.

@@ -204,14 +312,14 @@

- Your personal Tux Paint folder is stored in your + Your personal Tux Paint folder is stored in your "Application Data". For example, on newer Windows (set up for an English-speaking user):

- C:\Documents and - Settings\(user name)\Application + C:\Documents and + Settings\(username)\Application Data\TuxPaint\
@@ -222,13 +330,13 @@

- Your personal Tux Paint folder is stored in your + Your personal Tux Paint folder is stored in your "Application Support" folder:

- /Users/(user name)/Library/Application - Support/ TuxPaint/ + /Users/(username)/Library/Application + Support/TuxPaint/
@@ -238,14 +346,14 @@

- Your personal Tux Paint directory is + Your personal Tux Paint directory is "$(HOME)/.tuxpaint/" (also known as "~/.tuxpaint/".

That is, if your home directory is - "/home/karl", then your Tux Paint + "/home/karl", then your Tux Paint directory is "/home/karl/.tuxpaint/".

@@ -257,7 +365,7 @@

To add brushes, stamps fonts, and 'starters,' create - subdirectories under your personal Tux Paint + subdirectories under your personal Tux Paint directory named "brushes", "stamps", "fonts" and "starters" respectively. @@ -275,13 +383,15 @@ noshade>

- Brushes + + Brushes +

The brushes used for drawing with the 'Brush' and 'Lines' - tools in Tux Paint are simply PNG image files. + tools in Tux Paint are simply PNG image files.

Greyscale pixels in the brush PNG will be drawn using the - currently-selected color in Tux Paint. Color pixels + currently-selected color in Tux Paint. Color pixels will be tinted.

-

- Brush images should be no wider than 40 pixels across - and no taller than 40 pixels high. (i.e., the maximum - size can be 40 x 40.) -

-

- Brush Options + + Brush Options +

Aside from a graphical shape, brushes can also be given other attributes. To do this, you need to create a - 'data file' for the brush. + 'data file' for the brush.

@@ -335,7 +441,7 @@

- As of Tux Paint version 0.9.16, you can now + As of Tux Paint version 0.9.16, you can now specify the spacing for brushes (that is, how often they are drawn). By default, the spacing will be the brush's height, divided by 4. @@ -356,7 +462,7 @@

- As of Tux Paint version 0.9.16, you may now create + As of Tux Paint version 0.9.16, you may now create animated brushes. As the brush is used, each frame of the animation is drawn.

@@ -388,7 +494,7 @@

- As of Tux Paint version 0.9.16, you may now create + As of Tux Paint version 0.9.16, you may now create directional brushes. As the brush is used, different shapes are drawn, depending on the direction the brush is going. @@ -452,7 +558,9 @@ noshade>

- Stamps + + Stamps +

@@ -467,12 +575,14 @@

- Images + + Images +

- Rubber Stamps in Tux Paint can be made up of a + Rubber Stamps in Tux Paint can be made up of a number of separate files. The one file that is required is, of course, the picture itself.

@@ -482,7 +592,7 @@ alt="" align="right">

- As of Tux Paint version 0.9.17, Stamps may be either + As of Tux Paint version 0.9.17, Stamps may be either PNG bitmap images or SVG vector images. They can be full-color or greyscale. The alpha (transparency) channel of PNGs is used to determine the actual shape of the @@ -491,14 +601,14 @@

- PNGs can be any size, and Tux Paint (by default) + PNGs can be any size, and Tux Paint (by default) provides a set of sizing buttons to let the user scale the stamp up (larger) and down (smaller).

SVGs are vector-based, and will be scaled appropriately - for the canvas being used in Tux Paint. + for the canvas being used in Tux Paint.

@@ -522,7 +632,7 @@ Advanced Users: The Advanced Stamps HOWTO describes, in detail, how to make PNG images which will - scale perfectly when used as stamps in Tux Paint. + scale perfectly when used as stamps in Tux Paint.


@@ -531,7 +641,9 @@ noshade>

- Description Text + + Description Text +

@@ -555,7 +667,7 @@

Additional lines can be added to the text file to provide translations of the description, to be - displayed when Tux Paint is running in a different + displayed when Tux Paint is running in a different locale (like French or Spanish).

@@ -578,7 +690,7 @@

If no translation is available for the language - Tux Paint is currently running in, the US English + Tux Paint is currently running in, the US English text is used.

@@ -589,9 +701,9 @@

- Use NotePad or WordPad to edit/create these files. Be - sure to save them as Plain Text, and make sure they - have ".txt" at the end of the filename... + Use NotePad or WordPad to edit/create these files. + Be sure to save them as plain-text, and make sure they + have a ".txt" extension at the end of the filename.

@@ -600,12 +712,15 @@ noshade>

- Sound Effects + + Sound Effects +

- WAVE (".wav") or OGG Vorbis (".ogg") files with the same + WAVE (".wav") or OGG Vorbis + (".ogg") files with the same name as the PNG or SVG. (e.g., "picture.svg"'s sound effect is the sound file "picture.wav" in the same directory.) @@ -626,7 +741,7 @@

"picture.png"'s sound effect, when - Tux Paint is run in Spanish mode, would be + Tux Paint is run in Spanish mode, would be "picture_es.wav". In French mode, "picture_fr.wav". In Brazilian Portuguese mode, "picture_pt_BR.wav". And so on... @@ -634,7 +749,7 @@

If no localized sound effect can be loaded, - Tux Paint will attempt to load the 'default' sound + Tux Paint will attempt to load the 'default' sound file. (e.g., "picture.wav")

@@ -642,7 +757,7 @@

Note: For descriptive sounds (not sound effects, like a bang or a bird chirping), consider using the - Descriptive Sounds, described below. + Descriptive Sounds, described below.

@@ -650,7 +765,9 @@ noshade>

- Descriptive Sound + + Descriptive Sound +

@@ -676,7 +793,7 @@

"picture.png"'s descriptive sound, when - Tux Paint is run in Spanish mode, would be + Tux Paint is run in Spanish mode, would be "picture_desc_es.wav". In French mode, "picture_desc_fr.wav". In Brazilian Portuguese mode, "picture_desc_br_PT.wav". @@ -685,7 +802,7 @@

If no localized descriptive sound can be loaded, - Tux Paint will attempt to load the 'default' + Tux Paint will attempt to load the 'default' descriptive sound file. (e.g., "picture_desc.wav")

@@ -696,7 +813,9 @@ noshade>

- Stamp Options + + Stamp Options +

@@ -794,7 +913,7 @@

Depending on the contents of your stamp, you might - want to have Tux Paint use one of a number of + want to have Tux Paint use one of a number of methods when tinting it. Add one of the following lines to the stamp's data file:

@@ -850,7 +969,7 @@ By default, a stamp can be flipped upside down, shown as a mirror image, or both. This is done using the control buttons below the stamp selector, at the lower - right side of the screen in Tux Paint. + right side of the screen in Tux Paint.

@@ -878,10 +997,10 @@

- By default, Tux Paint assumes that your stamp is + By default, Tux Paint assumes that your stamp is sized appropriately for unscaled display on a 608x472 - canvas. This is the original Tux Paint canvas - size, provided by a 640x480 screen. Tux Paint will + canvas. This is the original Tux Paint canvas + size, provided by a 640x480 screen. Tux Paint will then adjust the stamp according to the current canvas size and, if enabled, the user's stamp size controls.

@@ -913,7 +1032,9 @@

- Pre-Mirrored and Flipped Images + + Pre-Mirrored and Flipped Images +

@@ -928,7 +1049,7 @@

To create a mirrored version of a stamp that you want - Tux Paint to use, rather than mirroring one on its + Tux Paint to use, rather than mirroring one on its own, simply create a second ".png" or ".svg" graphics file with the same name, except with "_mirror" before the @@ -944,7 +1065,7 @@

- As of Tux Paint 0.9.18, you may similarly provide a + As of Tux Paint 0.9.18, you may similarly provide a pre-flipped image with "_flip" in the name, and/or an image that is both mirrored and flipped, by naming it "_mirror_flip". @@ -964,7 +1085,9 @@ noshade>

- Fonts + + Fonts +

@@ -974,13 +1097,13 @@ alt="" align="right">

- The fonts used by Tux Paint are TrueType Fonts + The fonts used by Tux Paint are TrueType Fonts (TTF).

Simply place them in the "fonts" - directory. Tux Paint will load the font and provide + directory. Tux Paint will load the font and provide four different sizes in the 'Letters' selector when using the 'Text' tool.

@@ -991,7 +1114,9 @@ noshade>

- 'Starters' + + 'Starters' +

@@ -1003,23 +1128,29 @@

'Starter' images appear in the 'New' dialog, along with solid color background choices. (Note: In earlier versions - of Tux Paint, they appeared in the 'Open' dialog, + of Tux Paint, they appeared in the 'Open' dialog, together with saved drawings.)

- Unlike pictures drawn in Tux Paint by users and then + Unlike pictures drawn in Tux Paint by users and then opened later, opening a 'starter' creates a new drawing. When you save, the 'starter' image is not overwritten. Additionally, as you edit your new picture, the contents of the original 'starter' affect it.

- Coloring-Book Style + +

+ + Coloring-Book Style + +

+

The most basic kind of 'starter' is similar to a picture in a coloring book. It's an outline of a shape which you - can then color in and add details to. In Tux Paint, + can then color in and add details to. In Tux Paint, as you draw, type text, or stamp stamps, the outline remains 'above' what you draw. You can erase the parts of the drawing you made, but you can't erase the outline. @@ -1029,7 +1160,7 @@ To create this kind of 'starter' image, simply draw an outlined picture in a paint program, make the rest of the graphic transparent (that will come out as white in - Tux Paint), and save it as a PNG format file. + Tux Paint), and save it as a PNG format file.

@@ -1048,7 +1179,13 @@ JPEG within).

- Scene-Style + +

+ + Scene-Style + +

+

Along with the 'coloring-book' style overlay, you can @@ -1089,8 +1226,8 @@

The 'starter' images should be the same size as - Tux Paint's canvas. (See the "Loading Other Pictures - into Tux Paint" section of Tux Paint's canvas. (See the "Loading Other Pictures + into Tux Paint" section of README for details on sizing.) If they are not, they will be stretched, without affecting the shape ("aspect ratio"); however some smudging may be @@ -1099,14 +1236,14 @@

Place them in the "starters" directory. - When the 'New' dialog is accessed in Tux Paint, the + When the 'New' dialog is accessed in Tux Paint, the 'starter' images will appear in the screen that appears, after the various solid color choices.

Note: 'Starters' can't be saved over from within - Tux Paint, since loading a 'starter' is really like + Tux Paint, since loading a 'starter' is really like creating a new image. (Instead of being blank, though there's already something there to work with.) The 'Save' command simply creates a new picture, like it would if the @@ -1118,7 +1255,7 @@ via a small text file that has the same name as the saved file, but with ".dat" as the extension. This allows the overlay and background, if any, to continue to - affect the drawing even after Tux Paint has been quit, + affect the drawing even after Tux Paint has been quit, or another picture loaded or started. (In other words, if you base a drawing on a 'starter' image, it will always be affected by it.) @@ -1130,7 +1267,9 @@ noshade>

- 'Templates' + + 'Templates' +

@@ -1142,12 +1281,12 @@

'Template' images also appear in the 'New' dialog, along with solid color background choices and 'Starters'. (Note: - Tux Paint prior to version 0.9.22 did not have the + Tux Paint prior to version 0.9.22 did not have the 'Template' feature.)

- Unlike pictures drawn in Tux Paint by users and then + Unlike pictures drawn in Tux Paint by users and then opened later, opening a 'template' creates a new drawing. When you save, the 'template' image is not overwritten. Unlike 'starters', there is no immutable 'layer' above the @@ -1168,8 +1307,8 @@

The 'template' images should be the same size as - Tux Paint's canvas. (See the "Loading Other Pictures - into Tux Paint" section of Tux Paint's canvas. (See the "Loading Other Pictures + into Tux Paint" section of README for details on sizing.) If they are not, they will be stretched, without affecting the shape ("aspect ratio"); however some smudging may be @@ -1179,14 +1318,14 @@

Place them in the "templates" directory. When the 'New' dialog is accessed in - Tux Paint, the 'template' images will appear in the + Tux Paint, the 'template' images will appear in the screen that appears, after the various solid color choices and 'starters'.

Note: 'Templates' can't be saved over from within - Tux Paint, since loading a 'template' is really like + Tux Paint, since loading a 'template' is really like creating a new image. (Instead of being blank, though there's already something there to work with.) The 'Save' command simply creates a new picture, like it would if the @@ -1199,7 +1338,7 @@ file, but with ".dat" as the extension. This allows the background to continue to be available to the drawing (e.g., when using the 'Eraser' tool) even after - Tux Paint has been quit, or another picture loaded or + Tux Paint has been quit, or another picture loaded or started. (In other words, if you base a drawing on a 'template' image, it will always be affected by it.)

@@ -1210,21 +1349,23 @@ noshade>

- Translations + + Translations +

- Tux Paint supports numerous languages, thanks to use of the - "gettext" localization library. (See OPTIONS for how to change locales in - Tux Paint.) + Tux Paint supports numerous languages, thanks to use of the + "gettext" localization library. (See OPTIONS + for how to change locales in + Tux Paint.)

- To translate Tux Paint to a new language, copy the + To translate Tux Paint to a new language, copy the translation template file, "tuxpaint.pot" - (found in Tux Paint's source code, in the folder + (found in Tux Paint's source code, in the folder "src/po/"). Rename the copy as a ".po" file, with an appropriate name for the locale you're translating to (e.g., "es.po" @@ -1237,7 +1378,7 @@ Open the newly-created ".po" file — you can edit in a plain text edtior, such as Emacs, Pico or VI on Linux, or NotePad on Windows. The original English - text used in Tux Paint is listed in lines starting + text used in Tux Paint is listed in lines starting with "msgid". Enter your translations of each of these pieces of text in the empty "msgstr" lines directly below the corresponding "msgid" @@ -1267,13 +1408,13 @@

Note: It is best to always work off of the - latest Tux Paint text catalog template + latest Tux Paint text catalog template ("tuxpaint.pot"), since new text is added, and old text is occasionally changed. The text catalog for the - upcoming, unreleased version of Tux Paint can be found - in Tux Paint's CVS repository (see: Tux Paint can be found + in Tux Paint's CVS repository (see: http://www.tuxpaint.org/download/source/cvs/), - and on the Tux Paint website at Tux Paint website at http://www.tuxpaint.org/help/po/.

@@ -1285,7 +1426,7 @@

You may send new or edited translation files to - Bill Kendrick, lead developer of Tux Paint, at: + Bill Kendrick, lead developer of Tux Paint, at: bill@newbreedsoftware.com, or post them to the "tuxpaint-i18n" mailing list (see: @@ -1303,7 +1444,7 @@

Note: Additional locale support also requires - additions to Tux Paint's source code + additions to Tux Paint's source code (/src/i18n.h and /src/i18n.c), and requires updates to the Makefile, to have the ".po" gettext catalog source files @@ -1312,15 +1453,19 @@

+
+

- Alternative Input Methods + + Alternative Input Methods +

- As of version 0.9.17, Tux Paint's "Text" tool can + As of version 0.9.17, Tux Paint's "Text" tool can provide alternative input methods for some languages. For - example, when Tux Paint is running with a Japanese + example, when Tux Paint is running with a Japanese locale, the right [Alt] key can be pressed to cycle between Latin, Romanized Hiragana and Romanized Katakana modes. This allows native characters and words to @@ -1409,11 +1554,14 @@

Note: Additional input method support also requires - additions to Tux Paint's source code + additions to Tux Paint's source code (/src/im.c), and requires updates to the Makefile, to have the ".im" files installed, for use at runtime.

+ +
+