> Are they actually the same font? Or just fonts with the same name? Exactly the same ttf file.
> In any case, you are always pretty much at the mercy of the font > renderer in terms of how the font actually appears, how it is spaced, > etc. This is provided by the display system, of course, not by fltk, so > it does vary from host to host - the same font file may be rendered > slightly differently, and any two fonts with "the same" name and size > can actually appear quite different so... I understand, that the shapes may appear different with differnt renderers, but why cant they at least render all the same height? Is there no general rule for a given font and pixel-size of how to calculate the line height? > Yes, it is tricky... What I have done in the past is to use the > fl_measure functions to find out how big a given font actually is on a > particualr host, and then adjust things accordingly. But that changes the look even more. The rendering of the characters is pretty identical, only the spacing an line heights are different. If had to use a 12px font to achieve the same heigth than a 14px font, the characters are much smaller. If I only knew, where I could "screw" around to make the renderer (Freetype2 I guess) behave differently with the spacing. I found nothing to this problem in the net. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

