<?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[booleanOperations for dummies]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm trying to work with booleanOperations in my font, but I get no result, nor error. I want to change the shape of my glyph "B" by applying a boolean operation (difference) using the shape in my glyph "x"</p>
<p dir="auto">Could you give me a pointer what I'm doing wrong?</p>
<pre><code>from booleanOperations.booleanGlyph import BooleanGlyph
font = CurrentFont()
BooleanGlyph(font["B"]).difference(font["x"])
</code></pre>
<p dir="auto">Thank</p>
]]></description><link>https://forum.robofont.com/topic/841/booleanoperations-for-dummies</link><generator>RSS for Node</generator><lastBuildDate>Tue, 18 Aug 2026 12:26:21 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/841.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Apr 2020 09:41:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to booleanOperations for dummies on Mon, 20 Apr 2020 09:41:37 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
I'm trying to work with booleanOperations in my font, but I get no result, nor error. I want to change the shape of my glyph "B" by applying a boolean operation (difference) using the shape in my glyph "x"</p>
<p dir="auto">Could you give me a pointer what I'm doing wrong?</p>
<pre><code>from booleanOperations.booleanGlyph import BooleanGlyph
font = CurrentFont()
BooleanGlyph(font["B"]).difference(font["x"])
</code></pre>
<p dir="auto">Thank</p>
]]></description><link>https://forum.robofont.com/post/3213</link><guid isPermaLink="true">https://forum.robofont.com/post/3213</guid><dc:creator><![CDATA[martin]]></dc:creator><pubDate>Mon, 20 Apr 2020 09:41:37 GMT</pubDate></item><item><title><![CDATA[Reply to booleanOperations for dummies on Mon, 20 Apr 2020 09:50:37 GMT]]></title><description><![CDATA[<p dir="auto">hello <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/27">@martin</a>,</p>
<p dir="auto">please see the docs <a href="http://robofont.com/documentation/building-tools/toolkit/boolean-glyphmath/" rel="nofollow">here</a>.</p>
<p dir="auto">cheers!</p>
]]></description><link>https://forum.robofont.com/post/3214</link><guid isPermaLink="true">https://forum.robofont.com/post/3214</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Mon, 20 Apr 2020 09:50:37 GMT</pubDate></item><item><title><![CDATA[Reply to booleanOperations for dummies on Mon, 20 Apr 2020 09:50:46 GMT]]></title><description><![CDATA[<p dir="auto">I found the answer with a very clear example here:<br />
<a href="https://robofont.com/documentation/building-tools/toolkit/boolean-glyphmath/" rel="nofollow">https://robofont.com/documentation/building-tools/toolkit/boolean-glyphmath/</a></p>
<pre><code>font = CurrentFont()

g1 = font["B"]
g2 = font["x"]

# difference
result = g1 % g2

dest = font["B"]
dest.clear()
dest.appendGlyph(result)
</code></pre>
]]></description><link>https://forum.robofont.com/post/3215</link><guid isPermaLink="true">https://forum.robofont.com/post/3215</guid><dc:creator><![CDATA[martin]]></dc:creator><pubDate>Mon, 20 Apr 2020 09:50:46 GMT</pubDate></item><item><title><![CDATA[Reply to booleanOperations for dummies on Mon, 20 Apr 2020 09:51:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/22">@gferreira</a> so sorry, yes, I got it!</p>
]]></description><link>https://forum.robofont.com/post/3216</link><guid isPermaLink="true">https://forum.robofont.com/post/3216</guid><dc:creator><![CDATA[martin]]></dc:creator><pubDate>Mon, 20 Apr 2020 09:51:09 GMT</pubDate></item></channel></rss>