Windows 7 Fonts Not Showing in Font Manager


  1. Posts : 12
    Windows 7 Professional x64
       #1

    Windows 7 Fonts Not Showing in Font Manager


    Hi All,

    I am trying to install 32 barcode fonts (type .ttf) using a batch file. Everything that I have read says that you should just be able to copy the font to C:\windows\fonts and then add the appropriate value to the registry at HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts. My batch file does both of these things, however the fonts still do not show up in the font manager (or applications). They do show up if I browse to the fonts folder using cmd so I know they are where they should be. Is there something that I am missing here? These fonts need to be installed on every computer at my company so manually installing them isn't really an option. Any help here would be great!
      My Computer


  2. Posts : 3
    Win 7 32 bit
       #2

    horstj said:
    Hi All,

    I am trying to install 32 barcode fonts (type .ttf) using a batch file. Everything that I have read says that you should just be able to copy the font to C:\windows\fonts and then add the appropriate value to the registry at HKLM\Software\Microsoft\Windows NT\CurrentVersion\Fonts. My batch file does both of these things, however the fonts still do not show up in the font manager (or applications). They do show up if I browse to the fonts folder using cmd so I know they are where they should be. Is there something that I am missing here? These fonts need to be installed on every computer at my company so manually installing them isn't really an option. Any help here would be great!

    In my experience you need to re-start applications in order for newly installed fonts to show up in available fonts.

    It may also be worth try installing a couple of fonts one-by-one to see if it's batch-file related.

    Regards

    Rob


    Barcode Labels and Barcode Printing
      My Computer


  3. Posts : 12
    Windows 7 Professional x64
    Thread Starter
       #3

    I know that this post is old, but I thought that I would update it for anyone who stumbles across it with the same problem. I was never able to get the fonts installed using the method that I described above. What I finally ended up doing was writing an AutoIt script that simulated copying and pasting the files directly into the C:\Windows\Fonts folder/font manager. This worked without any problems and I even compiled the script into an .exe so I could use it from any computer.
      My Computer


  4. Posts : 33
    Windows 7 Ultimate 64 bit
       #4

    I also wanted to update for anyone with similar problems. Sorry, this reply is really long, but I think it clears up pretty much ALL font-related issues like this. Problems like:

    • the font is in the folder, but not available in word or adobe photoshop or whatever
    • the font says it's already installed, but it's not
    • you say "yes, replace the installed font" but still don't see it showing up anywhere
    • you have a ton of duplicated files in the windows font folder, ending in _0, or _1, etc.
    • windows shows some members of a font family but not all of them
    • the installed version of the font is different from some alternate version you're trying to install.

    What I figured out is this - when you install a new font, windows copies the font file to the windows font folder, and at the same time updates a list of available fonts in the windows registry.

    This list of fonts is important. If a font exists in the font folder, but the registry list didn't get updated... then you won't see the font in your applications.

    If the font doesn't exist in the windows font folder, but exists in the registry list, windows thinks it's installed. Even if it's not working anywhere, even if it's been moved or deleted from the windows font folder, windows considers it "installed" because it's on this list.

    And if you try to install a font that isn't working, but it's on that list... you get that annoying popup error "this font is already installed, do you wish to replace it?"

    If the list has the font, but the list has incorrect info about the font's file name... like the list thinks it's called "font1.ttf" but the actual font file is called "font2.otf"... you can't use the font.

    Also, the windows font folder gives you a weird specialized view of your files, which looks different from other folders. The actual filenames are replaced with the font name, so instead of seeing "times_0.ttf" you see "Times New Roman Regular". The listed fonts can act like "folders" that you can double click to see the full font family within. This 'special' font folder view is controlled by this hidden registry list. So let's say gotham-bold.ttf is in the windows font folder, but it's not in the registry list... gotham bold will NOT show in that special view of the font folder either. It's actually there in C:\windows\fonts\ , but you can't see it. And if you right click gotham-bold.ttf (from any folder) and choose install, you'll get that annoying error about it already being installed. Worse, even if you say "yes, replace it"... you still might not see the font appear in the folder.

    That's how you end up with a ton of duplicate font files with names like font.ttf, font_0.ttf, font_1.ttf, whatever_0.otf, etc. If you are prompted to reinstall the font, and choose yes... windows won't overwrite the file, just create a renamed copy. So you might end up with 2-5 copies of the same font in your windows font folder, and these separately installed files can get listed twice in the registry too.

    Anyway at this point someone's probably thinking "that's great but how do I fix it?"... here's the fix, if you want to install a specific font but keep having trouble getting it to show up and work

    1. Open up an explorer window (e.g. by pressing the windows key + E) and at the top, click in the address bar and paste this: \\localhost\c$\Windows\Fonts ...this gives you a true, normal view of the windows font folder, where you see a complete list of the files within your windows font folder, with their actual filenames (e.g. "times.ttf"). Every variation is listed by its filename too, so times italic will be in there as maybe "times_it.ttf" and not combined with (or hidden by) other font names. You don't see the convenient previews and full font names, but you DO see a true, accurate list of your files without the registry list screwing things up by hiding some of them.

    2. Click any font inside the folder, ctrl+A, ctrl+C to copy every font to the clipboard. Then make a new folder (let's call it fontbackup) and ctrl+V to paste all those font files into a backup folder. Now close the backup folder. That's important because you don't want to get the two folders confused.

    3. Keep the original font folder open. Run regedit. If you're unsure about how to do that, I'll let you google that and see all the scary warnings about how you might break the computer if you're not careful. Within regedit, navigate to this "folder": HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts

    **note, that's not microsoft\windows, it's microsoft\windows NT\, the folder (actually called a key) should definitely be there.

    Once you click it, you should see a bunch of fonts listed on the right. Look for the font that's giving you trouble, click that item in the list (the "list" is actually a bunch of separate registry items called "values", one value per line) and tap delete on the keyboard. Be careful doing this, make sure it's the font you want to fix, not some other font with a similar name. It'll ask you to confirm deletion, say yes. Note it might be in the registry multiple times, so delete multiple values if necessary.

    4. Go back to your font folder (make sure it's the "true view" of the font folder, as described in step 1). Find the file associated with your problem font. Note that sometimes the filenames are a little cryptic, like "Book Antiqua Bold Italic" might be called "ANTQUABI.TTF". You can always double click a file to see a preview and confirm it's the font you're looking for. You want to remove that font from the windows font folder completely, including any copies. So if you're removing Cooper Black, be sure to get cooperbk.ttf, cooperbk.otf, cooperbk_0.ttf, cooperbk_1.ttf, and so on. By "remove" I mean delete, which should be safe if you made a backup in step 2. If you're the cautious type though, you could also ctrl+X to cut a font from the folder, and then ctrl+V to paste it somewhere else, like your desktop.

    5. Now that the font is removed in the registry and from your windows font folder, you can install it "fresh" in a way that won't give errors or problems. Find the font file and install it in the usual way (I like right click --> install). If you see a warning about "do you want to overwrite the existing font" that means you screwed up somewhere in step 3 or 4 and didn't remove the font from either the registry list, or the windows font folder. If you see no warning at all though, everything probably worked fine and you can start using the font immediately in Word, Photoshop, etc.

    6. But even so, reboot just to be safe.

    Optional but recommended - you can search for and delete a bunch of duplicates. This may slightly help with performance but mostly it's just to keep things tidy. The downside is that if you're careless or unlucky you might delete a windows system font. To be honest though I've actually done that, and it wasn't impossible to recover from. Still, it's a pain, so be careful.

    What I did was open an explorer window, go to \\localhost\c$\Windows\Fonts, and typed this into the search box at the top right: *_0.ttf (find all files ending in _0.ttf) ...after finding all those results, I just highlighted all of them and deleted them (actually, I moved them to a backup folder to be safe). Then I repeated the process by doing additional searches... one for *_1.ttf, another for *_2.ttf, and so on.

    You should also do the searches for opentype font files, so *_0.otf, *_1.otf, etc. And you may have duplicated postscript fonts too, which have filenames like *_0.pfb.

    Stick to just those filetypes, other font filetypes are likely to be system fonts. Like some critical windows fonts are just called whatever.fon. So don't delete any FON files.

    Once the duplicate files are gone from the font folder, you also need to nuke them from that registry list. So you just go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Fonts and skim over it for any filenames (the data on the right) that end in _0, _1, _2, etc. ...then you delete those items from the list. Again, don't delete any system fonts like arial, times new roman, MS-anything, or any file named something.FON.

    At this point, the only fonts that should exist in the windows font folders are originals (i.e. you should see whatever.ttf, but not whatever_2.ttf) and the registry should only have entries for those originals (so the registry list might have "Whatever Font" on the left, and on the right, it 'points' to the file "whatever.ttf". If it incorrectly points to whatever_2.ttf, you can just double click that item, and retype the name properly in the data box that pops up). If a font is missing from the registry list, you just need to right click and install it, then refresh that list. But don't do so until you're sure it's NOT in the windows font folder.

    This has solved all of my font problems so far, and vastly reduced clutter. Hope this helps others.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:31.
Find Us