DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2550
Version: 1.3-current


Looking at this again, albeit briefly, I think we'd be better off
leveraging the logic that's in out utf8Wrap.c (in src/xutf8 in the fltk
tarball) and making something similar to our existing XUtf8DrawString()
function.

That should work "anywhere" and will have th merit of returing the same
measurement as XUtf8DrawString() actually draws.

If we use Xutf8TextExtents() then (if it works at all on unknown platform
Xyz) there is a fair chance it will measure the string differently from
how we render it, and so the results may be slightly off...

But still not easy.


Link: http://www.fltk.org/str.php?L2550
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to