No description
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/ |
||
|---|---|---|
| custom | ||
| data | ||
| docs | ||
| fonts/locale | ||
| haiku | ||
| hildon | ||
| im | ||
| ios | ||
| macos | ||
| maemo/debian | ||
| magic | ||
| man | ||
| obj | ||
| osk | ||
| src | ||
| stamps/cartoon/tux | ||
| starters | ||
| templates | ||
| visualc | ||
| win32 | ||
| .cvsignore | ||
| .gitignore | ||
| dummy.c | ||
| findbad | ||
| Makefile | ||
| README.txt | ||
| tuxpaint.spec | ||
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$