<?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[Multiple replacement rule in .designspace]]></title><description><![CDATA[<p dir="auto">Is is possible to replace a glyph twice in <code>rules</code>?<br />
If yes, how would that <code>&lt;conditionset&gt;</code> and <code>&lt;sub&gt;</code> look like?</p>
]]></description><link>https://forum.robofont.com/topic/936/multiple-replacement-rule-in-designspace</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 12:24:27 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/936.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 07 Apr 2021 07:26:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Multiple replacement rule in .designspace on Wed, 07 Apr 2021 07:26:23 GMT]]></title><description><![CDATA[<p dir="auto">Is is possible to replace a glyph twice in <code>rules</code>?<br />
If yes, how would that <code>&lt;conditionset&gt;</code> and <code>&lt;sub&gt;</code> look like?</p>
]]></description><link>https://forum.robofont.com/post/3632</link><guid isPermaLink="true">https://forum.robofont.com/post/3632</guid><dc:creator><![CDATA[ewalthert]]></dc:creator><pubDate>Wed, 07 Apr 2021 07:26:23 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple replacement rule in .designspace on Wed, 07 Apr 2021 09:12:21 GMT]]></title><description><![CDATA[<p dir="auto">to specify:<br />
not: <code>&lt;sub name="Glyph" with="Glyph.rvrn" /&gt;</code><br />
but: <code>&lt;sub name="Glyph" with="Glyph.intr" with="Glyph.rvrn" /&gt;</code><br />
For example use<br />
"Glyph" minimum="100" maximum="300"<br />
"Glyph.intr" minimum="300" maximum="700"<br />
"Glyph.rvrn" minimum="700" maximum="1000"</p>
<p dir="auto"><em>As far as I can see, there is no way to do this, but I’d like to have this confirmed.</em></p>
]]></description><link>https://forum.robofont.com/post/3633</link><guid isPermaLink="true">https://forum.robofont.com/post/3633</guid><dc:creator><![CDATA[ewalthert]]></dc:creator><pubDate>Wed, 07 Apr 2021 09:12:21 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple replacement rule in .designspace on Wed, 07 Apr 2021 12:58:42 GMT]]></title><description><![CDATA[<p dir="auto">check out the designspace spec: <a href="https://fonttools.readthedocs.io/en/latest/designspaceLib/readme.html#evaluating-rules" rel="nofollow">https://fonttools.readthedocs.io/en/latest/designspaceLib/readme.html#evaluating-rules</a></p>
]]></description><link>https://forum.robofont.com/post/3634</link><guid isPermaLink="true">https://forum.robofont.com/post/3634</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 07 Apr 2021 12:58:42 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple replacement rule in .designspace on Wed, 07 Apr 2021 13:09:54 GMT]]></title><description><![CDATA[<p dir="auto">Thanks <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/1">@frederik</a>, I did but could not find an answer to this particular setting. Luckly <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/523">@paulvanderlaan</a> handed me the logical solution via Slack:</p>
<pre><code>    &lt;rule name="variations01"&gt;
        &lt;conditionset&gt;
            &lt;condition minimum="300" maximum="700" name="weight" /&gt;
        &lt;/conditionset&gt;
        &lt;sub name="glyph" with="glyph.rvrn01" /&gt;
    &lt;/rule&gt;
    &lt;rule name="variations02"&gt;
        &lt;conditionset&gt;
            &lt;condition minimum="701" maximum="1000" name="weight" /&gt;
        &lt;/conditionset&gt;
        &lt;sub name="glyph" with="glyph.rvrn02" /&gt;
    &lt;/rule&gt;
</code></pre>
]]></description><link>https://forum.robofont.com/post/3635</link><guid isPermaLink="true">https://forum.robofont.com/post/3635</guid><dc:creator><![CDATA[ewalthert]]></dc:creator><pubDate>Wed, 07 Apr 2021 13:09:54 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple replacement rule in .designspace on Wed, 21 Apr 2021 09:30:05 GMT]]></title><description><![CDATA[<p dir="auto"><em>A comment about the code above.</em><br />
Since interpolations use fractions, I would recommend to change the conditions to <strong>300-700</strong> / <strong>700-1000</strong>, otherwise one will get a flickering default glyph.<br />
Is there a reason to not do this but rather do <strong>300-700</strong> / <strong>700.1-1000</strong>?<br />
It seems to work fine.</p>
]]></description><link>https://forum.robofont.com/post/3639</link><guid isPermaLink="true">https://forum.robofont.com/post/3639</guid><dc:creator><![CDATA[ewalthert]]></dc:creator><pubDate>Wed, 21 Apr 2021 09:30:05 GMT</pubDate></item><item><title><![CDATA[Reply to Multiple replacement rule in .designspace on Thu, 22 Apr 2021 20:18:15 GMT]]></title><description><![CDATA[<p dir="auto">every gap inbetween is infinite, how small it might be... and will result in a flickering default glyph.</p>
<p dir="auto">I guess it depends more on how you set up your instances: if you have an instance at 300-700 then I would rather change the rule to substitute at 300-701 701-1000 instead, so you know what you get at the instance.</p>
]]></description><link>https://forum.robofont.com/post/3643</link><guid isPermaLink="true">https://forum.robofont.com/post/3643</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 22 Apr 2021 20:18:15 GMT</pubDate></item></channel></rss>