From adf56ef7e938dc5174e2961071446326248c6ce3 Mon Sep 17 00:00:00 2001
From: William Kendrick
Date: Thu, 2 Aug 2007 21:04:42 +0000
Subject: [PATCH] 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.
---
Makefile | 16 +-
docs/CHANGES.txt | 12 +-
docs/OPTIONS.txt | 90 +++++++--
docs/README.txt | 120 ++---------
docs/html/OPTIONS.html | 123 +++++++++---
docs/html/README.html | 132 ++----------
magic/docs/README.txt | 267 ++++++++++++++++++-------
magic/docs/html/README.html | 239 ++++++++++++++++++----
magic/magic-docs/Makefile | 120 +++++++++++
magic/magic-docs/blocks.txt | 4 +
magic/magic-docs/blur.txt | 5 +
magic/magic-docs/bricks.txt | 5 +
magic/magic-docs/cartoon.txt | 4 +
magic/magic-docs/chalk.txt | 4 +
magic/magic-docs/darken.txt | 6 +
magic/magic-docs/drip.txt | 3 +
magic/magic-docs/emboss.txt | 5 +
magic/magic-docs/fade.txt | 6 +
magic/magic-docs/fill.txt | 4 +
magic/magic-docs/flip.txt | 6 +
magic/magic-docs/flower.txt | 9 +
magic/magic-docs/foam.txt | 5 +
magic/magic-docs/glasstile.txt | 4 +
magic/magic-docs/grass.txt | 7 +
magic/magic-docs/html/blocks.html | 25 +++
magic/magic-docs/html/blur.html | 26 +++
magic/magic-docs/html/bricks.html | 26 +++
magic/magic-docs/html/cartoon.html | 25 +++
magic/magic-docs/html/chalk.html | 25 +++
magic/magic-docs/html/darken.html | 30 +++
magic/magic-docs/html/drip.html | 24 +++
magic/magic-docs/html/emboss.html | 25 +++
magic/magic-docs/html/fade.html | 30 +++
magic/magic-docs/html/fill.html | 25 +++
magic/magic-docs/html/flip.html | 27 +++
magic/magic-docs/html/flower.html | 31 +++
magic/magic-docs/html/foam.html | 25 +++
magic/magic-docs/html/glasstile.html | 24 +++
magic/magic-docs/html/grass.html | 29 +++
magic/magic-docs/html/kalidescope.html | 25 +++
magic/magic-docs/html/metalpaint.html | 24 +++
magic/magic-docs/html/mirror.html | 28 +++
magic/magic-docs/html/negative.html | 25 +++
magic/magic-docs/html/rainbow.html | 25 +++
magic/magic-docs/html/ripples.html | 24 +++
magic/magic-docs/html/smudge.html | 27 +++
magic/magic-docs/html/sparkles.html | 25 +++
magic/magic-docs/html/tint.html | 28 +++
magic/magic-docs/html/waves.html | 26 +++
magic/magic-docs/kalidescope.txt | 5 +
magic/magic-docs/metalpaint.txt | 3 +
magic/magic-docs/mirror.txt | 7 +
magic/magic-docs/negative.txt | 4 +
magic/magic-docs/rainbow.txt | 4 +
magic/magic-docs/ripples.txt | 3 +
magic/magic-docs/smudge.txt | 6 +
magic/magic-docs/sparkles.txt | 4 +
magic/magic-docs/tint.txt | 6 +
magic/magic-docs/waves.txt | 5 +
src/fonts.c | 5 +-
src/get_fname.c | 98 ++++-----
src/get_fname.h | 8 +-
src/manpage/tp-magic-config.3 | 86 --------
src/manpage/tuxpaint.1 | 117 +++++++++--
src/tp-magic-config.sh.in | 12 +-
src/tuxpaint.c | 178 ++++++++++++-----
66 files changed, 1809 insertions(+), 592 deletions(-)
create mode 100644 magic/magic-docs/Makefile
create mode 100644 magic/magic-docs/blocks.txt
create mode 100644 magic/magic-docs/blur.txt
create mode 100644 magic/magic-docs/bricks.txt
create mode 100644 magic/magic-docs/cartoon.txt
create mode 100644 magic/magic-docs/chalk.txt
create mode 100644 magic/magic-docs/darken.txt
create mode 100644 magic/magic-docs/drip.txt
create mode 100644 magic/magic-docs/emboss.txt
create mode 100644 magic/magic-docs/fade.txt
create mode 100644 magic/magic-docs/fill.txt
create mode 100644 magic/magic-docs/flip.txt
create mode 100644 magic/magic-docs/flower.txt
create mode 100644 magic/magic-docs/foam.txt
create mode 100644 magic/magic-docs/glasstile.txt
create mode 100644 magic/magic-docs/grass.txt
create mode 100644 magic/magic-docs/html/blocks.html
create mode 100644 magic/magic-docs/html/blur.html
create mode 100644 magic/magic-docs/html/bricks.html
create mode 100644 magic/magic-docs/html/cartoon.html
create mode 100644 magic/magic-docs/html/chalk.html
create mode 100644 magic/magic-docs/html/darken.html
create mode 100644 magic/magic-docs/html/drip.html
create mode 100644 magic/magic-docs/html/emboss.html
create mode 100644 magic/magic-docs/html/fade.html
create mode 100644 magic/magic-docs/html/fill.html
create mode 100644 magic/magic-docs/html/flip.html
create mode 100644 magic/magic-docs/html/flower.html
create mode 100644 magic/magic-docs/html/foam.html
create mode 100644 magic/magic-docs/html/glasstile.html
create mode 100644 magic/magic-docs/html/grass.html
create mode 100644 magic/magic-docs/html/kalidescope.html
create mode 100644 magic/magic-docs/html/metalpaint.html
create mode 100644 magic/magic-docs/html/mirror.html
create mode 100644 magic/magic-docs/html/negative.html
create mode 100644 magic/magic-docs/html/rainbow.html
create mode 100644 magic/magic-docs/html/ripples.html
create mode 100644 magic/magic-docs/html/smudge.html
create mode 100644 magic/magic-docs/html/sparkles.html
create mode 100644 magic/magic-docs/html/tint.html
create mode 100644 magic/magic-docs/html/waves.html
create mode 100644 magic/magic-docs/kalidescope.txt
create mode 100644 magic/magic-docs/metalpaint.txt
create mode 100644 magic/magic-docs/mirror.txt
create mode 100644 magic/magic-docs/negative.txt
create mode 100644 magic/magic-docs/rainbow.txt
create mode 100644 magic/magic-docs/ripples.txt
create mode 100644 magic/magic-docs/smudge.txt
create mode 100644 magic/magic-docs/sparkles.txt
create mode 100644 magic/magic-docs/tint.txt
create mode 100644 magic/magic-docs/waves.txt
delete mode 100644 src/manpage/tp-magic-config.3
diff --git a/Makefile b/Makefile
index 7e29deba9..cfcdc5772 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
# bill@newbreedsoftware.com
# http://www.tuxpaint.org/
-# June 14, 2002 - July 31, 2007
+# June 14, 2002 - August 2, 2007
# The version number, for release:
@@ -529,7 +529,7 @@ uninstall: uninstall-i18n
-rm $(MAN_PREFIX)/man1/tuxpaint.1.gz
-rm $(MAN_PREFIX)/pl/man1/tuxpaint.1.gz
-rm $(MAN_PREFIX)/man1/tuxpaint-import.1.gz
- -rm $(MAN_PREFIX)/man3/tp-magic-config.3.gz
+ -rm $(MAN_PREFIX)/man1/tp-magic-config.1.gz
-rm -f -r $(CONFDIR)
-rm -r $(MAGIC_PREFIX)
-rm -r $(INCLUDE_PREFIX)/tuxpaint
@@ -743,6 +743,7 @@ install-doc:
@echo "...Installing documentation..."
@install -d $(DOC_PREFIX)
@cp -R docs/* $(DOC_PREFIX)
+ @cp -R magic/magic-docs $(DOC_PREFIX)
@chmod a=rX,g=rX,u=rwX $(DOC_PREFIX)
@@ -753,8 +754,6 @@ install-man:
@echo "...Installing man pages..."
@# man1 directory...
@install -d $(MAN_PREFIX)/man1
- @# man3 directory...
- @install -d $(MAN_PREFIX)/man3
@# tuxpaint.1
@cp src/manpage/tuxpaint.1 $(MAN_PREFIX)/man1
@gzip -f $(MAN_PREFIX)/man1/tuxpaint.1
@@ -769,10 +768,10 @@ install-man:
@cp src/manpage/tuxpaint-import.1 $(MAN_PREFIX)/man1/
@gzip -f $(MAN_PREFIX)/man1/tuxpaint-import.1
@chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tuxpaint-import.1.gz
- @# tp-magic-config.3
- @cp src/manpage/tp-magic-config.3 $(MAN_PREFIX)/man3/
- @gzip -f $(MAN_PREFIX)/man3/tp-magic-config.3
- @chmod a+rx,g-w,o-w $(MAN_PREFIX)/man3/tp-magic-config.3.gz
+ @# tp-magic-config.1
+ @cp src/manpage/tp-magic-config.1 $(MAN_PREFIX)/man1/
+ @gzip -f $(MAN_PREFIX)/man1/tp-magic-config.1
+ @chmod a+rx,g-w,o-w $(MAN_PREFIX)/man1/tp-magic-config.1.gz
@@ -940,6 +939,7 @@ tp-magic-config: src/tp-magic-config.sh.in Makefile
-e s=__INCLUDE__=$(INCLUDE_PREFIX)/tuxpaint= \
-e s=__DATAPREFIX__=$(DATA_PREFIX)= \
-e s=__PLUGINPREFIX__=$(MAGIC_PREFIX)= \
+ -e s=__PLUGINDOCPREFIX__=$(DOC_PREFIX)/magic-docs= \
> tp-magic-config
# Make the "obj" directory to throw the object(s) into:
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index 2bd5f5e40..5c0d7d4d1 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -47,7 +47,8 @@ $Id$
source-code by using new "tp-magic-config" shell script to query
for C compiler flags (which points to where "tp_magic_api.h" header
file is installed) and directories Tux Paint uses (where plugin '.so'
- files shoudl be stored, and where Tux Paint's global data files go).
+ files should be stored, and where Tux Paint's global data files and
+ documentation go).
* Magic plugin development docs created. On Linux/Unix, installed into
/usr/[local/]share/docs/tuxpaint-dev/ by default. (HTML and plaintext.)
@@ -63,6 +64,11 @@ $Id$
affected (until mouse button is released and clicked again).
Improves performance, especially where heavy math is used.
+ * 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.
+
* 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
@@ -80,6 +86,10 @@ $Id$
* Print configuration is now saved between Tux Paint sessions on Mac OS X.
Martin Fuhrer
+ * Saved-files directory and data directory (brushes, starters, etc.) can
+ now be different. Use "--datadir" option to override default data
+ directory, similar to "--savedir" has been for overriding save directory.
+
* New Brushes
-----------
* Sparkles (based on old Magic Tool)
diff --git a/docs/OPTIONS.txt b/docs/OPTIONS.txt
index 4b3f3618d..5ab0fd415 100644
--- a/docs/OPTIONS.txt
+++ b/docs/OPTIONS.txt
@@ -9,7 +9,7 @@
bill@newbreedsoftware.com
http://www.tuxpaint.org/
- July 4, 2007
+ August 2, 2007
--------------------------------------------------------------------------
@@ -163,7 +163,7 @@ Windows Users
printcfg=yes
- (Windows only)
+ (Windows and Mac OS X only)
Tux Paint will use a printer configuration file when printing.
Push the [Alt] key while clicking the 'Print' button in
@@ -318,20 +318,72 @@ Windows Users
savedir=DIRECTORY
- Use this option to change where Tux Paint saves pictures. By
- default, this is "~/.tuxpaint/saved/" under Linux and Unix, and
- "userdata\" under Windows.
+ Use this option to change where Tux Paint's "saved"
+ directory/folder is located, which is where Tux Paint saves and
+ opens pictures.
- This can be useful in a Windows lab, where Tux Paint is
- installed on a server, and children run it from workstations.
- You can set savedir to be a folder in their home directory.
- (e.g., "H:\tuxpaint\")
+ If you do not override it, the default location is:
+
+ * Linux & Unix -- Under a hidden directory named ".tuxpaint"
+ in your home directory (aka "~" or "$HOME")
+ Example: "/home/username/.tuxpaint/saved/"
+
+ * Windows -- Inside a folder named "TuxPaint" in your
+ "Application Data" folder.
+ Example:
+ "C:\Documents and Settings\Username\Application Data\TuxPaint\saved\"
+
+ * Mac OS X -- Inside a folder named "TuxPaint" in your
+ "Application Support" folder.
+ Example:
+ "/Users/Username/Library/Application Support/TuxPaint/saved/"
Note: When specifying a Windows drive (e.g., "H:\"), you must
also specify a subdirectory.
+ Note: Prior to version 0.9.18, Tux Paint would also use the
+ setting or default for "savedir" as the place to search for
+ personal data files (brushes, stamps, starters and fonts). As of
+ version 0.9.18, they may be specified separately (see the
+ "datadir" option, below).
+
Example: savedir=Z:\tuxpaint\
+ datadir=DIRECTORY
+
+ Use this option to change where Tux Paint looks for personal
+ data files (brushes, stamps, starters and fonts specific to the
+ current user).
+
+ Tux Paint will search for subdirectories/subfolders named
+ "brushes", "stamps", "starters" and "fonts" under the data
+ directory.
+
+ If you do not override it, the default location is:
+
+ * Linux & Unix -- Under a hidden directory named ".tuxpaint"
+ in your home directory (aka "~" or "$HOME")
+ Example: "/home/username/.tuxpaint/brushes/"
+
+ * Windows -- Inside a folder named "TuxPaint" in your
+ "Application Data" folder.
+ Example:
+ "C:\Documents and Settings\Username\Application Data\TuxPaint\brushes\"
+
+ * Mac OS X -- Inside a folder named "TuxPaint" in your
+ "Application Support" folder.
+ Example:
+ "/Users/Username/Library/Application Support/TuxPaint/brushes/"
+
+ Note: Prior to version 0.9.18, Tux Paint would use the same
+ setting or default as for "savedir" to search for data files. As
+ of version 0.9.18, they may be specified separately.
+
+ Note: When specifying a Windows drive (e.g., "H:\"), you must
+ also specify a subdirectory.
+
+ Example: datadir=/home/johnny/tuxpaint-data/
+
saveover=yes
This disables the "Save over the old version...?" prompt when
saving an existing file. With this option, the older version
@@ -356,9 +408,8 @@ Windows Users
test environment.
autosave=yes
-
- This prevents Tux Paint from asking whether you want to save the current
- picture when quitting, and assumes you do.
+ This prevents Tux Paint from asking whether you want to save the
+ current picture when quitting, and assumes you do.
startblank=yes
This causes Tux Paint to display a blank canvas when it first
@@ -583,6 +634,8 @@ Windows Users
--noprint
--printdelay=SECONDS
--printcfg
+ --altprintnever
+ --altprintalways
--papersize=PAPERSIZE
--simpleshapes
--uppercase
@@ -599,11 +652,13 @@ Windows Users
--mirrorstamps
--keyboard
--savedir DIRECTORY
+ --datadir DIRECTORY
--saveover
--saveovernew
--nosave
--autosave
--lang LANGUAGE
+ --colorfile FILE
These enable or correspond to the configuration file options
described above.
@@ -618,6 +673,7 @@ Windows Users
--print
--printdelay=0
--noprintcfg
+ --altprintmod
--complexshapes
--mixedcase
--dontgrab
@@ -641,7 +697,7 @@ Windows Users
-------------------------------------
- --locale locale
+ --locale LOCALE
Run Tux Paint in one of the support languages. See the
"Choosing a Different Language" section below for the locale
@@ -971,6 +1027,12 @@ Setting Your Environment's Locale
with the Tux Paint download, and are available separately. (See the
table above, under the "Choosing a Different Language" section.)
+ Note: As of version 0.9.18, Tux Paint uses the "SDL_Pango" library,
+ which utilizes the "Pango" library to render text in the user
+ interface, rather than using "SDL_ttf" directly. Unless your copy of
+ Tux Paint was built without Pango support, special fonts should no
+ longer be necessary.
+
When running Tux Paint in a language that requires its own font,
Tux Paint will try to load the font file from its system-wide "fonts"
directory (under a "locale" subdirectory). The name of the file
@@ -990,3 +1052,5 @@ Setting Your Environment's Locale
Under Unix and Linux, you can use the Makefile that comes with the
font to install the font in the appropriate location.
+
+ --------------------------------------------------------------------------
diff --git a/docs/README.txt b/docs/README.txt
index f242c60d9..84a3e9176 100644
--- a/docs/README.txt
+++ b/docs/README.txt
@@ -9,7 +9,7 @@
bill@newbreedsoftware.com
http://www.tuxpaint.org/
- June 14, 2002 - June 27, 2007
+ June 14, 2002 - August 2, 2007
--------------------------------------------------------------------------
@@ -329,104 +329,13 @@ Available Tools
The 'Magic' tool is actually a set of special
tools. Select one of the "magic" effects from
- the selector on the right, and then click and
- drag around the picture to apply the effect.
+ the selector on the right. Then, depending on
+ the tool, either click and drag around the
+ picture, or simply click the picture once, to
+ apply the effect.
- Fill
- This floods the picture with a color.
- It lets you quickly fill parts of the
- picture, as if it were a coloring
- book.
-
- Grass
- This paints grass on the image. The
- higher up the canvas, the smaller the
- grass is drawn, giving an illusion of
- perspective. The grass can be tinted
- various greenish hues by selecting
- different colors in the color
- palette.
-
- Bricks (Large and Small)
- These two tools intelligently paint
- large and small brick patterns on the
- canvas. The bricks can be tinted
- various redish hues by selecting
- different colors in the color
- palette.
-
- Rainbow
- This is similar to the paint brush,
- but as you move the mouse around, it
- cycles through a spectrum of bright
- colors.
-
- Sparkles
- This draws glowing sparkles on the
- canvas, in the currently-selected
- color.
-
- Blur
- This makes the picture fuzzy wherever
- you drag the mouse.
-
- Smudge
- This pushes the colors around under
- the mouse, like finger painting with
- wet paint.
-
- Lighten
- This fades the colors wherever you
- drag the mouse. (Do it to the same
- spot many times, and it will
- eventually become white.)
-
- Darken
- This dakrens the colors wherever you
- drag the mouse. (Do it to the same
- spot many times, and it will
- eventually become black.)
-
- Chalk
- This makes parts of the picture
- (where you move the mouse) look like
- a chalk drawing.
-
- Blocks
- This makes the picture blocky looking
- ("pixelated") wherever you drag the
- mouse.
-
- Negative
- This inverts the colors wherever you
- drag the mouse. (e.g., white becomes
- black, and vice versa.)
-
- Tint
- This changes the parts of the picture
- to the selected color.
-
- Drip
- This makes the paint "drip" wherever
- you move the mouse.
-
- Cartoon
- This makes the picture look like a
- cartoon -- with thick outlines and
- bright, solid colors -- wherever you
- move the mouse.
-
- Mirror
- When you click the mouse in your
- picture with the "Mirror" magic
- effect selected, the entire image
- will be reversed, turning it into a
- mirror image.
-
- Flip
- Similar to "Mirror." Click and the
- entire image will be turned
- upside-down.
+ Each 'Magic' tool's instructions are contained
+ within the "magic-docs" folder.
--------------------------------------------------------------------------
@@ -902,15 +811,18 @@ Doing it Manually
Other documentation included with Tux Paint (in the "docs"
folder/directory) include:
+ * "Magic" Tool Documentation ("magic-docs")
+ Documentation for each of the currently-installed
+ "Magic" tools.
* AUTHORS.txt
- List of authors and contributors
+ List of authors and contributors.
* CHANGES.txt
- Summary of changed between releases
+ Summary of changed between releases.
* COPYING.txt
- Copying license (The GNU General Public License)
+ Copying license (The GNU General Public License).
* INSTALL.txt
Instructions for compiling/installing, when
- applicable
+ applicable.
* EXTENDING.html
Detailed instructions on creating brushes, stamps and
starters, and adding fonts, to extend Tux Paint.
@@ -920,10 +832,10 @@ Doing it Manually
to use Tux Paint Config.
* PNG.txt
Notes on creating PNG format bitmapped images for use
- in Tux Paint
+ in Tux Paint.
* SVG.txt
Notes on creating SVG format vector images for use in
- Tux Paint
+ Tux Paint.
--------------------------------------------------------------------------
diff --git a/docs/html/OPTIONS.html b/docs/html/OPTIONS.html
index 6a4877345..ec2beb2a6 100644
--- a/docs/html/OPTIONS.html
+++ b/docs/html/OPTIONS.html
@@ -23,7 +23,7 @@ New Breed Software
http://www.tuxpaint.org/
-July 4, 2007
+August 2, 2007
@@ -90,7 +90,7 @@ New Breed Software
-
+
Available Options
@@ -215,7 +215,7 @@ New Breed Software
printcfg=yes
- (Windows only)
+ (Windows and Mac OS X only)
Tux Paint will use a printer configuration file when printing.
Push the [Alt] key while clicking the 'Print' button in
@@ -399,21 +399,80 @@ New Breed Software
savedir=DIRECTORY
- Use this option to change where Tux Paint saves pictures.
- By default, this is "~/.tuxpaint/saved/" under Linux
- and Unix, and "userdata\" under Windows.
+ Use this option to change where Tux Paint's "saved"
+ directory/folder is located, which is where Tux Paint saves and opens
+ pictures.
- This can be useful in a Windows lab, where Tux Paint is
- installed on a server, and children run it from workstations.
- You can set savedir to be a folder in their home
- directory. (e.g., "H:\tuxpaint\")
+ If you do not override it, the default location is:
+
+ - Linux & Unix — Under a hidden directory named
+ "
.tuxpaint" in your home directory (aka "~"
+ or "$HOME")
+ Example: "/home/username/.tuxpaint/saved/"
+
+
+ - Windows — Inside a folder named "
TuxPaint"
+ in your "Application Data" folder.
+ Example: "C:\Documents and Settings\Username\Application Data\TuxPaint\saved\"
+
+
+ - Mac OS X — Inside a folder named "
TuxPaint" in your
+ "Application Support" folder.
+ Example: "/Users/Username/Library/Application Support/TuxPaint/saved/"
+
+
Note: When specifying a Windows drive (e.g.,
"H:\"), you must also specify a subdirectory.
+ Note: Prior to version 0.9.18, Tux Paint would also use
+ the setting or default for "savedir" as the place to
+ search for personal data files (brushes, stamps, starters and fonts).
+ As of version 0.9.18, they may be specified separately
+ (see the "datadir" option, below).
+
Example: savedir=Z:\tuxpaint\
+ datadir=DIRECTORY
+
+ Use this option to change where Tux Paint looks for personal
+ data files (brushes, stamps, starters and fonts specific to the
+ current user).
+
+ Tux Paint will search for subdirectories/subfolders named
+ "brushes", "stamps", "starters"
+ and "fonts" under the data directory.
+
+ If you do not override it, the default location is:
+
+ - Linux & Unix — Under a hidden directory named
+ "
.tuxpaint" in your home directory (aka "~"
+ or "$HOME")
+ Example: "/home/username/.tuxpaint/brushes/"
+
+
+ - Windows — Inside a folder named "
TuxPaint"
+ in your "Application Data" folder.
+ Example: "C:\Documents and Settings\Username\Application Data\TuxPaint\brushes\"
+
+
+ - Mac OS X — Inside a folder named "
TuxPaint" in your
+ "Application Support" folder.
+ Example: "/Users/Username/Library/Application Support/TuxPaint/brushes/"
+
+
+
+ Note: Prior to version 0.9.18, Tux Paint would use the
+ same setting or default as for "savedir" to search for
+ data files. As of version 0.9.18, they may be specified separately.
+
+ Note: When specifying a Windows drive (e.g.,
+ "H:\"), you must also specify a subdirectory.
+
+ Example: datadir=/home/johnny/tuxpaint-data/
+
+
saveover=yes
This disables the "Save over the old version...?" prompt when
@@ -445,12 +504,12 @@ New Breed Software
autosave=yes
-
+
This prevents Tux Paint from asking whether you want to save
the current picture when quitting, and assumes you do.
-
+
- startblank=yes
+ startblank=yes
This causes Tux Paint to display a blank canvas when it first
starts up, rather than loading the last image that was being edited.
@@ -916,6 +975,8 @@ New Breed Software
--noprint
--printdelay=SECONDS
--printcfg
+ --altprintnever
+ --altprintalways
--papersize=PAPERSIZE
--simpleshapes
--uppercase
@@ -932,11 +993,13 @@ New Breed Software
--mirrorstamps
--keyboard
--savedir DIRECTORY
+ --datadir DIRECTORY
--saveover
--saveovernew
--nosave
--autosave
--lang LANGUAGE
+ --colorfile FILE
These enable or correspond to the configuration file options
@@ -954,6 +1017,7 @@ New Breed Software
--print
--printdelay=0
--noprintcfg
+ --altprintmod
--complexshapes
--mixedcase
--dontgrab
@@ -980,7 +1044,7 @@ New Breed Software
- --locale locale
+ --locale LOCALE
Run Tux Paint in one of the support languages.
See the "Choosing a Different
@@ -1652,40 +1716,47 @@ New Breed Software
- Some languages require special fonts be installed. These font
+ Some languages require special fonts be installed. These font
files (which are in TrueType format (TTF)), are much too large to
include with the Tux Paint download, and are available
separately. (See the table above, under the
"Choosing a Different Language"
- section.)
+ section.)
- When running Tux Paint in a language that requires its own font,
+ Note: As of version 0.9.18, Tux Paint uses the "SDL_Pango"
+ library, which utilizes the "Pango" library to render text in the user
+ interface, rather than using "SDL_ttf" directly. Unless your copy of
+ Tux Paint was built without Pango support, special fonts should
+ no longer be necessary.
+
+ When running Tux Paint in a language that requires its own font,
Tux Paint will try to load the font file from its system-wide
"fonts" directory (under a
"locale" subdirectory). The name of the file
corresponds to the first two letters in the 'locale' code of the
language (e.g., "ko" for Korean, "ja" for Japanese,
- "zh_tw" for Traditional Chinese).
+ "zh_tw" for Traditional Chinese).
- For example, under Linux or Unix, when Tux Paint is run in Korean
+ For example, under Linux or Unix, when Tux Paint is run in Korean
(e.g., with the option "--lang korean"),
- Tux Paint will attempt to load the following font file:
+ Tux Paint will attempt to load the following font file:
- /usr/share/tuxpaint/fonts/locale/ko.ttf
-
+
/usr/share/tuxpaint/fonts/locale/ko.ttf
+
- You can download fonts for supported languages from Tux Paint's
+ You can download fonts for supported languages from Tux Paint's
website,
http://www.tuxpaint.org/.
- (Look in the 'Fonts' section under 'Download.')
+ (Look in the 'Fonts' section under 'Download.')
- Under Unix and Linux, you can use the Makefile that comes
- with the font to install the font in the appropriate location.
+
Under Unix and Linux, you can use the Makefile that comes
+ with the font to install the font in the appropriate location.
+