PRB: AddFontResource() Fails with FNT Files Larger Than 64K
Article ID: 196648
Article Last Modified on 7/11/2005
APPLIES TO
- Microsoft Platform Software Development Kit-January 2000 Edition, when used with:
- Microsoft Windows 98 Standard Edition
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.
REFERENCES
For 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
Additional query words: kbDSupport
Keywords: kbprb KB196648