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

[STR New]

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


A few other things I noticed while poking at this.

button-centered-text.png
------------------------
This screenshot compares a button drawn with XFT off vs. on, showing the
text vertical positioning being off a few pixels inside buttons, which
means the problem might not just be the text editor.

text-with-box.png
text-with-box.cxx
-----------------
This screenshot (and example program that generated it) shows a comparison
of XFT on vs. off, black text drawn over a red box defined by fl_measure(),
to see if the text falls within the box area.

It's interesting to see the position offsets of the text using the various
methods of text area computations, including Ian's new fl_text_extents()
function, which seems to be the most accurate of all the methods.


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

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to