DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L1903 Version: 1.3-feature OK - I started to look at this patch, but it's taking more time than I had allowed... And I've only had a chance to try it on my linux box so far, so... Initial comments: Patch applied OK to current (at time of writing) SVN 1.3 tree, and code builds. Observations: the header files Xutf8.h and fl_utf8.H - patch seems to have included all the text twice in each file. Odd. Still builds OK. The XFT fontopen code has been extended to handle a list of fonts, this seems like a Good Thing. There are some uses of Xft*16 functions - these always make me uneasy - I think I'd rather go the Xft*UCS4 route, at least on *nix, for anything that can't be readily done directly as utf8. I worry that at we need to handle glyphs that can't be represented in a single 16-bit field, and going to a UCS4 type is more future proof. Something in the patch breaks GL text rendering - see this in the cube and fractals demos, where the FPS text in the GL window is not displayed (1.1.9 and 1.3.x both seem fine.) This is a nuisance for me, as I have need of that facility in my code! Time permitting, more comments to follow. Also (possibly!) OSX testing... -- Ian Link: http://www.fltk.org/str.php?L1903 Version: 1.3-feature _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
