Microsoft KB Archive/312459

= Cannot Add or View Fonts, Windows Reports an Incorrect Number of Installed Fonts =

Article ID: 312459

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Windows 98 Second Edition
 * Microsoft Windows 98 Standard Edition

-



This article was previously published under Q312459



SYMPTOMS
When you attempt to manage fonts on your computer, you may see the following behaviors:  When you attempt to add fonts, you may receive an error message similar to the following:

Windows cannot install the  (TrueType) font. There may be too many fonts installed, or the font file may be damaged.

Uninstall some fonts before installing new ones, or check with your font vendor about obtaining a new file.

You receive this error message even though you have fewer than 800 fonts installed. When you attempt to view a font, the font viewer does not open. You are unable to preview the font. (To view a font, double-click the font in the Fonts tool in Control Panel.) After you remove fonts, Windows reports an incorrect number of installed fonts. For example, if you reduce the number of installed fonts to 600, Windows may report that you have 800.



CAUSE
This issue can occur because of an incompatible or corrupted font file on the computer.



RESOLUTION
To resolve this issue, follow these steps:  Insert a Windows 98 Startup disk, and then restart the computer to a command prompt with CD-ROM support.

For additional information about how to create a Windows 98 Startup disk, click the article number below to view the article in the Microsoft Knowledge Base:

187632 How to Create a Windows 98 Startup Disk that Supports FAT32

 Make a note of the drive letter that is assigned to the CD-ROM drive.</li> Insert the Windows 98 compact disc (CD) into the CD-ROM drive.</li> Change to the C:\Windows directory. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Type c:, and then press ENTER.</li> Type cd\windows, and then press ENTER.</li></ol> </li> Type rename fonts oldfonts, and then press ENTER.

NOTE: The Oldfonts folder contains all of your previous fonts.</li> Type md fonts, and then press ENTER.</li> Type attrib +s c:\windows\fonts, and then press ENTER.</li> Type a:\, and then press ENTER.</li> Type ext, and then press ENTER.

Microsoft Extract Command Line Helper starts.</li> Type :\win98, where   is the drive letter of your CD-ROM drive, and then press ENTER. For example, type d:\win98, and then press ENTER.

NOTE: If you have an original equipment manufacturer (OEM) installation of Windows 98, the Windows installation files may also be stored in the following folder:

C:\WINDOWS\OPTIONS\CABS

</li> Type *.ttf *.fon, and then press ENTER.

NOTE: There is a space between *.ttf and *.fon.</li> Type c:\windows\fonts, and then press ENTER.</li> Type y, and then press ENTER.

The font files are extracted.</li> Change to the C:\Windows\Oldfonts directory. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Type c:, and then press ENTER.</li> Type cd\windows\oldfonts, and then press ENTER.</li></ol> </li> <li>Type copy desktop.ini c:\windows\fonts, and then press ENTER.</li> <li>Type rename desktop.ini desktop.old, and then press ENTER.</li> <li>Type cd\windows, and then press ENTER.</li> <li>Type attrib -h -r -s ttfcache, and then press ENTER.</li> <li>Type del ttfcache, and then press ENTER.</li> <li>Remove the Windows 98 Startup disk, and then restart the computer.</li> <li>Click Start, and then click Run.</li> <li>In the Open box, type C:\Windows\Fonts, and then click OK.</li> <li>In the Fonts dialog box, click Close on the File menu.</li></ol>

<div class="moreinformation_section">

MORE INFORMATION
For additional information about restoring Windows default fonts, click the article number below to view the article in the Microsoft Knowledge Base:

234749 How to Restore the Windows Default Fonts

For additional information about extracting Windows files, click the article number below to view the article in the Microsoft Knowledge Base:

129605 How to Extract Original Compressed Windows Files

Keywords: kberrmsg kbprb KB312459

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.