<?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[RoboFont 4 doesn’t seem to be checking the &#x27;external_packages&#x27; directory]]></title><description><![CDATA[<p dir="auto">I like to use UFO Normalizer to format UFOs the same between RoboFont and external scripts.</p>
<p dir="auto">However, before <a href="https://github.com/unified-font-object/ufoNormalizer/releases/tag/0.6.1" rel="nofollow">Version 0.6.1</a>, UFO Normalizer had <a href="https://github.com/unified-font-object/ufoNormalizer/issues/65" rel="nofollow">a bug</a> in which images were deleted from normalization. This is a big problem in one of my font projects, where I have to frequently place images to trace.</p>
<p dir="auto">I’ve found that RF4 seems to <a href="https://robofont.com/technical-specification/#embedded-libraries" rel="nofollow">ship with UFO Normalizer 0.6.0</a>, so the image bug still exists for me when saving with normalization turned on.</p>
<p dir="auto">However, it seems that I should be able to <a href="https://robofont.com/documentation/how-tos/overriding-embedded-libraries/" rel="nofollow">override embedded libraries</a> by copying the UFO Normalizer unzipped <a href="https://github.com/unified-font-object/ufoNormalizer/archive/refs/tags/0.6.1.zip" rel="nofollow">release folder <code>ufoNormalizer-0.6.1</code></a> into <code>Library/Application Support/RoboFont/external_packages</code>.</p>
<p dir="auto">But, it now seems that either I am doing something wrong or this isn’t actually working in RF4.</p>
<p dir="auto">After I have added the release to <code>external_packages</code> and restarted RF, I run the following to test the version:</p>
<pre><code class="language-py">import ufonormalizer

print(ufonormalizer.__version__)
</code></pre>
<p dir="auto">...and I get the response of <code>0.5.4</code>.</p>
<p dir="auto"><img src="/assets/uploads/files/1634918032514-58bbffc4-b57f-4e8e-ad77-861ab6d746eb-image.png" alt="58bbffc4-b57f-4e8e-ad77-861ab6d746eb-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">(Probably not relevant: I’ve also checked that my global installation of ufonormalizer is up to date, and it is at <code>0.6.1</code>.)</p>
<p dir="auto">To make sure this wasn’t just an issue in UFO Normalizer, I also tested this with FontMake <code>2.4.2</code>. I get a similar problem from here:</p>
<pre><code class="language-py">import fontmake

print(fontmake.__version__)

&gt;&gt;&gt; 2.4.0
</code></pre>
<p dir="auto">Finally, I read the entire page on overriding embedded libraries, and I see the suggestion to check the <em>path</em> of a library. When I do this, I see that RF seems to not be scanning the <code>external_packages</code> directory, after all.</p>
<pre><code class="language-python">import fontmake
print(fontmake.__path__)
&gt;&gt;&gt; ['/Applications/RoboFont.app/Contents/Resources/lib/python3.7/fontmake']
</code></pre>
<p dir="auto">I have also tested getting the library folder with <code>git clone https://github.com/googlefonts/fontmake.git</code>, then copying that folder into <code>external_packages</code>, but that also fails.</p>
<p dir="auto">Is there anything else I should try here, or might this just be a bug?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.robofont.com/topic/990/robofont-4-doesn-t-seem-to-be-checking-the-external_packages-directory</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 03:09:42 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/990.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Oct 2021 16:07:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to RoboFont 4 doesn’t seem to be checking the &#x27;external_packages&#x27; directory on Fri, 22 Oct 2021 16:07:09 GMT]]></title><description><![CDATA[<p dir="auto">I like to use UFO Normalizer to format UFOs the same between RoboFont and external scripts.</p>
<p dir="auto">However, before <a href="https://github.com/unified-font-object/ufoNormalizer/releases/tag/0.6.1" rel="nofollow">Version 0.6.1</a>, UFO Normalizer had <a href="https://github.com/unified-font-object/ufoNormalizer/issues/65" rel="nofollow">a bug</a> in which images were deleted from normalization. This is a big problem in one of my font projects, where I have to frequently place images to trace.</p>
<p dir="auto">I’ve found that RF4 seems to <a href="https://robofont.com/technical-specification/#embedded-libraries" rel="nofollow">ship with UFO Normalizer 0.6.0</a>, so the image bug still exists for me when saving with normalization turned on.</p>
<p dir="auto">However, it seems that I should be able to <a href="https://robofont.com/documentation/how-tos/overriding-embedded-libraries/" rel="nofollow">override embedded libraries</a> by copying the UFO Normalizer unzipped <a href="https://github.com/unified-font-object/ufoNormalizer/archive/refs/tags/0.6.1.zip" rel="nofollow">release folder <code>ufoNormalizer-0.6.1</code></a> into <code>Library/Application Support/RoboFont/external_packages</code>.</p>
<p dir="auto">But, it now seems that either I am doing something wrong or this isn’t actually working in RF4.</p>
<p dir="auto">After I have added the release to <code>external_packages</code> and restarted RF, I run the following to test the version:</p>
<pre><code class="language-py">import ufonormalizer

print(ufonormalizer.__version__)
</code></pre>
<p dir="auto">...and I get the response of <code>0.5.4</code>.</p>
<p dir="auto"><img src="/assets/uploads/files/1634918032514-58bbffc4-b57f-4e8e-ad77-861ab6d746eb-image.png" alt="58bbffc4-b57f-4e8e-ad77-861ab6d746eb-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">(Probably not relevant: I’ve also checked that my global installation of ufonormalizer is up to date, and it is at <code>0.6.1</code>.)</p>
<p dir="auto">To make sure this wasn’t just an issue in UFO Normalizer, I also tested this with FontMake <code>2.4.2</code>. I get a similar problem from here:</p>
<pre><code class="language-py">import fontmake

print(fontmake.__version__)

&gt;&gt;&gt; 2.4.0
</code></pre>
<p dir="auto">Finally, I read the entire page on overriding embedded libraries, and I see the suggestion to check the <em>path</em> of a library. When I do this, I see that RF seems to not be scanning the <code>external_packages</code> directory, after all.</p>
<pre><code class="language-python">import fontmake
print(fontmake.__path__)
&gt;&gt;&gt; ['/Applications/RoboFont.app/Contents/Resources/lib/python3.7/fontmake']
</code></pre>
<p dir="auto">I have also tested getting the library folder with <code>git clone https://github.com/googlefonts/fontmake.git</code>, then copying that folder into <code>external_packages</code>, but that also fails.</p>
<p dir="auto">Is there anything else I should try here, or might this just be a bug?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.robofont.com/post/3843</link><guid isPermaLink="true">https://forum.robofont.com/post/3843</guid><dc:creator><![CDATA[ArrowType]]></dc:creator><pubDate>Fri, 22 Oct 2021 16:07:09 GMT</pubDate></item><item><title><![CDATA[Reply to RoboFont 4 doesn’t seem to be checking the &#x27;external_packages&#x27; directory on Sat, 23 Oct 2021 15:40:06 GMT]]></title><description><![CDATA[<p dir="auto">if you run:</p>
<pre><code class="language-python">import sys

print(sys.path)
</code></pre>
<p dir="auto">it should print out a list of paths to check and <code>/Users/&lt;yourUserName&gt;/Library/Application Support/RoboFont/external_packages</code> should be there.</p>
]]></description><link>https://forum.robofont.com/post/3845</link><guid isPermaLink="true">https://forum.robofont.com/post/3845</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Sat, 23 Oct 2021 15:40:06 GMT</pubDate></item><item><title><![CDATA[Reply to RoboFont 4 doesn’t seem to be checking the &#x27;external_packages&#x27; directory on Sat, 23 Oct 2021 15:42:53 GMT]]></title><description><![CDATA[<p dir="auto">FYI: the public beta released during the hackathon has ufonormalizer 0.6.1</p>
<p dir="auto"><a href="https://robofont.com/events/robohackathon2021/#robofont-hackathon-public-beta" rel="nofollow">https://robofont.com/events/robohackathon2021/#robofont-hackathon-public-beta</a></p>
]]></description><link>https://forum.robofont.com/post/3846</link><guid isPermaLink="true">https://forum.robofont.com/post/3846</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Sat, 23 Oct 2021 15:42:53 GMT</pubDate></item><item><title><![CDATA[Reply to RoboFont 4 doesn’t seem to be checking the &#x27;external_packages&#x27; directory on Thu, 28 Oct 2021 15:20:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/1">@frederik</a> said in <a href="/post/3845">RoboFont 4 doesn’t seem to be checking the 'external_packages' directory</a>:</p>
<blockquote>
<p dir="auto">import sys</p>
<p dir="auto">print(sys.path)</p>
</blockquote>
<p dir="auto">Thanks, Frederik!</p>
<p dir="auto">It is there, but it comes early in the list... could that be causing my problem? Is there a way to change that?</p>
<pre><code>/Users/stephennixon
/Users/stephennixon/Library/Application Support/RoboFont/external_packages
/Applications/RoboFont.app/Contents/Resources/lib/python37.zip
/Applications/RoboFont.app/Contents/Resources/lib/python3.7
/Applications/RoboFont.app/Contents/Resources/lib/python3.7/lib-dynload
/Applications/RoboFont.app/Contents/Resources/lib/python3.7/site-packages.zip
/Applications/RoboFont.app/Contents/Resources/lib/python3.7/site-packages
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/drawBot-3.120-py3.7.egg
/Users/stephennixon/Library/Application Support/RoboFont/plugins/DrawBot.roboFontExt/lib
/Users/stephennixon/Library/Application Support/RoboFont/plugins/master-tools.roboFontExt/lib

</code></pre>
<p dir="auto">The public beta is probably what I need, though. I’ll give it a try!</p>
]]></description><link>https://forum.robofont.com/post/3853</link><guid isPermaLink="true">https://forum.robofont.com/post/3853</guid><dc:creator><![CDATA[ArrowType]]></dc:creator><pubDate>Thu, 28 Oct 2021 15:20:26 GMT</pubDate></item><item><title><![CDATA[Reply to RoboFont 4 doesn’t seem to be checking the &#x27;external_packages&#x27; directory on Thu, 28 Oct 2021 19:23:54 GMT]]></title><description><![CDATA[<p dir="auto">the order is important: py stops looking for packages if there is one found</p>
<p dir="auto">strange you can not acces those packages: could you send a screenshot of that folder?</p>
<p dir="auto">everything should be at root level, not in a sub folder inside <code>external_packages</code></p>
]]></description><link>https://forum.robofont.com/post/3854</link><guid isPermaLink="true">https://forum.robofont.com/post/3854</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Thu, 28 Oct 2021 19:23:54 GMT</pubDate></item></channel></rss>