Loading Fonts

A private font is the font which is available only to the application that explicitly loads it. The following functions can be used for SBCS fonts but not for MBCS raster fonts in DBCS OS/2.

As stated before, you query the system what fonts are available and find a font that best satisfies your requirement rather than assume the existence of some specific font.

As we already discussed in Available Fonts in DBCS PM, the MBCS raster fonts are provided by the font drivers that own the fonts. DBCS PM provides APIs (WinDBCSLoadFontDriver, WinDBCSUnloadFontDriver....) for application to load/unload a font driver. After the font driver is loaded, the fonts of this font driver will become the private fonts to the application program.

Note:


[Back: Dialog Unit and Dialog Size Handling]
[Next: Querying/Creating Fonts]