<?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[Update TemplateGlyphs]]></title><description><![CDATA[<p dir="auto">Hi, I want to have more controle over the TemplateGlyphs. So I making my own tool. It change the <code>public.glyphOrder</code>. But it doesn't show my new TemplateGlyphs until the font is closed and reopened. <code>f.update()</code> doesn't do the trick.<br />
Who can help?</p>
<p dir="auto">Thank Thom</p>
]]></description><link>https://forum.robofont.com/topic/259/update-templateglyphs</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 11:23:58 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/259.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 May 2013 05:58:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Update TemplateGlyphs on Tue, 02 Jan 2018 21:26:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi, I want to have more controle over the TemplateGlyphs. So I making my own tool. It change the <code>public.glyphOrder</code>. But it doesn't show my new TemplateGlyphs until the font is closed and reopened. <code>f.update()</code> doesn't do the trick.<br />
Who can help?</p>
<p dir="auto">Thank Thom</p>
]]></description><link>https://forum.robofont.com/post/259</link><guid isPermaLink="true">https://forum.robofont.com/post/259</guid><dc:creator><![CDATA[thom]]></dc:creator><pubDate>Tue, 02 Jan 2018 21:26:35 GMT</pubDate></item><item><title><![CDATA[Reply to Update TemplateGlyphs on Tue, 02 Jan 2018 21:24:10 GMT]]></title><description><![CDATA[<p dir="auto">Extra question about the TemplateGlyphs:</p>
<p dir="auto">If I add for example <code>Kacute</code> to the font, it will not add automatic the unicode value to the glyph. Can I changed this?</p>
<p dir="auto">When does RoboFont show the preview font in the TemplateGlyphs? Name, unicode, combination?<br />
I tested around to get the Kacute as a TemplateGlyph [used my own font as previewFont, it contains a Kacute + unicode], no succes…</p>
<p dir="auto">Thanks again</p>
]]></description><link>https://forum.robofont.com/post/1044</link><guid isPermaLink="true">https://forum.robofont.com/post/1044</guid><dc:creator><![CDATA[thom]]></dc:creator><pubDate>Tue, 02 Jan 2018 21:24:10 GMT</pubDate></item><item><title><![CDATA[Reply to Update TemplateGlyphs on Tue, 02 Jan 2018 21:25:24 GMT]]></title><description><![CDATA[<p dir="auto">This must work:</p>
<pre><code class="language-python">f = CurrentFont()

glyphOrder = f.glyphOrder

glyphOrder.append("addedGlyph")

f.glyphOrder = glyphOrder 
</code></pre>
<p dir="auto">The glyph name to unicode are extracted from the fontTools <code>agl.py</code><br />
see <a href="http://sourceforge.net/p/fonttools/code/HEAD/tree/trunk/Lib/fontTools/agl.py" rel="nofollow">http://sourceforge.net/p/fonttools/code/HEAD/tree/trunk/Lib/fontTools/agl.py</a></p>
<p dir="auto">you can add custom unicode by adding a unicode value to the glyph name:<br />
see <a href="http://doc.robofont.com/documentation/workspace/font-collection/adding-and-deleting-glyphs/" rel="nofollow">http://doc.robofont.com/documentation/workspace/font-collection/adding-and-deleting-glyphs/</a></p>
<p dir="auto">so add a glyph <code>Kacute|1E30</code></p>
<p dir="auto">good luck</p>
]]></description><link>https://forum.robofont.com/post/1045</link><guid isPermaLink="true">https://forum.robofont.com/post/1045</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Tue, 02 Jan 2018 21:25:24 GMT</pubDate></item><item><title><![CDATA[Reply to Update TemplateGlyphs on Tue, 02 Jan 2018 21:26:10 GMT]]></title><description><![CDATA[<p dir="auto">No really, it remove also the existing templateGlyphs. But:</p>
<pre><code class="language-python">glyphOrder = []
for glyph in f.lib['public.glyphOrder']:
	glyphOrder.append(glyph)
for glyph in myListOfGlyphs:
	glyphOrder.append(glyph)
f.glyphOrder = glyphOrder
</code></pre>
<p dir="auto">Thanks Fredrik!</p>
]]></description><link>https://forum.robofont.com/post/1049</link><guid isPermaLink="true">https://forum.robofont.com/post/1049</guid><dc:creator><![CDATA[thom]]></dc:creator><pubDate>Tue, 02 Jan 2018 21:26:10 GMT</pubDate></item></channel></rss>