PostScript Fonts Have Two Font Names

Last reviewed: February 24, 1995
Article ID: Q77215
The information in this article applies to:
  • Microsoft Windows Device Development Kit (DDK) for Windows versions 3.0 and 3.1

SUMMARY

A PostScript font has two font names:

  1. The Windows name for the font, such as "AvantGarde," which appears in the font list in the Fonts dialog box in Control Panel.

  2. The PostScript name for the font, such as "itc avant garde gothic," which can vary by printer manufacturer and which the printer driver sends to the printer to select the font.

If the font is a downloadable soft font defined in the printer font metrics (PFM) file format, the Windows name and the PostScript name for a font can be determined. The PFM file header has a field (dfFace) that points to the Windows font name and a field (dfDriverInfo) that points to the driver- specific PostScript font name.

If the font is an internal printer font defined for a specific printer, it is necessary to enumerate fonts in a given printer driver to find the Windows font name. There is no device-independent way to retrieve the PostScript font name for an internally defined printer font.

REFERENCE

For more information concerning the PostScript PFM file format, refer to Chapter 4 of the "Microsoft Windows Device Development Kit Printers and Fonts Kit."


Additional reference words: 3.00 3.10
KBCategory: kbprg
KBSubcategory: GdiFnt


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 24, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.