<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Fatal error in a UFO file?]]></title><description><![CDATA[<p dir="auto">I have a font file that stopped being able to be saved (I was changing the default layer a couple of times), so I just closed it without saving. Unfortunately I am not unable to open it. I receive an error box stating that the document can't be opened, that the file isn't in the correct format. The little note underneath states <code>No 'glyphs' directory for layer 'finals'.</code> Fortunately I have not lost too much work, but I was wondering if there was a brute way to get the file open, and just how touchy RoboFont is about changing default layers? Cheers</p>
]]></description><link>https://forum.robofont.com/topic/664/fatal-error-in-a-ufo-file</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 21:04:31 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/664.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 10 Jul 2019 12:04:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fatal error in a UFO file? on Wed, 10 Jul 2019 12:40:12 GMT]]></title><description><![CDATA[<p dir="auto">I have a font file that stopped being able to be saved (I was changing the default layer a couple of times), so I just closed it without saving. Unfortunately I am not unable to open it. I receive an error box stating that the document can't be opened, that the file isn't in the correct format. The little note underneath states <code>No 'glyphs' directory for layer 'finals'.</code> Fortunately I have not lost too much work, but I was wondering if there was a brute way to get the file open, and just how touchy RoboFont is about changing default layers? Cheers</p>
]]></description><link>https://forum.robofont.com/post/2495</link><guid isPermaLink="true">https://forum.robofont.com/post/2495</guid><dc:creator><![CDATA[Colo-in-NYC]]></dc:creator><pubDate>Wed, 10 Jul 2019 12:40:12 GMT</pubDate></item><item><title><![CDATA[Reply to Fatal error in a UFO file? on Wed, 10 Jul 2019 14:08:35 GMT]]></title><description><![CDATA[<p dir="auto">hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/384">@Colo-in-NYC</a>,</p>
<p dir="auto">it looks like the <code>layercontents.plist</code> and the layer folders inside your UFO are out-of-sync. you can fix it manually using a text editor, just follow the steps below.</p>
<p dir="auto">first, open the UFO package by right-clicking on the <code>.ufo</code> file in Finder and choosing <em>Show Package Contents</em>  from the contextual menu. you will see a folder structure similar to this:</p>
<pre><code class="language-console">myFont.ufo
├── layercontents.plist
├── ...
├── glyphs
│   ├── A_.glif
│   ├── a.glif
│   └── ...
├── glyphs.myLayer1
│   ├── A_.glif
│   ├── a.glif
│   └── ...
└── glyphs.myLayer2
    ├── A_.glif
    ├── a.glif
    └── ...
</code></pre>
<p dir="auto">now open <code>layercontents.plist</code> in a plain text editor. you will see something like this:</p>
<pre><code class="language-xml">&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
  &lt;array&gt;
    &lt;array&gt;
      &lt;string&gt;foreground&lt;/string&gt;
      &lt;string&gt;glyphs&lt;/string&gt;
    &lt;/array&gt;
    &lt;array&gt;
      &lt;string&gt;test1&lt;/string&gt;
      &lt;string&gt;glyphs.test1&lt;/string&gt;
    &lt;/array&gt;
    &lt;array&gt;
      &lt;string&gt;test3&lt;/string&gt;
      &lt;string&gt;glyphs.test3&lt;/string&gt;
    &lt;/array&gt;
  &lt;/array&gt;
&lt;/plist&gt;
</code></pre>
<p dir="auto">notice how the <code>layercontents.plist</code> includes a layer named <code>test3</code> pointing to the subfolder <code>glyphs.test3</code>, which does not exist inside the UFO package. your <code>layercontents.plist</code> probably contains a similar error.</p>
<p dir="auto">to repair the UFO, update <code>layercontents.plist</code> with the correct layer and subfolder names, and save the file. you should now be able to open the UFO in RoboFont.</p>
<p dir="auto">good luck, let us know if it works!</p>
]]></description><link>https://forum.robofont.com/post/2496</link><guid isPermaLink="true">https://forum.robofont.com/post/2496</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Wed, 10 Jul 2019 14:08:35 GMT</pubDate></item><item><title><![CDATA[Reply to Fatal error in a UFO file? on Wed, 10 Jul 2019 13:24:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/22">@gferreira</a> Thank you!</p>
]]></description><link>https://forum.robofont.com/post/2497</link><guid isPermaLink="true">https://forum.robofont.com/post/2497</guid><dc:creator><![CDATA[Colo-in-NYC]]></dc:creator><pubDate>Wed, 10 Jul 2019 13:24:11 GMT</pubDate></item></channel></rss>