[Tuxpaint-devel] Tux Paint will now _require_ SDL2_Pango [0.9.30 & beyond]
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
From: Bill K. <nb...@so...> - 2023-04-30 23:33:16
|
Based on research by Pere, it seems that Tux Paint (as recent as version 0.9.28) supplied by Debian (and it appears, based on this, Ubuntu) does not render some text properly (e.g., Japanese & Arabic). This is because they are being built _without_ Pango support (which, these days, is supplied by the SDL2 port of the "SDL_Pango" library, "SDL2_Pango", as maintained by our own Mark Kim, here: https://github.com/markuskimius/SDL2_Pango). To avoid this in the future, and hopefully encourage the Debian maintainers to also get SDL2_Pango packaged, so they can keep Tux Paint up-to-date as well, I've just removed support for building Tux Paint _without_ Pango. (Rather than detecting it is unavailable, and compiling things with "NO_SDLPANGO" #define'd, and using different code to render text using "SDL_ttf" library as a fallback, it will just refuse to build!) Porters, please double-check that everything still works right. Another benefit of this is the removal of a lot of very old code from our codebase, most of which has probably not been maintained much lately! Backstory: https://sourceforge.net/p/tuxpaint/bugs/268/ The main commit in question: https://sourceforge.net/p/tuxpaint/tuxpaint/ci/cef773a69493c7c76073bdd59ac49c5bbde21aa9/ (I also updated the INSTALL docs, and the Requirements webpage, to reflect this new reality. Let me know if I missed anything!) Thanks all! I'm hoping to get 0.9.30-rc1 rolled into a tarball some time soon!!! -- -bill! Sent from my computer |