{"id":225,"date":"2009-03-05T10:48:55","date_gmt":"2009-03-04T23:48:55","guid":{"rendered":"http:\/\/www.daedalist.com\/conjunction\/?p=225"},"modified":"2009-03-05T10:48:55","modified_gmt":"2009-03-04T23:48:55","slug":"font-fun-with-fondu","status":"publish","type":"post","link":"https:\/\/www.daedalist.com\/conjunction\/2009\/03\/font-fun-with-fondu\/","title":{"rendered":"Font fun with Fondu"},"content":{"rendered":"<p>I had actually thought that with the advent of MacOS X, Apple had done away with font incompatibilities. It installs Windows and Linux fonts with no problem, so there&#8217;s no need to have your own font file format, right?<\/p>\n<p>My wife discovered the .dfont file this morning at work. As of this writing, the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Datafork_TrueType\">Wikipedia entry on the format<\/a> is just a stub.<\/p>\n<blockquote><p>Datafork TrueType is a font wrapper used on <span class=\"mw-redirect\">Apple Macintosh<\/span> computers running Mac OS X. It is a TrueType <span class=\"new\">suitcase<\/span> with the <span class=\"new\">resource map<\/span> in the <span class=\"mw-redirect\">data fork<\/span>, rather than the resource fork as had been the case in Mac OS 9. It uses the file extension .dfont.<\/p><\/blockquote>\n<p>In plain English, it&#8217;s got all your regular TTF information in a different part of the file. Kind of like a .ZIP file for fonts. Useful, except only Macs read it. Fortunately, we have <a href=\"http:\/\/fondu.sourceforge.net\/\">fondu<\/a>. It&#8217;s available for all Unix systems (including Mac OS X) and provides a suite of utilities to convert different formats of TrueType fonts.<!--more--><\/p>\n<p>If you need to convert a dfont, get on a Unix machine (like your Mac, or the Ubuntu machine I use at work) and follow these instructions:<\/p>\n<ol>\n<li><a href=\"http:\/\/fondu.sourceforge.net\/index.html#Downloads\">Download<\/a> and install fondu.<br \/>\nIf you&#8217;re using a Mac, the .pkg file is what you&#8217;re after.<br \/>\nIf you&#8217;re using Ubuntu, you can find it in Synaptic (it&#8217;s in the &#8220;universe&#8221; repository) or run &#8220;<span class=\"code\">sudo apt-get install fondu&#8221;<\/span><\/li>\n<li>In a terminal window, navigate to the location of the .dfont file<\/li>\n<li>Enter this command <span class=\"code\">&#8220;fondu file.dfont<\/span>&#8220;<\/li>\n<li>Enjoy the TTF files for your convenience<\/li>\n<\/ol>\n<p>The Fondu homepage covers the other programs in the suite.<\/p>\n<p>The only caveat is that Fondu is not available on Windows. There&#8217;s source files, so I&#8217;m sure if you&#8217;re a clever hacker you could do it yourself. But if some inconsiderate Mac user has pushed this file on you, send it back and tell them to convert it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had actually thought that with the advent of MacOS X, Apple had done away with font incompatibilities. It installs Windows and Linux fonts with no problem, so there&#8217;s no need to have your own font file format, right? My wife discovered the .dfont file this morning at work. As of this writing, the Wikipedia [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[15],"tags":[204,205,207,116,206,209,208],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p149Qe-3D","_links":{"self":[{"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/posts\/225"}],"collection":[{"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/comments?post=225"}],"version-history":[{"count":3,"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/posts\/225\/revisions"}],"predecessor-version":[{"id":228,"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/posts\/225\/revisions\/228"}],"wp:attachment":[{"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/media?parent=225"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/categories?post=225"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.daedalist.com\/conjunction\/wp-json\/wp\/v2\/tags?post=225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}