The information in this article applies to:
SUMMARY
FONTINST is a sample application in the Microsoft Software Library that
demonstrates how to programmatically add a TrueType, raster, or vector font
to the system.
FONTINST also demonstrates how to retrieve the facename of a font given a .ttf or .fon file. In the case of a TrueType font, FONTINST opens up the file and reads the naming table of the .ttf file. FONTINST also shows how to read the FONTINFO structure (as described on pages 49-50 of the "Microsoft Windows Software Development Kit: Programmer's Reference, Volume 4: Resources") of a .fon file. The facename of a font in a .fon file can also be found in this manner. After a font is installed by FONTINST, information about the font is displayed in the window. Information such as the TEXTMETRIC structure and font type, as well as sample font text, is displayed. Information added to the Win.ini file is also displayed in this window. MORE INFORMATIONThe following file is available for download from the Microsoft Software Library: ~ FONTINST.EXEFor more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base: Q119591 How to Obtain Microsoft Support Files from Online Services Additional query words: softlib kbgraphic kbfile
Keywords : kbfile kbgraphic kbNTOS350 kbNTOS351 kbSDKWin32 kbWinOS95 kbDSupport |
Last Reviewed: August 27, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |