PRB: 32-bit Font Files Not Recognized by Windows 95 ShellLast reviewed: December 4, 1996Article ID: Q160214 |
The information in this article applies to:
SYMPTOMSWhen you try to install a 32-bit Portable Executable (PE) font resource file in Windows 95 version 4.0 via the fonts folder, the installation fails and Windows 95 displays an error message indicating that the font is not a valid font file. Also, attempts to view the font file by double-clicking the file produce the same message.
CAUSEThe fonts folder in the Windows 95 shell does not recognize 32-bit PE font file resources.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONAlthough the fonts folder in the Windows 95 shell does not recognize font resources that are in the 32-bit PE format, the operating system does. A 32- bit PE font resource can be installed into Windows 95 programmatically. This is accomplished by calling the AddFontResource function, updating the Registry, and broadcasting a notification message to inform other apps that a font has been installed. These procedures are documented in the Installing Fonts section of the Guide to Programming Windows 95 in the Win32 SDK and the Knowledge Base articles in the REFERENCES section below. Also, 32-bit PE font resources may cause a General Protection Fault in Windows 95 version 4.0 under certain circumstances. Please see The REFERENCES section in this article for further details. Microsoft recommends that Windows 95 applications that ship font resources use 16-bit font resource files. Shipping 16-bit font resources will avoid the 32-bt PE font file bugs in Windows 95 and will have the added benefit of being portable if you design your application for Win32s.
REFERENCESFor more information on subjects discussed above, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q100487 TITLE : Use 16-Bit .FON files for Cross-Platform Compatibility ARTICLE-ID: Q137882 TITLE : BUG: 32-Bit .FON files Causes GP Fault with Standard VGA Driver ARTICLE-ID: Q76535 TITLE : SAMPLE: Creating a Custom Raster Font |
KBCategory: kbprb kbgraphic kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |