<?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[Custom auto unicodes?]]></title><description><![CDATA[<p dir="auto">I'm wondering if is that possible to set my own custom unicode to name converter, that will work with RF's default auto naming? (And if yes, how to do it? ;) )  I hope this question is clear.</p>
]]></description><link>https://forum.robofont.com/topic/595/custom-auto-unicodes</link><generator>RSS for Node</generator><lastBuildDate>Sun, 09 Aug 2026 17:52:25 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/595.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 Mar 2019 11:36:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom auto unicodes? on Thu, 07 Mar 2019 22:43:52 GMT]]></title><description><![CDATA[<p dir="auto">I'm wondering if is that possible to set my own custom unicode to name converter, that will work with RF's default auto naming? (And if yes, how to do it? ;) )  I hope this question is clear.</p>
]]></description><link>https://forum.robofont.com/post/2119</link><guid isPermaLink="true">https://forum.robofont.com/post/2119</guid><dc:creator><![CDATA[RafaŁ Buchner]]></dc:creator><pubDate>Thu, 07 Mar 2019 22:43:52 GMT</pubDate></item><item><title><![CDATA[Reply to Custom auto unicodes? on Thu, 07 Mar 2019 14:29:51 GMT]]></title><description><![CDATA[<p dir="auto">hi. not sure what you mean… can you provide some context or give an example of where and how you would use this? thanks.</p>
]]></description><link>https://forum.robofont.com/post/2120</link><guid isPermaLink="true">https://forum.robofont.com/post/2120</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Thu, 07 Mar 2019 14:29:51 GMT</pubDate></item><item><title><![CDATA[Reply to Custom auto unicodes? on Thu, 07 Mar 2019 15:47:19 GMT]]></title><description><![CDATA[<p dir="auto">Example:<br />
when I'm using "add Glyphs", from "Font" top menu, and checking "Add Unicode" checkbox, is it possible to provide my own name-to-unicode scheme or dictionary to do this?</p>
<p dir="auto">So for example, by default, to have a glyph with unicode <code>00DF</code> I need to write down <code>germandbls</code> to "add Glyphs". But I'm looking for possibility of making my own naming-standard, where , for example if I'll write down <code>germandoubles</code> in <code>add Glyphs</code>, it will automatically assign <code>00DF</code> unicode.</p>
<p dir="auto">Advantage:<br />
If I could define the path (in preferences) to the file that contains pairs name-to-unicode, I could easily manage my naming system for non-latin scripts.</p>
<p dir="auto">(I hope it is clear, somehow it is hard for me to explain it in an easy way)</p>
<p dir="auto">Of course, I could write down my own extension for it, but before I do that, I would like to know if it is possible to set it in RF.</p>
]]></description><link>https://forum.robofont.com/post/2121</link><guid isPermaLink="true">https://forum.robofont.com/post/2121</guid><dc:creator><![CDATA[RafaŁ Buchner]]></dc:creator><pubDate>Thu, 07 Mar 2019 15:47:19 GMT</pubDate></item><item><title><![CDATA[Reply to Custom auto unicodes? on Thu, 07 Mar 2019 16:49:36 GMT]]></title><description><![CDATA[<p dir="auto">ok, thanks for explaining.</p>
<p dir="auto">the <em>Add Glyphs</em> sheet allows you to <a href="https://robofont.com/documentation/how-tos/adding-and-removing-glyphs/#glyph-construction-rules" rel="nofollow">set custom unicodes when adding a new glyph</a>. for example:</p>
<pre><code class="language-bash">germandoubles|00DF
</code></pre>
<p dir="auto">I find it more practical to set unicodes using a script, so each project can have its own custom mappings. something like this:</p>
<pre><code class="language-python">def autoUnicodes(glyph, customUnicodes={}):
    if glyph.name in customUnicodes:
        glyph.unicodes = [customUnicodes[glyph.name&rsqb;&rsqb;
    else:
        glyph.autoUnicodes()

customUni = {'germandoubles' : '00DF'}
        
g = CurrentGlyph()
autoUnicodes(g)
</code></pre>
<p dir="auto">there are probably other ways to do it…</p>
<p dir="auto">hope this helps!</p>
]]></description><link>https://forum.robofont.com/post/2123</link><guid isPermaLink="true">https://forum.robofont.com/post/2123</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Thu, 07 Mar 2019 16:49:36 GMT</pubDate></item><item><title><![CDATA[Reply to Custom auto unicodes? on Fri, 08 Mar 2019 12:49:10 GMT]]></title><description><![CDATA[<p dir="auto">here’s another option, which I think is the one you’re looking for:</p>
<p dir="auto">you can create your own custom GNFUL list…</p>
<pre><code class="language-bash"># GNFUL
germandoubles 00DF
</code></pre>
<p dir="auto">…and then add it in <em>Preferences &gt; Character Set</em>, so it will be used for all fonts:</p>
<p dir="auto"><img src="/assets/uploads/files/1551997878926-screen-shot-2019-03-07-at-19.25.22.png" alt="Screen Shot 2019-03-07 at 19.25.22.png" class="img-responsive img-markdown" /></p>
<p dir="auto">these custom unicodes are also picked up by <code>glyph.autoUnicodes()</code>, which is quite nice.</p>
<p dir="auto">(thanks <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/1">@frederik</a> for clarifying it via chat :)</p>
]]></description><link>https://forum.robofont.com/post/2128</link><guid isPermaLink="true">https://forum.robofont.com/post/2128</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Fri, 08 Mar 2019 12:49:10 GMT</pubDate></item><item><title><![CDATA[Reply to Custom auto unicodes? on Fri, 08 Mar 2019 09:36:37 GMT]]></title><description><![CDATA[<p dir="auto">A full GNFUL list is preferable... as it will have no fallback for other entries.</p>
<p dir="auto">Generate your GNFUL list with a glyphNameFormatter generator: see  <a href="https://github.com/LettError/glyphNameFormatter" rel="nofollow">https://github.com/LettError/glyphNameFormatter</a> (embedded in RoboFont)</p>
<p dir="auto">good luck!</p>
]]></description><link>https://forum.robofont.com/post/2129</link><guid isPermaLink="true">https://forum.robofont.com/post/2129</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Fri, 08 Mar 2019 09:36:37 GMT</pubDate></item><item><title><![CDATA[Reply to Custom auto unicodes? on Fri, 08 Mar 2019 12:11:02 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! That is the exactly what I was looking for</p>
]]></description><link>https://forum.robofont.com/post/2130</link><guid isPermaLink="true">https://forum.robofont.com/post/2130</guid><dc:creator><![CDATA[RafaŁ Buchner]]></dc:creator><pubDate>Fri, 08 Mar 2019 12:11:02 GMT</pubDate></item></channel></rss>