PRB: AddFontResource() Fails with FNT Files Larger Than 64K (196648)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q196648 SYMPTOMS
When calling AddFontResource() on Windows 95/98 with a FNT file larger than
64K, the function returns 0 (zero) and GetLastError() reports an error
status of 0 (zero).
RESOLUTION
There are two ways to work around this problem. The simplest solution is to
author FNT files so that they are smaller than the 64K limit. A better
solution, however, is to create a True Type font rather than a FNT file.
STATUS
This behavior is by design.
REFERENCESFor additional informations, click the article number about troubleshooting problems withAddFontResource() below
to view the article about troubleshooting problems withAddFontResource() in the Microsoft Knowledge Base:
160214 PRB: 32-bit Font Files Not Recognized by Windows 95 Shell
100487 Use 16-Bit .FON Files for Cross-Platform Compatibility
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbprb KB196648 |
---|
|