No description
Find a file
Bill Kendrick 19db5e1b4a Avoid compile-time warnings re: wchar_t comparison
When assembling UTF-8 in render_text_w() (to send to SDL_Pango),
we assumed `wchar_t` could encompass the entirety of Unicode
(up to U+10FFFF); however, on Windows `wchar_t` is only 16-bits,
meaning the test for characters <= U+FFFF was always true.

This reworks the if/elseif/else block, via some "#ifndef WIN32"
tests, to avoid this warning.

In the end, we need to replace our internal use of `wchar_t`
with something 32-bit, to allow for higher Unicode code points
(e.g., to support Emoji via the Text and Label tools).

Additonally, some work will need to be done to ensure that
text stored as Labels within saved Tux Paint images (PNGs) continued
to work correctly, and could be traded between platforms.
(Untested, but right now I assume a picture drawn on Linux where
`wchar_t` is 32-bit would break if you attempt to load it on Windows,
and possibly vice-versa?)

See https://sourceforge.net/p/tuxpaint/feature-requests/210/
2021-11-03 22:16:24 -07:00
custom Move custom/macos* files to macos/* 2021-01-11 18:16:22 -05:00
data New Fill tool mode: Brush 2021-10-19 00:26:26 -07:00
docs Doc refresh after Japanese & INSTALL updates 2021-11-03 20:54:49 -07:00
fonts/locale Skipping locale-specific fonts, unless we're in that locale. 2009-06-01 04:02:40 +00:00
haiku Adding the tuxpaint.rdef file, this contains the tuxpaint icon for Haiku 2010-06-02 15:44:15 +00:00
hildon Updated version #. 2007-11-27 18:04:20 +00:00
im Comment error fixed. 2009-05-31 15:49:28 +00:00
ios add back noquit option to ios default config 2021-03-24 00:00:31 -04:00
macos Add macOS compile/install instructions to INSTALL 2021-08-31 22:37:18 -07:00
maemo/debian DESTDIR is the standard name, not PKG_ROOT 2008-04-26 19:38:17 +00:00
magic Cartoon can apply effect to entire image 2021-10-27 22:52:02 -07:00
man Doc refresh after Japanese & INSTALL updates 2021-11-03 20:54:49 -07:00
obj Ignoring gperf-generated parse.c and interim parse_step1.c. 2009-11-20 22:43:02 +00:00
osk More indentation! 2019-04-13 12:23:47 -07:00
src Avoid compile-time warnings re: wchar_t comparison 2021-11-03 22:16:24 -07:00
stamps/cartoon/tux Optimised PNG files using TruePNG and PNGZopfli. 2014-06-29 11:08:36 +00:00
starters Elefant, fish-icon and frame_hearts SVGs touched the edges and got ugly strips at some Tux Paint's window sizes. Remade them in inkscape and put a margin of 3 units on each side. 2020-10-22 03:14:26 +02:00
templates Adding a number of example templates. 2014-01-04 09:15:35 +00:00
visualc Moved sdl docs. 2007-08-11 18:01:14 +00:00
win32 No need to use these files. 2021-10-22 22:55:07 +09:00
.cvsignore Ignoring generated-thumbnails directories in CVS. 2010-04-27 22:07:26 +00:00
.gitignore Ignoring src/po/POTFILES.in 2019-09-24 08:42:00 -07:00
dummy.c indent dummy.c 2017-10-15 11:32:16 -07:00
findbad things belonging in .bss that may end up in .data instead 2009-11-23 03:00:05 +00:00
Makefile Initial implimentation of win32_trash() 2021-10-28 22:47:32 +09:00
README.txt A more useful root dir README 2017-11-12 11:00:07 -08:00
tuxpaint.spec Set version 0.9.27, doc/Makefile no longer installed 2021-10-07 11:34:39 +09:00

Tux Paint

Tux Paint is a free, award-winning drawing program for children
ages 3 to 12.  It combines an easy-to-use interface, fun sound effects,
and an encouraging cartoon mascot who guides children as they use
the program.

Kids are presented with a blank canvas and a variety of drawing tools
to help them be creative.  Along with paintbrush, shapes and text,
Tux Paint includes a "stamp" feature to add pre-drawn or photographic
imagery to pictures, and a set of "magic tools" that provide filter effects
(like blur, tint and waves) and interesting drawing tools (like train tracks,
bubbles and grass).

Tux Paint includes a collection of "starter" images, both coloring-book style
and photo-realistic, and a large collections of stamps are available
as a separate download. Additional content can be added by parents and
teachers, or downloaded from 3rd parties.


Please see the full documentation located in the "docs" directory.

$Id$