diff --git a/Makefile b/Makefile
index 11dc15196..610dfdf21 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,12 @@
# Various contributors (see AUTHORS.txt)
# http://www.tuxpaint.org/
-# June 14, 2002 - October 15, 2020
+# June 14, 2002 - December 27, 2020
# The version number, for release:
-VER_VERSION:=0.9.25
+VER_VERSION:=0.9.26
ifdef SOURCE_DATE_EPOCH
VER_DATE=$(shell date -u -d "@$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" "+%Y-%m-%d" 2>/dev/null || date -u "+%Y-%m-%d")
else
@@ -83,6 +83,9 @@ RSRC_CMD:=$($(OS)_RSRC_CMD)
beos_MIMESET_CMD:=mimeset -f tuxpaint
MIMESET_CMD:=$($(OS)_MIMESET_CMD)
+macos_RAD_CMD:=[[ ! -d Resources/share ]] && mkdir -p Resources/share && ln -s ../../data Resources/share/tuxpaint || :
+RAD_CMD:=$($(OS)_RAD_CMD)
+
windows_SO_TYPE:=dll
macos_SO_TYPE:=dylib
beos_SO_TYPE:=so
@@ -607,7 +610,7 @@ clean:
@-rm -f templates/.thumbs/*.png
@if [ -d templates/.thumbs ]; then rmdir templates/.thumbs; fi
@-if [ "x$(BUNDLE)" != "x" ]; then rm -rf $(BUNDLE); fi
- @-rm -f TuxPaint.dmg temp.dmg; rm -rf magic/*.dSYM
+ @-rm -f TuxPaint.dmg temp.dmg; rm -rf magic/*.dSYM Resources
@echo
# "make uninstall" should remove the various parts from their
@@ -1052,6 +1055,7 @@ tuxpaint: obj/tuxpaint.o obj/i18n.o obj/im.o obj/cursor.o obj/pixels.o \
$(CC) $(CFLAGS) $(LDFLAGS) $(DEBUG_FLAGS) $(SDL_CFLAGS) $(FRIBIDI_CFLAGS) $(DEFS) \
-o tuxpaint $^ \
$(SDL_LIBS) $(SVG_LIB) $(ARCH_LINKS)
+ @$(RAD_CMD)
@$(RSRC_CMD)
@$(MIMESET_CMD)
diff --git a/Resources/README.txt b/Resources/README.txt
deleted file mode 100644
index 03e7c34e5..000000000
--- a/Resources/README.txt
+++ /dev/null
@@ -1,24 +0,0 @@
-This folder exists to ease testing under macOS. Please ignore but do not
-delete. More details are below.
-
-macOS requires all files in an application have a specific folder structure.
-We create this structure under the folder "TuxPaint.app" when `make install` is
-run. But `make install` takes a long time to run under macOS due to the large
-number of files that need to be copied, as well as all the processing we do to
-those files (see custom/macos.sh for what we need to do.) This makes testing
-even a small code change time consuming.
-
-That's the problem this folder solves: Instead of creating the folder
-structure under TuxPaint.app every time to test a code change to be able to run
-the application, we pre-build the folder structure around the tuxpaint binary
-so the binary can be executed directly without re-creating the folder structure
-every time. Luckily for us, this only require that we only have a single
-folder "Resources" in the root folder of the tuxpaint source code (with some
-subfolders and symlinks underneath the Resources folder.)
-
-I hope my fellow Tux Paint contributors will forgive me for taking up yet
-another whole folder for use by a single platform, let alone almost empty, in
-the root folder of the source code distribution meant for multiple platforms.
-
-Mark Kim
-2018.06.27
diff --git a/Resources/share/tuxpaint b/Resources/share/tuxpaint
deleted file mode 120000
index e67b45590..000000000
--- a/Resources/share/tuxpaint
+++ /dev/null
@@ -1 +0,0 @@
-../../data
\ No newline at end of file
diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt
index d8819b4af..aa6d3a107 100644
--- a/docs/CHANGES.txt
+++ b/docs/CHANGES.txt
@@ -8,7 +8,15 @@ http://www.tuxpaint.org/
$Id$
-2020.December.12 (0.9.25)
+2020.December.27 (0.9.26)
+ * Documentation updates
+ ---------------------
+ * Expanded the steps for making and posting releases.
+
+ * Mended some broken relative links in README.html that
+ pointed to other parts of the docs.
+
+2020.December.27 (0.9.25)
* New Features
------------
* Export drawings:
diff --git a/docs/RELEASE.txt b/docs/RELEASE.txt
index 0088fa727..8338f4798 100644
--- a/docs/RELEASE.txt
+++ b/docs/RELEASE.txt
@@ -1,5 +1,8 @@
Release checklist for Tux Paint
-Last updated 2020-07-27 -bjk
+Last updated 2020-12-27 -bjk
+
+Preparing
+---------
Do these things _prior_ to cutting a release -- that is, prior to
tagging in the source code repository, running "make release" to roll
@@ -10,29 +13,28 @@ a .tar.gz source tarball, and making the tarball available for download.
Places to make sure version # and release date gets updated,
* Makefile
-
+
* Build description files:
* tuxpaint.spec (Linux RPM package)
* macos/Info.plist (macOS build)
* win32/resources.rc (Windows mingw/msys build)
-
+
* Documentation
(For HTML variants, be sure to run "make" in "docs/", to
produce plaintext alternatives!)
-
+
* docs/CHANGES.txt
* docs/en/html/README.html
* docs/en/html/FAQ.html
* docs/en/html/OPTIONS.html
* docs/en/html/EXTENDING.html
* docs/en/html/ADVANCED-STAMPS-HOWTO.html
-
+
* Manual page (manpage)
* src/manpage/tuxpaint.1
* Tidy the HTML documentation
- Using
(Be sure to run "make" in "docs/", to produce plaintext alternatives!)
tidy -i --markup yes --vertical-space yes --indent yes --indent-attributes yes INFILE.html > OUTFILE.html
@@ -43,3 +45,55 @@ a .tar.gz source tarball, and making the tarball available for download.
* Don't forget to commit the changes! (git add ... / git commit / git push)
+
+Time to release:
+----------------
+
+ * Tag & roll a release tarball (example here was from 0.9.25):
+
+ $ git pull
+ $ make clean
+ $ git tag tuxpaint-0_9_25-2020-12-27
+ $ git push origin tuxpaint-0_9_25-2020-12-27 # or --tags
+ $ make release
+
+ * Upload each project's ".tar.gz" file from their "build/" subdirs
+ to ftp.tuxpaint.org.
+
+ * Place them in the appropriate subdirectories (source/, config/,
+ and stamps/) under "unix/x/tuxpaint/".
+
+ * Copy "docs/CHANGES.txt" from each project onto the FTP site
+ (Tux Paint's goes in the toplevel, the others go in config/ and
+ stamps/).
+
+ * Create a new PAD file (e.g. `pads/tuxpaint-0.9.25.xml`) on the
+ FTP site.
+
+ * Replace the "pads/tuxpaint-LATEST.xml" symlink on the FTP site with
+ a new one that points to the new PAD file.
+
+ * At SourceForge, go to "Files" and use "Add Folder" under each project
+ to create new release file subdirectories. (e.g., "0.9.25" under
+ https://sourceforge.net/projects/tuxpaint/files/tuxpaint/)
+
+ * Upload the files! Either from local copies, via a web browser,
+ or by SCP, Rsync, or SFTP (see
+ https://sourceforge.net/p/forge/documentation/Release%20Files%20for%20Download/#scp)
+
+ e.g.:
+
+ $ sftp wkendrick@frs.sourceforge.net
+ sftp> cd /home/frs/project/tuxpaint/
+
+ sftp> cd tuxpaint/0.9.25/
+ sftp> lcd source
+ sftp> put tuxpaint-0.9.25.tar.gz
+
+ sftp> cd ../..
+ sftp> lcd ..
+
+ [repeat for tuxpaint-config and tuxpaint-stamps]
+
+ * Copy latest release's documentation to the tuxpaint.org website.
+
diff --git a/docs/en/ADVANCED-STAMPS-HOWTO.txt b/docs/en/ADVANCED-STAMPS-HOWTO.txt
index 0d067ddf1..d7ae8a4a2 100644
--- a/docs/en/ADVANCED-STAMPS-HOWTO.txt
+++ b/docs/en/ADVANCED-STAMPS-HOWTO.txt
@@ -1,5 +1,5 @@
Tux Paint
- version 0.9.25
+ version 0.9.26
Advanced Stamps HOWTO
Copyright 2006-2008 by Albert Cahalan for the Tux Paint project
diff --git a/docs/en/EXTENDING.txt b/docs/en/EXTENDING.txt
index 7ec530714..cd30d7aac 100644
--- a/docs/en/EXTENDING.txt
+++ b/docs/en/EXTENDING.txt
@@ -1,11 +1,11 @@
Extending
Tux Paint
- version 0.9.25
+ version 0.9.26
Copyright (c) 2002-2020 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
- June 14, 2002 - August 29, 2020
+ June 14, 2002 - December 27, 2020
----------------------------------------------------------------------
@@ -123,7 +123,7 @@ Where Files Go
C:\Documents and Settings\(username)\Application Data\TuxPaint\
- Mac OS X
+ macOS
Your personal Tux Paint folder is stored in your "Application
Support" folder:
@@ -652,7 +652,7 @@ Translations
msgstr "Haz clic y arrastra para dibujar ladrillos grandes."
A graphical tool, called poEdit (http://www.poedit.net/), is available
- for Linux, Windows and Mac OS X.
+ for Linux, Windows and macOS.
Note: It is best to always work off of the latest Tux Paint text catalog
template ("tuxpaint.pot"), since new text is added, and old text is
diff --git a/docs/en/FAQ.txt b/docs/en/FAQ.txt
index 90ea594cb..943139262 100644
--- a/docs/en/FAQ.txt
+++ b/docs/en/FAQ.txt
@@ -1,24 +1,23 @@
Tux Paint
- version 0.9.25
+ version 0.9.26
Frequently Asked Questions
Copyright (c) 2002-2020 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
- September 14, 2002 - October 30, 2020
+ September 14, 2002 - December 27, 2020
----------------------------------------------------------------------
Drawing-related
- Fonts I added to Tux Paint only show squares
-
+ Fonts I added to Tux Paint only show squares
The TrueType Font you're using might have the wrong encoding. If
it's 'custom' encoded, for example, you can try running it through
FontForge (http://fontforge.sourceforge.net/) to convert it to an
ISO-8859 format. (Email us if you need help with special fonts.)
- The Rubber Stamp tool is greyed out!
+ The Rubber Stamp tool is greyed out!
This means that Tux Paint either couldn't find any stamp images,
or was asked not to load them.
@@ -44,7 +43,7 @@ Drawing-related
override it with "--stamps" on the command line or "nostamps=no"
or "stamps=yes" in a configuration file.
- The Magic "Fill" Tool Looks Bad
+ The Magic "Fill" Tool Looks Bad
Tux Paint is probably comparing exact pixel colors when filling.
This is faster, but looks worse. Run the command
@@ -58,7 +57,7 @@ Drawing-related
in the "tuxpaint.c" file in the "src" directory.
- Stamp outlines are always rectangles
+ Stamp outlines are always rectangles
Tux Paint was built with low-quality (but faster) stamp outlines.
@@ -73,7 +72,7 @@ Drawing-related
Interface Problems
- Stamp thumbnails in the Stamp Selector look bad
+ Stamp thumbnails in the Stamp Selector look bad
Tux Paint was probably compiled with the faster, lower quality
thumbnail code enabled. Run the command: "tuxpaint --version" from
@@ -87,12 +86,11 @@ Interface Problems
in the "tuxpaint.c" file in the "src" directory.
- Pictures in the 'Open' dialog look bad
-
+ Pictures in the 'Open' dialog look bad
"Low Quality Thumbnails" is probably enabled. See: "Stamp
thumbnails in the Stamp Selector look bad", above.
- The color picker buttons are ugly squares, not pretty buttons!
+ The color picker buttons are ugly squares, not pretty buttons!
Tux Paint was probably compiled with the nice looking color
selector buttons disabled. Run the command: "tuxpaint --version"
@@ -107,7 +105,7 @@ Interface Problems
in the "tuxpaint.c" file in the "src" directory.
- All of the text is in uppercase!
+ All of the text is in uppercase!
The "uppercase" option is on.
@@ -130,13 +128,11 @@ Interface Problems
Or use Tux Paint Config. and make sure "Show Uppercase Text Only"
(under "Languages") is not checked.
- Tux Paint is in a different language!
-
+ Tux Paint is in a different language!
Make sure your locale setting is correct. See "Tux Paint won't
switch to my language", below.
- Tux Paint won't switch to my language
-
+ Tux Paint won't switch to my language
* Linux and Unix users: Make sure the locale is available
Make sure the locale you want is available. Check your
@@ -180,7 +176,7 @@ Interface Problems
Printing
- Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
+ Tux Paint won't print, gives an error, or prints garbage (Unix/Linux)
Tux Paint prints by creating a PostScript rendition of the picture
and sending it to an external command. By default, this command is
@@ -200,7 +196,7 @@ Printing
0.9.15, you will need to go back and alter it to accept
PostScript.
- I get the message "You can't print yet!" when I go to print!
+ I get the message "You can't print yet!" when I go to print!
The "print delay" option is on. You can only print once every
X seconds.
@@ -229,7 +225,7 @@ Printing
Or use Tux Paint Config. and make sure "Print Delay" (under
"Printing") is set to "0 seconds."
- I simply can't print! The button is greyed out!
+ I simply can't print! The button is greyed out!
The "no print" option is on.
@@ -255,7 +251,7 @@ Printing
Saving
- Where does Tux Paint save my drawings?
+ Where does Tux Paint save my drawings?
Unless you asked Tux Paint to save into a specific location (using
the 'savedir' option), Tux Paint saves into a standard location on
@@ -271,7 +267,7 @@ Saving
e.g., C:\Documents and Settings\Username\Application
Data\TuxPaint\saved
- Mac OS X
+ macOS
In the user's "Application Support" folder:
e.g., /Users/Username/Library/Applicaton
Support/TuxPaint/saved/
@@ -285,7 +281,7 @@ Saving
should be able to load (image editors, word processors, web
browsers, etc.)
- Tux Paint always saves over my old picture!
+ Tux Paint always saves over my old picture!
The "save over" option is enabled. (This disables the prompt that
would appear when you click 'Save.')
@@ -310,7 +306,7 @@ Saving
Also, see "Tux Paint always saves a new picture!", below.
- Tux Paint always saves a new picture!
+ Tux Paint always saves a new picture!
The "never save over" option is enabled. (This disables the prompt
that would appear when you click 'Save.')
@@ -339,8 +335,7 @@ Saving
Audio Problems
- There's no sound!
-
+ There's no sound!
* First, check the obvious:
* Are your speakers connected and turned on?
* Is the volume turned up on your speakers?
@@ -403,7 +398,7 @@ Audio Problems
the SDL_mixer library and its development headers are
available!
- Tux Paint makes too much noise! Can I turn them off?
+ Tux Paint makes too much noise! Can I turn them off?
Yes, there are a number of ways to disable sounds in Tux Paint:
@@ -419,8 +414,8 @@ Audio Problems
* Recompile Tux Paint with sound support disabled. (See
above and INSTALL.txt.)
- The stereo panning of sound effects is bothersome; can sound effects be
- monophonic?
+ The stereo panning of sound effects is bothersome; can sound effects be
+ monophonic?
Run Tux Paint with the "no stereo" option:
@@ -431,7 +426,7 @@ Audio Problems
* Run "tuxpaint --nostereo" from the command line or shortcut
or desktop icon.
- The sound effects sound strange
+ The sound effects sound strange
This could have to do with how SDL and SDL_mixer were initialized.
(The buffer size chosen.)
@@ -445,11 +440,10 @@ Audio Problems
Fullscreen Mode Problems
- When I run Tux Paint full-screen and ALT-TAB out, the window turns black!
-
+ When I run Tux Paint full-screen and ALT-TAB out, the window turns black!
This is apparently a bug in the SDL library. Sorry.
- When I run Tux Paint full-screen, it has large borders around it
+ When I run Tux Paint full-screen, it has large borders around it
Linux users - Your X-Window server is probably not set with the
ability to switch to the desired resolution: 800×600. (or whatever
@@ -477,7 +471,7 @@ Fullscreen Mode Problems
changes for you. Debian users can run the command
"dpkg-reconfigure xserver-xfree86" as root, for example.
- Tux Paint keeps running in Full Screen mode - I want it windowed!
+ Tux Paint keeps running in Full Screen mode - I want it windowed!
The "fullscreen" option is set.
@@ -504,7 +498,7 @@ Fullscreen Mode Problems
Other Probelms
- Tux Paint won't run
+ Tux Paint won't run
If Tux Paint aborts with the message: "You're already running a
copy of Tux Paint!", this means it has been launched in the last
@@ -530,7 +524,7 @@ Other Probelms
To disable the lockfile, add the "--nolockfile" argument to
Tux Paint's command-line.
- I can't quit Tux Paint
+ I can't quit Tux Paint
The "noquit" option is set. This disables the "Quit" button in
Tux Paint's toolbar (greying it out), and prevents Tux Paint from
@@ -547,7 +541,7 @@ Other Probelms
(Note: with or without "noquit" set, you can always use the [Alt]
+ [F4] combination on your keyboard to quit Tux Paint.)
- I don't want "noquit" mode enabled!
+ I don't want "noquit" mode enabled!
If you're running Tux Paint from a command-line, make sure you're
not giving it a "--noquit" option.
@@ -567,7 +561,7 @@ Other Probelms
Or use Tux Paint Config. and make sure "Disable Quit Button and
[Escape] Key" (under "Simplification") is not checked.
- Tux Paint keeps writing weird messages to the screen / to a text file
+ Tux Paint keeps writing weird messages to the screen / to a text file
A few messages are normal, but if Tux Paint is being extremely
verbose (like listing the name of every rubber-stamp image it
@@ -581,7 +575,7 @@ Other Probelms
in the "tuxpaint.c" file in the "src" directory.
- Tux Paint is using options I didn't specify!
+ Tux Paint is using options I didn't specify!
By default, Tux Paint first looks at configuration files for
options.
diff --git a/docs/en/OPTIONS.txt b/docs/en/OPTIONS.txt
index 0f4e07829..c03474ced 100644
--- a/docs/en/OPTIONS.txt
+++ b/docs/en/OPTIONS.txt
@@ -1,12 +1,12 @@
Tux Paint
- version 0.9.25
+ version 0.9.26
Options Documentation
Copyright (c) 2002-2020 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
- August 14, 2020
+ December 27, 2020
----------------------------------------------------------------------
@@ -48,7 +48,7 @@ Linux and Unix Users
--nosysconfig
-Mac OS X Users
+macOS Users
The file you should create is called "tuxpaint.cfg" and it should be
placed in your home folder, under the sub-folder: Library/Application
@@ -179,7 +179,7 @@ Windows Users
the 'Print' button is clicked while the [Alt] modifier key is
being held. (This is typically used for providing a print
dialog, similar to when pressing [Alt]+'Print' in Windows and
- Mac OS X.)
+ macOS.)
If this option is not specifically not set, the default command
is KDE's graphical print dialog:
diff --git a/docs/en/README.txt b/docs/en/README.txt
index 9041ff022..d58480b04 100644
--- a/docs/en/README.txt
+++ b/docs/en/README.txt
@@ -1,12 +1,12 @@
Tux Paint
- version 0.9.25
+ version 0.9.26
A simple drawing program for children
Copyright 2002-2020 by various contributors; see AUTHORS.txt
http://www.tuxpaint.org/
- June 14, 2002 - November 21, 2020
+ June 14, 2002 - December 27, 2020
----------------------------------------------------------------------
diff --git a/docs/en/html/ADVANCED-STAMPS-HOWTO.html b/docs/en/html/ADVANCED-STAMPS-HOWTO.html
index 7a1c13b68..28475367e 100644
--- a/docs/en/html/ADVANCED-STAMPS-HOWTO.html
+++ b/docs/en/html/ADVANCED-STAMPS-HOWTO.html
@@ -20,7 +20,7 @@
width="205"
height="210"
alt="Tux Paint">
- version 0.9.25
+ version 0.9.26
Advanced Stamps HOWTO
diff --git a/docs/en/html/EXTENDING.html b/docs/en/html/EXTENDING.html
index b7a7625b8..5fae55220 100644
--- a/docs/en/html/EXTENDING.html
+++ b/docs/en/html/EXTENDING.html
@@ -16,12 +16,12 @@
alink="#FF00FF">

@@ -32,7 +32,7 @@
- June 14, 2002 - August 29, 2020 + June 14, 2002 - December 27, 2020
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. + 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.
- - 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.@@ -181,8 +191,9 @@
@@ -298,16 +324,15 @@ noshade>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.@@ -209,14 +220,16 @@
@@ -226,70 +239,83 @@- 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 + 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.:
-C:\Program Files\TuxPaint\data+C:\Program + Files\TuxPaint\data- 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: + 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:
- Bring up a 'context' menu by holding the [Control] - 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.) + 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.)
-- Select "Show Contents" from the menu that - appears. A new Finder window will appear with a folder +
- Select "Show + Contents" from the menu that appears. A new + Finder window will appear with a folder inside called "
-Contents."- Open the "
Contents" folder and open the - "Resources" folder found inside. +- Open the "
Contents" folder and open + the "Resources" folder found inside.- 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. + "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 - instructions above, so keep backups of your new content - (stamps, brushes, etc.). + 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 filesystem): + "Application + Support" folder (found under + "Library" at the root of your filesystem):-- -/Library/Application Support/TuxPaint/-- It also looks for files in the user's - "
- -Application Support" folder: --/Users/(username)/Library/Application +/Library/Application Support/TuxPaint/- When you upgrade to a newer version of Tux Paint, the - contents of this
+ +TuxPaintfolder will stay the same and - remain accessible by all users of Tux Paint. + It also looks for files in the user's "Application Support" + folder: +++ +/Users/(username)/Library/Application + Support/TuxPaint/++ When you upgrade to a newer version of Tux Paint, the contents + of this
TuxPaintfolder will stay the same + and remain accessible by all users of Tux Paint.- - Personal Files - + Personal Files
You can also create brushes, stamps, fonts and 'starters' - in your own directory (folder) for Tux Paint to - find. + in your own directory (folder) for Tux Paint to find.
@@ -316,9 +341,10 @@
- Your personal Tux Paint folder is stored in your - "Application Data". For example, on newer Windows (set - up for an English-speaking user): + Your personal Tux + Paint folder is stored in your "Application + Data". For example, on newer Windows (set up for an + English-speaking user):
@@ -329,17 +355,19 @@- Mac OS X + macOS
@@ -350,15 +378,17 @@- Your personal Tux Paint folder is stored in your - "Application Support" folder: + Your personal Tux + Paint folder is stored in your "Application + Support" folder:
-/Users/(username)/Library/Application + /Users/(username)/Library/Application Support/TuxPaint/- 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 - directory is "/home/karl/.tuxpaint/". + "/home/karl", then your Tux Paint directory is + "/home/karl/.tuxpaint/".@@ -369,8 +399,9 @@
To add brushes, stamps fonts, and 'starters,' create - subdirectories under your personal Tux Paint - directory named "
@@ -387,15 +418,15 @@ noshade>brushes", + subdirectories under your personal Tux Paint directory named + "brushes", "stamps", "fonts" and "starters" respectively.- - 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 - will be tinted. + currently-selected color in Tux Paint. Color pixels will + be tinted.
- - 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.
@@ -445,10 +477,11 @@
- 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. + 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.
@@ -466,7 +499,8 @@
@@ -817,9 +859,8 @@ noshade>- 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.
@@ -498,7 +532,8 @@@@ -769,9 +811,8 @@ noshade>- 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. @@ -562,9 +597,8 @@ noshade>
- - Stamps - + Stamps
@@ -579,16 +613,16 @@@@ -716,18 +755,18 @@ noshade>- - Images - + Images
@@ -645,9 +682,8 @@ noshade>- 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. + 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.
![]()
- 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 - picture (otherwise you'll stamp a large rectangle on your - drawings). + 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 picture (otherwise + you'll stamp a large rectangle on your drawings).
- 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.
@@ -636,7 +672,8 @@ 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.
- - Description Text - + Description Text
@@ -671,8 +707,9 @@@@ -705,9 +742,11 @@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 - locale (like French or Spanish). + displayed when Tux + Paint is running in a different locale (like + French or Spanish).
@@ -694,8 +731,8 @@
If no translation is available for the language - Tux Paint is currently running in, the US English - text is used. + Tux Paint is + currently running in, the US English text is used.
- 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. + 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.- - Sound Effects - + Sound Effects
- 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.) + 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.)@@ -745,7 +784,8 @@
"
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... @@ -753,15 +793,17 @@If no localized sound effect can be loaded, - Tux Paint will attempt to load the 'default' sound - file. (e.g., "
picture.wav") + Tux Paint + will attempt to load the 'default' sound file. (e.g., + "picture.wav")Note: For descriptive sounds (not sound effects, like a - bang or a bird chirping), consider using the - Descriptive Sounds, described below. + bang or a bird chirping), consider using the Descriptive Sounds, + described below.
- - Descriptive Sound - + Descriptive Sound
@@ -797,7 +838,8 @@"
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". @@ -806,9 +848,9 @@If no localized descriptive sound can be loaded, - Tux Paint will attempt to load the 'default' - descriptive sound file. (e.g., - "
picture_desc.wav") + Tux Paint + will attempt to load the 'default' descriptive sound + file. (e.g., "picture_desc.wav")- - Stamp Options - + Stamp Options
@@ -827,7 +868,8 @@ Aside from a graphical shape, a textual description, and a sound effect, stamps can also be given other attributes. To do this, you need to create a - 'data file' for the stamp. + 'data file' for + the stamp.@@ -917,9 +959,10 @@
@@ -972,7 +1015,8 @@ 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.Depending on the contents of your stamp, you might - 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: + 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:
@@ -929,7 +972,7 @@
- This is the normal tinting mode. (Hue range is - ±18°, 27 replace.) + ±18°, 27 replace.)
- @@ -938,7 +981,7 @@
- This remaps all hues in the stamp. (Hue range is - ±180°.) + ±180°.)
- @@ -946,9 +989,8 @@
- - This like '
anyhue', but a narrower hue angle. - (Hue range is ±6°, 9 - replace.) + This like 'anyhue', but a narrower + hue angle. (Hue range is ±6°, 9 replace.)- @@ -956,7 +998,8 @@
- - This maps 'black through white' to 'black through destination'. + This maps 'black through white' to 'black through + destination'.
@@ -1000,24 +1044,29 @@
@@ -1036,9 +1085,9 @@- 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 enabled, the user's stamp size controls. + 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 enabled, the user's stamp size controls.
If your stamp would be too big or too small, you can specify a scale factor. If your stamp would be 2.5 times as wide (or tall) as it should be, add the option - "
scale 40%" or - "scale 5/2" or - "scale 2.5" or - "scale 2:5" to your image. - You may include an "=" if you wish, as in - "scale=40%". + "scale + 40%" or "scale 5/2" or + "scale + 2.5" or "scale 2:5" to your + image. You may include an "=" if + you wish, as in "scale=40%".- - Pre-Mirrored and Flipped Images - + Pre-Mirrored and + Flipped Images
@@ -1046,18 +1095,20 @@ In some cases, you may wish to provide a pre-drawn version of a stamp's mirror-image, flipped image, or even both. For example, imagine a picture of a fire truck - with the words "Fire Department" written - across the side. You probably do not want that text to - appear backwards when the image is flipped! + with the words "Fire + Department" written across the side. You probably do + not want that text to appear backwards when the image is + flipped!To create a mirrored version of a stamp that you want - 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 - filename extension. + 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 filename + extension.@@ -1069,10 +1120,11 @@
- 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". + 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".@@ -1089,9 +1141,8 @@ noshade>
- - Fonts - + Fonts
@@ -1101,16 +1152,16 @@ alt="" align="right">@@ -1119,9 +1170,8 @@ noshade>- The fonts used by Tux Paint are - TrueType Fonts - (TTF). + 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 - four different sizes in the 'Letters' selector when using - the 'Text' tool. + directory. Tux + Paint will load the font and provide four different + sizes in the 'Letters' selector when using the 'Text' tool.
- - 'Starters' - + 'Starters'
@@ -1133,12 +1183,14 @@'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, - together with saved drawings.) + 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 @@ -1146,26 +1198,27 @@
- - 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, - 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. + 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.
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.
@@ -1186,9 +1239,8 @@
- - Scene-Style - + Scene-Style
@@ -1231,29 +1283,31 @@The 'starter' images should be the same size as - 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 + 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 applied to the edges.
Place them in the "
starters" directory. - 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. + 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 - 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 - 'New' command had been used. + 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 'New' command had been + used.
@@ -1261,9 +1315,10 @@ 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, - or another picture loaded or started. (In other words, if - you base a drawing on a 'starter' image, it will always be + 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.)
@@ -1273,9 +1328,8 @@ noshade>- - 'Templates' - + 'Templates'
@@ -1287,12 +1341,13 @@@@ -1355,39 +1413,42 @@ noshade>'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 - 'Template' feature.) + 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 @@ -1313,10 +1368,11 @@
The 'template' images should be the same size as - 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 + 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 applied to the edges.
@@ -1324,18 +1380,19 @@Place them in the "
templates" directory. When the 'New' dialog is accessed in - Tux Paint, the 'template' images will appear in the - screen that appears, after the various solid color choices - and 'starters'. + 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 - 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 - 'New' command had been used. + 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 'New' command had been + used.
@@ -1344,9 +1401,10 @@ 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 - started. (In other words, if you base a drawing on a - 'template' image, it will always be affected by it.) + 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.)
- - 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 + 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 - translation template file, "
tuxpaint.pot" - (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" - for Spanish; or "pt_BR.po" for - Brazilian Portuguese, - versus "pt.po" or - "pt_PT.po" for Portuguese spoken in Portugal.) + 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 "src/po/"). Rename + the copy as a ".po" file, with an appropriate + name for the locale you're translating to (e.g., + "es.po" for Spanish; or + "pt_BR.po" for Brazilian Portuguese, versus + "pt.po" or "pt_PT.po" for + Portuguese spoken in Portugal.)Open the newly-created "
@@ -1398,30 +1459,34 @@.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 - with "msgid". Enter your translations of each - of these pieces of text in the empty "msgstr" + 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" lines. (Note: Do not remove the quotes.)-
- msgid "Smudge"
+msgid "Smudge"+ msgstr "Haz clic y arrastra para dibujar ladrillos + grandes."
msgstr "Manchar"
msgid "Click and drag to draw large bricks."
- msgstr "Haz clic y arrastra para dibujar ladrillos grandes."A graphical tool, called poEdit (http://www.poedit.net/), is - available for Linux, Windows and Mac OS X. + available for Linux, Windows and macOS.
Note: It is best to always work off of the - latest Tux Paint text catalog template + latest Tux + Paint text catalog template ("
@@ -1434,8 +1499,8 @@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 Git repository (see: Tux Paint can be found in + Tux Paint's Git + repository (see: http://www.tuxpaint.org/download/source/git/), - and on the Tux Paint website at Tux + Paint website at http://www.tuxpaint.org/help/po/.You may send new or edited translation files to Bill Kendrick, - lead developer of Tux Paint, at: - Tux + Paint, at: bill@newbreedsoftware.com, or post them to the "tuxpaint-i18n" mailing list (see: Note: Additional locale support also requires - additions to Tux Paint's source code - (
/src/i18n.hand/src/i18n.c), - and requires updates to theMakefile, to have - the ".po" gettext catalog source files - compiled into ".mo" files, and installed, for - use at runtime. + additions to Tux + Paint's source code (/src/i18n.hand +/src/i18n.c), and requires updates to the +Makefile, to have the ".po" + gettext catalog source files compiled into + ".mo" files, and installed, for use at + runtime.
+
- - 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 - 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 - be entered into the "Text" tool by typing one or more keys - on a keyboard with Latin characters (e.g., a + 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 be entered into the "Text" tool by typing one or + more keys on a keyboard with Latin characters (e.g., a US QWERTY keyboard).
@@ -1493,11 +1561,11 @@The "
.im" file can have multiple character mapping sections for different character mapping modes. For - example, on a Japanese typing system, typing - [K] [A] - in Hiragana mode generates a - different Unicode character than typing - [K] [A] in Katakana mode. + example, on a Japanese typing system, typing [K] [A] in + Hiragana mode generates a different Unicode character than + typing [K] + [A] in Katakana mode.@@ -1537,7 +1605,7 @@ 304E gi -
304D:3083 kya -
3063:305F tta -
-
+
# Katakana
section
30AB ka -
@@ -1564,225 +1632,273 @@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. + additions to Tux + Paint's source code (/src/im.c), and + requires updates to theMakefile, to have the + ".im" files installed, for use at runtime.
- - On-screen Keyboard - + On-screen Keyboard
-- As of version 0.9.22, Tux Paint's - "Text" and "Label" tools can present an on-screen keyboard that allows - the pointer (via a mouse, eye-tracking systems, etc.) to be used to - input characters. Files that describe the layout and available keys - are stored in - Tux Paint's - "
-osk" directory. Each keyboard layout is defined by a number - of files (some of which may be shared by different layouts). We'll use - the QWERTY keyboard as an example: + As of version 0.9.22, Tux Paint's "Text" and + "Label" tools can present an on-screen keyboard that allows + the pointer (via a mouse, eye-tracking systems, etc.) to be + used to input characters. Files that describe the layout + and available keys are stored in Tux Paint's + "osk" directory. Each keyboard layout is + defined by a number of files (some of which may be shared + by different layouts). We'll use the QWERTY keyboard as an + example:Layout overview file ("
+qwerty.layout")+ Layout overview file ("
+qwerty.layout")+-- This is a text file that specifies the other files used to describe the - layout and key mappings. + This is a text file that specifies the other files used + to describe the layout and key mappings.
++-
- layout qwerty.h_layout+
- keymap us-intl-altgr-dead-keys.keymap
- - composemap en_US.UTF-8_Compose
- keysymdefs keysymdef.h
- keyboardlist qwerty.layout default.layout -layout qwerty.h_layout
+ keymap us-intl-altgr-dead-keys.keymap
+ + composemap en_US.UTF-8_Compose
+ keysymdefs keysymdef.h
+ keyboardlist qwerty.layout default.layout- Note: Blank lines within the "
+.layout" file - will be ignored, as will any text following a - "#" (pound/hash) character — it can be used to - denote comments, as seen in the example above. + Note: Blank lines within the + ".layout" file will be ignored, as will any + text following a "#" (pound/hash) character + — it can be used to denote comments, as seen in the + example above.The "
keyboardlist" line describes which - layouts to switch to, when the user clicks the - left and right buttons on the keyboard. - (See below.) + layouts to switch to, when the user clicks the left and + right buttons on the keyboard. (See below.)Keyboard layout file ("
+qwerty.h_layout")+ Keyboard layout file ("
+qwerty.h_layout") +-- This describes how big the keyboard is (as a W×H grid), - and lists each key with its numeric keycode (see the "keymap" - file, below), the width it should be drawn at (typically - "
+1.0", to take one space on the keyboard, - but in the example below, notice the "TAB" and - "SPACE" keys are much wider), the character or - text to display on the key, depending on which modifier - keys have been pressed (one each for: no modifiers, - [Shift], [AltGr], and [Shift]+[AltGr]), - and finally whether or not the key is affected by the - [CapsLock] key (use "1") or - [AltGr] (alternate graphics) key (use "2"), - or not at all (use "0"). + This describes how big the keyboard is (as a W×H grid), + and lists each key with its numeric keycode (see the + "keymap" file, below), the width it should be drawn at + (typically "1.0", to take one space on the + keyboard, but in the example below, notice the + "TAB" and "SPACE" keys are much + wider), the character or text to display on the key, + depending on which modifier keys have been pressed (one + each for: no modifiers, [Shift], [AltGr], + and [Shift]+[AltGr]), and finally whether or not + the key is affected by the [CapsLock] key (use + "1") or [AltGr] (alternate graphics) + key (use "2"), or not at all (use + "0").+-
- WIDTH 15+
- HEIGHT 5
-
- KEY 49 1.0 ` ~ ` ~ 0
- KEY 10 1.0 1 ! ¡ ¹ 0
- KEY 11 1.0 2 @ ² ˝ 0
- KEY 12 1.0 3 # · ³ 0
- KEY 13 1.0 4 $ ¤ £ 0
- KEY 14 1.0 5 % € ¸ 0
- KEY 15 1.0 6 ^ ¼ ^ 0
- ...
- KEY 21 1.0 = + × ÷ 0
- KEY 22 2.0 DELETE DELETE DELETE DELETE 0
-
- NEWLINE
-
- KEY 23 1.5 TAB TAB TAB TAB 0
- KEY 24 1.0 q Q ä Ä 1
- KEY 25 1.0 w W å Å 1
- KEY 26 1.0 e E é É 1
- KEY 27 1.0 r R ® ® 1
- ...
-
- NEWLINE
-
- # Arrow to left will change to the previous keyboard
- KEY 2 1.0 <- <- <- <- 0
-
- KEY 133 2.0 Cmp Cmp Cmp Cmp 0
-
- # The ALT or ALTGR keys are used in im to switch the input mode.
- KEY 64 2.0 Alt Alt Alt Alt 0
-
- # Space
- KEY 65 7.0 SPACE SPACE SPACE SPACE 0
-
- KEY 108 2.0 AltGr AltGr AltGr AltGr 0
-
- # Arrow to right will change to the next keyboard
- KEY 1 1.0 -> -> -> -> 0 -WIDTH 15
+ HEIGHT 5
+
+ KEY 49 1.0 ` ~ ` ~ 0
+ KEY 10 1.0 1 ! ¡ ¹ 0
+ KEY 11 1.0 2 @ ² ˝ 0
+ KEY 12 1.0 3 # · ³ 0
+ KEY 13 1.0 4 $ ¤ £ 0
+ KEY 14 1.0 5 % € ¸ 0
+ KEY 15 1.0 6 ^ ¼ ^ 0
+ ...
+ KEY 21 1.0 = + × ÷ 0
+ KEY 22 2.0 DELETE DELETE DELETE DELETE 0
+
+ NEWLINE
+
+ KEY 23 1.5 TAB TAB TAB TAB 0
+ KEY 24 1.0 q Q ä Ä 1
+ KEY 25 1.0 w W å Å 1
+ KEY 26 1.0 e E é É 1
+ KEY 27 1.0 r R ® ® 1
+ ...
+
+ NEWLINE
+
+ # Arrow to left will change to the previous + keyboard
+ KEY 2 1.0 <- <- <- <- 0
+
+ KEY 133 2.0 Cmp Cmp Cmp Cmp 0
+
+ # The ALT or ALTGR keys are used in im to switch the + input mode.
+ KEY 64 2.0 Alt Alt Alt Alt 0
+
+ # Space
+ KEY 65 7.0 SPACE SPACE SPACE SPACE 0
+
+ KEY 108 2.0 AltGr AltGr AltGr AltGr 0
+
+ # Arrow to right will change to the next keyboard
+ KEY 1 1.0 -> -> -> -> 0- Notice here that alphabetic keys ([Q], [W], etc.) - will be affected by [CapsLock], while numeric keys - ([1], [2], etc.), [Space], and so on, - will not. + Notice here that alphabetic keys ([Q], [W], + etc.) will be affected by [CapsLock], while + numeric keys ([1], [2], etc.), + [Space], and so on, will not.
+- Keycodes up to "
+8" are reserved for internal use. - The ones currently used are described below. + Keycodes up to "8" are reserved for internal + use. The ones currently used are described below.
- -
+0— empty button +0— empty button- -
+1— next layout - (per the layout file's "keyboardlist" setting) +1— next layout (per the layout file's + "keyboardlist" setting)- -
2— previous layout - (per the layout file's "keyboardlist" setting) +2— previous layout (per the layout file's + "keyboardlist" setting)Keymap file ("
+us-intl-altgr-dead-keys.keymap")+ Keymap file ("
+us-intl-altgr-dead-keys.keymap") +-This file defines which numeric keycodes (seen in the - keyboard layout files, such as "
+qwerty.h_layout" - described above) should be mapped to which actual characters - that an application such as - Tux Paint - expects to receive when keys (e.g., on a real keyboard) - are pressed. + keyboard layout files, such as + "qwerty.h_layout" described above) should be + mapped to which actual characters that an application + such as Tux + Paint expects to receive when keys (e.g., on a + real keyboard) are pressed.- If you're using an operating system such as Linux, - which runs X-Window and has the - "
+xmodmap" command-line tool available, you can run - it with the ("print keymap expressions" + If you're using an operating system such as + Linux, which runs X-Window and + has the "xmodmap" command-line tool + available, you can run it with the ("print keymap expressions" option, "-pke", to generate a keymap file.-
- keycode 9 = Escape NoSymbol Escape Escape+
- keycode 10 = 1 exclam exclamdown onesuperior 1 exclam 1 exclam NoSymbol onesuperior
- keycode 11 = 2 at twosuperior dead_doubleacute 2 at 2 at onehalf twosuperior
- keycode 12 = 3 numbersign periodcentered threesuperior dead_macron periodcentered
- ...
- keycode 52 = z Z ae AE Arabic_hamzaonyeh asciitilde guillemotright NoSymbol Greek_zeta Greek_ZETA U037D U03FF
- keycode 53 = x X x X Arabic_hamza Arabic_sukun guillemotleft NoSymbol Greek_chi Greek_CHI rightarrow leftarrow
- keycode 54 = c C copyright cent Arabic_hamzaonwaw braceright Greek_psi Greek_PSI copyright
- keycode 55 = v V v V Arabic_ra braceleft Greek_omega Greek_OMEGA U03D6
- keycode 56 = b B b B UFEFB UFEF5 Greek_beta Greek_BETA U03D0
- keycode 57 = n N ntilde Ntilde Arabic_alefmaksura Arabic_maddaonalef Greek_nu Greek_NU U0374 U0375
- keycode 58 = m M mu mu Arabic_tehmarbuta apostrophe Greek_mu Greek_MU U03FB U03FA
- keycode 59 = comma less ccedilla Ccedilla Arabic_waw comma comma less guillemotleft
- keycode 60 = period greater dead_abovedot dead_caron Arabic_zain period period greater guillemotright periodcentered
- keycode 61 = slash question questiondown dead_hook Arabic_zah Arabic_question_mark slash question
- keycode 62 = Shift_R NoSymbol Shift_R Shift_R
- ...
-keycode 9 = Escape NoSymbol Escape Escape
+ keycode 10 = 1 exclam exclamdown onesuperior 1 exclam 1 + exclam NoSymbol onesuperior
+ keycode 11 = 2 at twosuperior dead_doubleacute 2 at 2 + at onehalf twosuperior
+ keycode 12 = 3 numbersign periodcentered threesuperior + dead_macron periodcentered
+ ...
+ keycode 52 = z Z ae AE Arabic_hamzaonyeh asciitilde + guillemotright NoSymbol Greek_zeta Greek_ZETA U037D + U03FF
+ keycode 53 = x X x X Arabic_hamza Arabic_sukun + guillemotleft NoSymbol Greek_chi Greek_CHI rightarrow + leftarrow
+ keycode 54 = c C copyright cent Arabic_hamzaonwaw + braceright Greek_psi Greek_PSI copyright
+ keycode 55 = v V v V Arabic_ra braceleft Greek_omega + Greek_OMEGA U03D6
+ keycode 56 = b B b B UFEFB UFEF5 Greek_beta Greek_BETA + U03D0
+ keycode 57 = n N ntilde Ntilde Arabic_alefmaksura + Arabic_maddaonalef Greek_nu Greek_NU U0374 U0375
+ keycode 58 = m M mu mu Arabic_tehmarbuta apostrophe + Greek_mu Greek_MU U03FB U03FA
+ keycode 59 = comma less ccedilla Ccedilla Arabic_waw + comma comma less guillemotleft
+ keycode 60 = period greater dead_abovedot dead_caron + Arabic_zain period period greater guillemotright + periodcentered
+ keycode 61 = slash question questiondown dead_hook + Arabic_zah Arabic_question_mark slash question
+ keycode 62 = Shift_R NoSymbol Shift_R Shift_R
+ ...Composemap file ("
+en_US.UTF-8_Compose")+ Composemap file ("
+en_US.UTF-8_Compose") +-- This file describes characters that can be composed by multiple - inputs. For example, "[Compose]" followed by "[A]" and - "[E]" can be used to create the "
+æ" character. + This file describes characters that can be composed by + multiple inputs. For example, "[Compose]" followed + by "[A]" and "[E]" can be used to create + the "æ" character.- The file that comes with Tux Paint - is based on the US English UTF-8 (Unicode) composemap that - comes with X.Org's X Window system. - The current version from the Xlib library as a web page at - https://www.x.org/releases/current/doc/libX11/i18n/compose/en_US.UTF-8.html). + The file that comes with Tux Paint is based on the + US English UTF-8 (Unicode) composemap that comes with + X.Org's X Window + system. The current version from the + Xlib library as a web page at + https://www.x.org/releases/current/doc/libX11/i18n/compose/en_US.UTF-8.html). +
Keysym definitions file ("
+keysymdef.h")+ Keysym definitions file ("
+keysymdef.h") +This file (which is a C programming language - header file) is also from the - X Window System. - It defines the Unicode values of each keycap - (e.g., "
+XK_equal" corresponds to + header file) is also from the X Window System. It defines + the Unicode values of each keycap (e.g., + "XK_equal" corresponds to "U+003D", for the character "=" - ("EQUALS SIGN"). + ("EQUALS + SIGN").It is unlikely that any modification will be required of this file. @@ -1790,7 +1906,7 @@
- +