Skip to content

DfontSplitter — Solution to Windows Corrupt Font Error

I think I’ve finally found a solution to this annoying error message that Windows gives when you use DfontSplitter to convert some fonts and then try and use those converted fonts in Windows.

“The requested font was not a valid font file” error message

It involves using a third-party open source application called FontForge to convert the TTFs that DfontSplitter gives you from a Mac-specific TTF format into ‘regular’ TTF format.

A full tutorial on using this method is included as a YouTube video screencast below.

If you can’t or don’t want to watch the video, essentially the process is:

  • Use DfontSplitter on the .dfont file as normal
  • Open the resulting TTF files you want in FontForge
  • Export each TTF file from FontForge with File > Generate Fonts. Make sure TrueType format is selected.
  • Import the resulting TTF files into Windows fonts folder.

Please do let me know if this process works for you and give any feedback — especially if you’d previously had problems using a .dfont you had wanted to use on Windows.

13 Comments

  1. gsoli wrote:

    Well, I followed all of the steps to install cygwin with x11 and then fontforge, and to my surprise, it all worked beautifully. Great work, Peter.

    Now I just have to iron out a few problems with some of the font families. For example, when I split and convert Neue Helvetica Light, it previews fine but QuarkXPress sees it as Light Italic. Any ideas?

    Also, do you know of anyone using these fonts in a prepress environment? If so, did they have problems with embedded fonts once the documents got to the printer? Anyway, thanks for the great program and sorry for the long post.

    Thursday, August 27, 2009 at 05:27 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.5.2 on Windows Windows XP
  2. Peter wrote:

    Glad to hear that this solution worked out for you, gsoli — and thanks very much for getting in touch.

    I don’t have the expertise to help you with either of your remaining questions and I certainly never envisioned that a program as relatively crude as DfontSplitter would help at all in a prepress environment! I’ll let you know if anyone else comes along who’s also working with the app in a more professional setting.

    Thursday, August 27, 2009 at 06:38 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.5.2 on Mac OS Mac OS X
  3. James wrote:

    I tried out DFontSplitter to convert a .dfont to a ttf but instead I got about a dozen bdf files. I don’t know to much about fonts in general. I’m on a windows XP professional box…Any tips on how to get the ttf or otf files I need?

    Friday, September 4, 2009 at 19:54 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.0.5 on Windows Windows XP
  4. Peter wrote:

    James,

    In my experience you end up with a bunch of bdf and other files in addition to the TTF file that you’re looking for. Which specific font are you using — I’ll see if I can reproduce the behaviour.

    Also, you’ll likely have to use FontForge as described in this post even after you get the TTF file out if you intend to use the font directly on Windows.

    Friday, September 4, 2009 at 19:58 | Permalink | Using Safari Safari 531.9 on Mac OS Mac OS X
  5. John wrote:

    I used Dfont Splitter successfully in converting my AppleMac Dfont files into TrueType files. I had exactly the specified problem where windows xp would not open the TrueType files. I followed the instructions to install Cygwin etc…but to cut a long story short, I got lost in all the variables and gave up!

    Instead I installed a trial 15 day download of a package called Crossfont…and managed to successfully convert all my NON opening Windows XP TrueType files, in to OPENING Windows XP truetype files! I have loaded them in to my PC’s fonts file so what were original Dfonts seems to work fine as TrueTypes in my Windows Xp based Design programs.

    Granted, after 15 days I will have to buy a license for Crossfont…but i only needed it to get a load of Truetypes converted once.

    Thanks for your efforts Peter -Dfont Splitter is very good to a point…it’s really the Cygwin get-around that’s too complex for a technical dunce like me!

    Liked your explanatory video, you should seriously consider teaching if you dont do that already.

    best regs, John

    Wednesday, December 16, 2009 at 21:16 | Permalink | Using Google Chrome Google Chrome 3.0.195.38 on Windows Windows XP
  6. evan wrote:

    no offense, but if you have to use FontForge to fix these TTF files, there’s really no need for the Dfont Splitter application to begin with… FontForge will go straight from dfont to windows-compatible TTF’s.

    Monday, February 1, 2010 at 16:59 | Permalink | Using Google Chrome Google Chrome 3.0.195.38 on Windows Windows XP
  7. Peter wrote:

    evan,

    I recognise that this whole Windows TTF versus Mac TTF business makes DfontSplitter a lot less useful. If I can find a solution that allows me to do that conversion within DfontSplitter, I will of course implement it straight away.

    As it happens, DfontSplitter is merely a graphical program around some scripts that I didn’t write. Unfortunately, I don’t personally have a great understanding of the different font formats and how to manipulate them.

    Monday, February 1, 2010 at 21:07 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.6 on Mac OS Mac OS X
  8. Hen Asraf wrote:

    Is there a way to do these without having to install cygwin and related stuff? I really find that too much of a hassle for one font…

    Monday, February 8, 2010 at 21:56 | Permalink | Using Google Chrome Google Chrome 5.0.317.2 on Windows Windows 7
  9. Andrew wrote:

    ….Fontforge needs cyg11-6.dll, which is not within cygwin vers 1.7 8most recent), I tried everything – no way! There is no xinit in my X11 folder, which is necessary. Any Idea? Thx Andy

    Wednesday, February 10, 2010 at 23:52 | Permalink | Using Safari Safari 525.27.1 on Mac OS Mac OS X
  10. Fiya wrote:

    This was a great solution, so thanks for posting. I was wondering if you had a problem with Helvetica Bold on Windows. For some reason, when I transferred the four versions to the PC, it was just a copy of Helvetica regular. The Oblique and Bold Oblique are fine. When I view it on the Mac, there is a distinct difference between the bold and regular. It is very baffling.

    Wednesday, February 24, 2010 at 05:44 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.6 on Mac OS Mac OS X
  11. Peter wrote:

    Fiya,

    I’ve had the same problem you describe with Helvetica Bold on Windows. Helvetica and Oblique work fine, but when you try to make some Helvetica text bold, it simply turns into Arial.

    I don’t know what it is about Helvetica Bold and I’m afraid I don’t have a solution, but I do have the same issue.

    Wednesday, February 24, 2010 at 13:14 | Permalink | Using Safari Safari 531.21.10 on Mac OS Mac OS X
  12. Alex Angelico wrote:

    Hi, I used FontForge directly in Linux (I have a vmware virtual linux box).
    Unfortunately, as Evan said, with this solution there’s no need for DFontSplitter….
    But I want to let you know FontForge showed this errors and this is maybe why DFontSplitter doesn’t work:

    Error1:
    The convention is tha TrueType fonts should have an em-size which is a power of 2. Bht this font has a size of 1000. This is not an error, but…

    Error2:
    The font conatins errors
    Self Intersectiong
    Wrong Direction
    Missing Points at Exrema

    BTW1: I had the same problem with fondu, but I think Dfontsplitters uses fondu…
    BTW2: I had this problem converting Mac Helvetica, as others posted.

    Thursday, July 1, 2010 at 23:08 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.6.6 on Windows Windows 7
  13. Peter wrote:

    Alex Angelico,

    Thanks for posting the errors you found. It’s useful to know the details of why these fonts might not work. Unfortunately it doesn’t bring me closer to a solution yet, but I appreciate you taking the time to post the information.

    You’re right in that DfontSplitter uses fondu — any result you get with fondu should therefore exactly the same as the result you get from DfontSplitter.

    Thursday, July 1, 2010 at 23:11 | Permalink | Using Mozilla Firefox Mozilla Firefox 3.6.6 on Mac OS Mac OS X

13 Trackbacks/Pingbacks

  1. DfontSplitter 0.2 for Windows « Blog « Peter Upfold on Monday, August 24, 2009 at 09:47

    [...] been sitting on this new version of DfontSplitter 0.2 for Windows until I had a solution to the corrupt font error. With a solution found, I feel ready to offer this improved version of the Windows [...]

  2. DfontSplitter 0.3 for Mac « Blog « Peter Upfold on Tuesday, September 15, 2009 at 14:42

    [...] Moving TTF files that have been extracted from a .dfont over to Windows — please see this workaround. [...]

  3. DfontSplitter 0.4 for Mac « Blog « Peter Upfold on Sunday, January 31, 2010 at 20:13

    [...] Moving TTF files that have been extracted from a .dfont over to Windows — please see this workaround. [...]

Post a Comment

Your email address is not made public or shared. Required fields are marked with *.
*
*
*
Posting a comment signifies you accept the privacy policy.
Please note — usually your comment will appear straight away but sometimes it will be held for approval (this is due to the spam filter). If your comment is waiting to be approved, please don’t post it again! It will appear eventually.