Win\Font1 - Windows Font Manipulation Functions =============================================== File: Win\Font1 - Update: 1.00 Author: J.G.Harston - Date: 14-Nov-2008 DEFFNFont_Select(font$) ======================= FNFont_Select() attempts to select the specified font and returns zero if unsuccessful and non-zero if successful. This allows code of the following form to be used: IF FNFont_Select("Transport")=0 THEN A%=FNFont_Select("Ariel") If the font is not available on the system the program is running on, then FNFont_Select() returns FALSE, and the program can fall back and select another font. If the specified font is the null string "" then the WINBBC font is selected. This is always available to BBC BASIC for Windows programs and so can always be used as a fall-back font, for example: IF FNFont_Select("Courier")=0 THEN A%=FNFont_Select("") Notes ===== FNFont_Select() returns either zero or an unspecified non-zero value. No interpretation should be put on that non-zero value. Future versions of the library may return specific data in that non-zero value. Version History =============== 1.00 14-Nov-2008 Initial version.