<?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[Check if open font has UI?]]></title><description><![CDATA[<p dir="auto">Is there a method to check if a font has an open window in Python? Or alternatively, what font a window represents?</p>
<p dir="auto">I am building an extension that allows for fonts to be opened without UI, but also acts on fonts that may have open windows. When closing the extension, it should close it's own opened UI-less fonts, but not those with other UI.</p>
]]></description><link>https://forum.robofont.com/topic/914/check-if-open-font-has-ui</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 09:48:33 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/914.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Nov 2020 21:52:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Check if open font has UI? on Wed, 25 Nov 2020 23:47:00 GMT]]></title><description><![CDATA[<p dir="auto">Is there a method to check if a font has an open window in Python? Or alternatively, what font a window represents?</p>
<p dir="auto">I am building an extension that allows for fonts to be opened without UI, but also acts on fonts that may have open windows. When closing the extension, it should close it's own opened UI-less fonts, but not those with other UI.</p>
]]></description><link>https://forum.robofont.com/post/3534</link><guid isPermaLink="true">https://forum.robofont.com/post/3534</guid><dc:creator><![CDATA[rdmcmurray]]></dc:creator><pubDate>Wed, 25 Nov 2020 23:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to Check if open font has UI? on Wed, 25 Nov 2020 22:39:05 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/545">@rdmcmurray</a>,</p>
<p dir="auto">yes, see <a href="http://robofont.com/documentation/building-tools/api/fontParts/rfont/#RFont.hasInterface" rel="nofollow">RFont.hasInterface()</a></p>
<pre><code class="language-python">f = OpenFont(ufoPath, showInterface=False)
if not f.hasInterface():
    f.openInterface()
</code></pre>
<p dir="auto">cheers!</p>
]]></description><link>https://forum.robofont.com/post/3535</link><guid isPermaLink="true">https://forum.robofont.com/post/3535</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Wed, 25 Nov 2020 22:39:05 GMT</pubDate></item><item><title><![CDATA[Reply to Check if open font has UI? on Wed, 25 Nov 2020 23:14:27 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/22">@gferreira</a>! I was calling showInterface as a property of the font itself which obviously didn't get me very far!</p>
]]></description><link>https://forum.robofont.com/post/3536</link><guid isPermaLink="true">https://forum.robofont.com/post/3536</guid><dc:creator><![CDATA[rdmcmurray]]></dc:creator><pubDate>Wed, 25 Nov 2020 23:14:27 GMT</pubDate></item></channel></rss>