<?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[[1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed]]></title><description><![CDATA[<p dir="auto">I have an UFO with empty glyph cells with high unicode values. RoboFont crashes when trying to open the UFO.</p>
<p dir="auto">E.g. u1F30E u1F311</p>
<p dir="auto">I believe the offending line is</p>
<pre><code class="language-python">t = unichr(self.glyph.unicode)
</code></pre>
<p dir="auto">in <code>glyphCellFactory.py</code></p>
<p dir="auto">This is pretty bad because it worked in RF 1.5.1, but 1.5.1 doesn’t work in Yosemite ...</p>
]]></description><link>https://forum.robofont.com/topic/346/1-6-crash-when-template-glyphs-with-unicode-0xffff-should-be-displayed</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 21:40:23 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/346.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 06 Nov 2014 16:31:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Mon, 01 Jan 2018 14:36:00 GMT]]></title><description><![CDATA[<p dir="auto">I have an UFO with empty glyph cells with high unicode values. RoboFont crashes when trying to open the UFO.</p>
<p dir="auto">E.g. u1F30E u1F311</p>
<p dir="auto">I believe the offending line is</p>
<pre><code class="language-python">t = unichr(self.glyph.unicode)
</code></pre>
<p dir="auto">in <code>glyphCellFactory.py</code></p>
<p dir="auto">This is pretty bad because it worked in RF 1.5.1, but 1.5.1 doesn’t work in Yosemite ...</p>
]]></description><link>https://forum.robofont.com/post/346</link><guid isPermaLink="true">https://forum.robofont.com/post/346</guid><dc:creator><![CDATA[jens]]></dc:creator><pubDate>Mon, 01 Jan 2018 14:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Mon, 01 Jan 2018 14:37:52 GMT]]></title><description><![CDATA[<p dir="auto">The console log is:</p>
<pre><code class="language-console">06.11.14 18:20:28,075 RoboFont[4880]: *** Terminating app due to uncaught exception 'OC_PythonException', reason: '&lt;type 'exceptions.ValueError'&gt;: unichr() arg not in range(0x10000) (narrow Python build)'
</code></pre>
]]></description><link>https://forum.robofont.com/post/1285</link><guid isPermaLink="true">https://forum.robofont.com/post/1285</guid><dc:creator><![CDATA[jens]]></dc:creator><pubDate>Mon, 01 Jan 2018 14:37:52 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Thu, 06 Nov 2014 19:08:42 GMT]]></title><description><![CDATA[<p dir="auto">He Jens</p>
<p dir="auto">can you send me the ufo? I cannot reproduce it…<br />
you can also try to launch RoboFont 1.6 with shift down, it will launch without installing any extension.</p>
<p dir="auto">good luck!</p>
]]></description><link>https://forum.robofont.com/post/1286</link><guid isPermaLink="true">https://forum.robofont.com/post/1286</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 06 Nov 2014 19:08:42 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Fri, 07 Nov 2014 08:06:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi Frederik, here’s a demo UFO ...</p>
<p dir="auto">Meanwhile, I was able to work around the issue by editing my problematic UFO by hand.</p>
]]></description><link>https://forum.robofont.com/post/1287</link><guid isPermaLink="true">https://forum.robofont.com/post/1287</guid><dc:creator><![CDATA[jens]]></dc:creator><pubDate>Fri, 07 Nov 2014 08:06:11 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Mon, 22 Feb 2016 10:57:26 GMT]]></title><description><![CDATA[<p dir="auto">This same crash happens to me now. The moment I fixed some Shavian character Unicodes, I started getting crashes whenever it needed to lead the template glyph. 1.6, OS X El Capitan.</p>
]]></description><link>https://forum.robofont.com/post/1404</link><guid isPermaLink="true">https://forum.robofont.com/post/1404</guid><dc:creator><![CDATA[rbmntjs]]></dc:creator><pubDate>Mon, 22 Feb 2016 10:57:26 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Mon, 22 Feb 2016 22:50:22 GMT]]></title><description><![CDATA[<p dir="auto">Hey, nice thing someone posted it yesterday cause I actually have the same issue right now !</p>
<p dir="auto">I took an OTF, opened it in Robofont, deleted the characters I didn't need to only keep the ones I wanted. Then I saved that OTF as an UFO. After that I've opened that UFO and deleted the content of the previous OTF to only keep the empty cells I needed. Then, I've setted that UFO as my default character set so everytime I make a new file it'll open that empty custom UFO.</p>
<p dir="auto">But everytime I make a new file in robofont, it crashes after like maximum 5 seconds. I still can open my basic UFO without any issues but as default character set it crashes robofont.</p>
<p dir="auto">How can I fix this ?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">Olivier</p>
<p dir="auto">Edit : 1.6, El Capitan too.</p>
]]></description><link>https://forum.robofont.com/post/1405</link><guid isPermaLink="true">https://forum.robofont.com/post/1405</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Mon, 22 Feb 2016 22:50:22 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Fri, 05 Jan 2018 21:59:47 GMT]]></title><description><![CDATA[<p dir="auto">The crash is only caused for template glyphs that are not in the font.</p>
<p dir="auto">You could try to open the UFO without GUI, and then actually add the glyph to the font, so no placeholder will be displayed anymore:</p>
<pre><code class="language-python">f = OpenFont("/path/to/the.ufo", showUI=False)

for glyphname in f.lib["public.glyphOrder"]:
    if glyphname.startswith("u") and int(glyphname[1:], 16) &gt; 0xffff:
        if not glyphname in f:
            f.newGlyph(glyphname)
f.save()
</code></pre>
]]></description><link>https://forum.robofont.com/post/1406</link><guid isPermaLink="true">https://forum.robofont.com/post/1406</guid><dc:creator><![CDATA[jens]]></dc:creator><pubDate>Fri, 05 Jan 2018 21:59:47 GMT</pubDate></item><item><title><![CDATA[Reply to [1.6] Crash when template glyphs with unicode &gt; 0xffff should be displayed on Thu, 25 Feb 2016 22:01:21 GMT]]></title><description><![CDATA[<p dir="auto">This is already solved in the upcoming release</p>
<p dir="auto">even support for emoji as a template preview :)</p>
]]></description><link>https://forum.robofont.com/post/1407</link><guid isPermaLink="true">https://forum.robofont.com/post/1407</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 25 Feb 2016 22:01:21 GMT</pubDate></item></channel></rss>