<?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[UFO won&#x27;t save if public.default is present and not default]]></title><description><![CDATA[<p dir="auto">If <code>public.default</code> is the name of a layer, but it is not set as the default layer, the UFO will not save, and pops up with "The document [file-name] could not be saved. The file isn’t in the correct format."</p>
<p dir="auto">Output window:</p>
<pre><code class="language-console">Traceback (most recent call last):
  File "lib/doodleDocument.pyc", line 186, in writeSafelyToURL_ofType_forSaveOperation_error_
  File "lib/fontObjects/doodleFont.pyc", line 224, in save
  File "/Applications/RoboFont_3-5b2.app/Contents/Resources/lib/python3.7/defcon/objects/font.py", line 823, in save
AssertionError
</code></pre>
<p dir="auto">Weird edge case, but took me a while to figure out when I ran into it. The UFO was a generated instance, and I had manually returned it to the <code>foreground</code> (default), <code>background</code> layer naming scheme, so it could work with some of my inelegant scripts.</p>
]]></description><link>https://forum.robofont.com/topic/895/ufo-won-t-save-if-public-default-is-present-and-not-default</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 16:51:31 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/895.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 15 Sep 2020 23:35:53 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UFO won&#x27;t save if public.default is present and not default on Wed, 16 Sep 2020 09:49:23 GMT]]></title><description><![CDATA[<p dir="auto">If <code>public.default</code> is the name of a layer, but it is not set as the default layer, the UFO will not save, and pops up with "The document [file-name] could not be saved. The file isn’t in the correct format."</p>
<p dir="auto">Output window:</p>
<pre><code class="language-console">Traceback (most recent call last):
  File "lib/doodleDocument.pyc", line 186, in writeSafelyToURL_ofType_forSaveOperation_error_
  File "lib/fontObjects/doodleFont.pyc", line 224, in save
  File "/Applications/RoboFont_3-5b2.app/Contents/Resources/lib/python3.7/defcon/objects/font.py", line 823, in save
AssertionError
</code></pre>
<p dir="auto">Weird edge case, but took me a while to figure out when I ran into it. The UFO was a generated instance, and I had manually returned it to the <code>foreground</code> (default), <code>background</code> layer naming scheme, so it could work with some of my inelegant scripts.</p>
]]></description><link>https://forum.robofont.com/post/3478</link><guid isPermaLink="true">https://forum.robofont.com/post/3478</guid><dc:creator><![CDATA[ryan]]></dc:creator><pubDate>Wed, 16 Sep 2020 09:49:23 GMT</pubDate></item></channel></rss>