> There were 16 default fonts in the FLTK, and the "sans" is > the first font of them. > Where can I find them in the filesystem? > I think there must be a "sans.ttf" in "/usr/share/fonts/", or > somewhere.
Ah, if only it were that simple... The underlying font rendering systems provided by all our host OS provide a variety of mechanisms for font substitution, so that if you ask for something "generic" such as "sans", the font renderer will select a font from those it has available, to use to draw your text. I can't think of any instance where that has actually been a font called sans.ttf... How the substiutuion is made, and whether you can determine the name of the *actual* font selected varies quite a lot from platform to platform, so if you ask a more detailed question, we *might* be able to advise you further. Or maybe not. In general, font handling is a hard problem. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

