5 Replies Latest reply: Jan 31, 2013 8:03 AM by Kurt Lang
Clint Olsen Level 1 Level 1 (5 points)

Hi:

 

I use Apple's Monaco font almost exclusively in Terminal.app have resisted using Menlo. I would like to extract the ttf file for this font from the combined dfont file. I've used fondu and DfontSplitter. Both produce the same results (file size), but the resulting .ttf file is unreadable by Linux or Windows. What's up with the TTF file that's contained in the dfont file?

 

Someone online suggested I use the free fontforge program to process the dfont file, but it also produces an "invalid" font file.

 

Thanks,

 

-Clint


MacBook Pro, Mac OS X (10.7.3)
  • 1. Re: Trying to extract Monaco.ttf for use on Linux/Windows
    VikingOSX Level 5 Level 5 (5,490 points)

    Clint,

     

    On Ubuntu, launch Software Center and search for Fondu, then install it.

     

    Get the Monaco.dfont over to your home directory on the Linux box.

     

    Run the following command in Terminal:

     

    Fondu Monaco.dfont

     

    This quietly creates the Monaco.ttf font and a bunch of *.bdf ASCII files.

     

    Copy the Monaco.ttf into ~/.fonts or /user/share/fonts/truetype/apple/Monaco.ttf depending on local or system use. The apple directory is purely organizational and will need to be created.

     

    Update: This font created on Linux is not a valid font file under Windows 7.

     

    Using the above process, I got both vim and LibreOffice on Ubuntu to use the Monaco font.

  • 2. Re: Trying to extract Monaco.ttf for use on Linux/Windows
    VikingOSX Level 5 Level 5 (5,490 points)

    Clint,

     

    Got cut off by the Support Community dropping connection...

     

    Update.

     

    Ignore Fondu.

     

    Look at DfontSplitter instead. Windows and Mac GUI versions. Mac version ttf output works (I tested it) on latest releases of Ubuntu and Fedora, but not on Windows. Windows .ttf font compatibility will require DfontSplitter for Windows.

     

    DfontSplitter works fine on Mountain Lion ... it just isn't gatekeeper friendly yet. Right-button click on app, open it, and it will then work. Launches a drag and drop window for depositing the .dfont file. You should tell it where to write out the .ttf file.

  • 3. Re: Trying to extract Monaco.ttf for use on Linux/Windows
    Clint Olsen Level 1 Level 1 (5 points)

    Thanks for offering suggestions in your post. I'm using MacOS Lion, and I tried both DfontSplitter and fondu on the Mac, and both produced the same Monaco.TTF which was unreadable on Windows 7 and Linux.

     

    Are you saying that running DfontSplitter or fondu on another platform other than the Mac might produce different results?

  • 4. Re: Trying to extract Monaco.ttf for use on Linux/Windows
    VikingOSX Level 5 Level 5 (5,490 points)

    I installed latest DfontSplitter on Mountain Lion. Dragged and dropped the Monaco.dfont onto DfontSplitter and it silently output the Monaco.ttf.

     

    I put that Monaco.ttf in my VirtualBox shared folder.

     

    Ubuntu 12.10: Monaco.ttf installed in ~/.fonts folder. Works fine in Vim and LibreOffice Writer.

     

    Fedora 18: Same results as Ubuntu.

     

    As I mentioned, the Monaco.ttf font generated on OS X by DfontSplitter is invalid on Windows 7. You will need to install DfontSplitter for Windows, then feed it the Monaco.dfont file from OS X, to get a valid Monaco.ttf on Windows.

  • 5. Re: Trying to extract Monaco.ttf for use on Linux/Windows
    Kurt Lang Level 7 Level 7 (31,995 points)

    A .dfont is a font format unto itself, there is no embedded .ttf file. You need to convert the font to the .ttf format, which is what VikingOSX is leading you to.