> It looks like your code that finds fonts for handling missing glyphs > would be very handy at this time.
I am not sure though: - I *think* I know how to make this work for XFT. - I don't know how to make this work with Xlib if fltk is compiled without XFT support. (Though I think O'ksi'D may have had code to do this in 1.1.6-utf perhaps?) - I don't know how to do this for OSX. Perhaps it is not necessary at all? (Though we might have to provide empty stubs to allow code to compile...) - I don't know how to do this for winXX. For WinVista and later, as for OSX, it may not be necessary? For earlier winXX versions (including the still widely used winXP) we would probably need to provide some similar mechanism... > I much prefer this solution than the alternative one that requires > the programmer to fiddle with Fl::set_font(). Having the programmer fiddle with set_font() is much easier for us, and with the Timothy Lee patches the programmer could at least provide a list of likely font names in the hope that one or more of them are present. And it is possible to a certain extent (in XFT and Xlib) to match fonts by properties rather than by actual names, so there might be other ways to select appropriate matches. I don't know what is best. I'm wary of doing a brute-force search under X11 because the font server might not be local, and the search would be very slow. For OSX and winXX the fonts are (always?) local and the search does not require a round trip over the network or etc... Slightly related: we occasionally get people asking in these forums why the fltk-2 version of their app starts up slower than the fltk-1.1 version, and it appears that calling the font server at start-up is implicated in the delay... We need to watch how that afflicts fltk-1.3, which uses XFT more than 1.1 did, and also not do anything that makes it worse! Slow app start up time is one of the key factors that affect how end-users perceive the responsiveness of apps... -- Ian SELEX Galileo Ltd 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-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
