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


Great observations! The only correct way IMHO would be to get the same font
height on any system when requestin an 11 point font. I assume that many
widgets rely on a line heigt of 11 when requesting an 11 point font.

I am not sure how that can be solved if the requested fonts are taller
than the given height, other than trial-and-error, which would be insanely
inefficient.

Oh, and since the original (SGI-X11) implementation provided 11 pixel
height fonts when requested, but OS X does not, the OS X Carbon code
contained a multiplier that was found by just that, trial and error.

Oh, and as I wrote:
    // Requesting a certain height font on Mac does not guarantee that
ascent+descent
    // equal the requested height. fl_height will reflect the actual
height that we got.
    // The font "Apple Chancery" is a pretty extreme example of
overlapping letters.


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