<?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[fontDidOpen missing from custom-observers docs]]></title><description><![CDATA[<p dir="auto">The <a href="http://www.robofont.com/documentation/building-tools/api/custom-observers/?highlight=fontdidclose" rel="nofollow">custom observers list</a> is missing an entry for <code>fontDidOpen</code>. Its sibling <code>fontDidClose</code> is documented.</p>
]]></description><link>https://forum.robofont.com/topic/460/fontdidopen-missing-from-custom-observers-docs</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 02:30:42 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/460.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 17 Mar 2018 11:38:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to fontDidOpen missing from custom-observers docs on Mon, 26 Mar 2018 15:11:39 GMT]]></title><description><![CDATA[<p dir="auto">The <a href="http://www.robofont.com/documentation/building-tools/api/custom-observers/?highlight=fontdidclose" rel="nofollow">custom observers list</a> is missing an entry for <code>fontDidOpen</code>. Its sibling <code>fontDidClose</code> is documented.</p>
]]></description><link>https://forum.robofont.com/post/1522</link><guid isPermaLink="true">https://forum.robofont.com/post/1522</guid><dc:creator><![CDATA[erik]]></dc:creator><pubDate>Mon, 26 Mar 2018 15:11:39 GMT</pubDate></item><item><title><![CDATA[Reply to fontDidOpen missing from custom-observers docs on Mon, 26 Mar 2018 20:58:18 GMT]]></title><description><![CDATA[<p dir="auto">hello Erik, thanks for reporting this. I’ve been looking into it. some events are indeed missing from the <a href="http://www.robofont.com/documentation/building-tools/api/custom-observers/" rel="nofollow">custom observers page</a>, but they do appear in the <a href="http://www.robofont.com/documentation/building-tools/api/custom-tools/" rel="nofollow">custom tools page</a>. it’s a bit complicated:</p>
<blockquote>
<p dir="auto">The <a href="http://www.robofont.com/documentation/building-tools/toolkit/" rel="nofollow">API docs</a> are different from the rest of the documentation, because the content has to be extracted from the source code of fontParts, mojo, and RoboFont itself. This is done with a <a href="http://gitlab.com/typemytype/robofont_com/blob/master/_pythonHelpers/mojoDocsJSONWriter.py" rel="nofollow">helper script</a> which finds the relevant data and saves it as <a href="http://gitlab.com/typemytype/robofont_com/tree/master/_data/API" rel="nofollow">JSON files</a>. These are then “magically” embedded into the <a href="http://gitlab.com/typemytype/robofont_com/blob/master/_documentation/building-tools/toolkit/mojo.md" rel="nofollow">actual documentation source</a> (Jekyll/markdown).</p>
<ul>
<li>data in the <a href="http://www.robofont.com/documentation/building-tools/api/custom-tools/" rel="nofollow">custom tools page</a> is extracted from the <code>BaseEventTool</code> object API</li>
<li>data in the <a href="http://www.robofont.com/documentation/building-tools/api/custom-observers/" rel="nofollow">custom observers page</a> is extracted from the RoboFont source code (using a regular expression)</li>
</ul>
</blockquote>
<p dir="auto">my best guess at the moment: the missing events are coming not from RoboFont, but from one of the underlying libraries. this would explain why the helper script is not able to find them in the source code, even though they are available in the app. (???)</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.robofont.com/uid/1">@frederik</a> any clue?</p>
<p dir="auto">…to be continued…</p>
]]></description><link>https://forum.robofont.com/post/1542</link><guid isPermaLink="true">https://forum.robofont.com/post/1542</guid><dc:creator><![CDATA[gferreira]]></dc:creator><pubDate>Mon, 26 Mar 2018 20:58:18 GMT</pubDate></item><item><title><![CDATA[Reply to fontDidOpen missing from custom-observers docs on Tue, 27 Mar 2018 12:16:50 GMT]]></title><description><![CDATA[<p dir="auto">that part of the docs is automatically generated by skimming the code... <code>fontWillOpen</code>, <code>newFontWillOpen</code>, <code>fontDidOpen</code> and <code>newFontDidOpen</code> are also automatically build... too much auto, will be fixed later on today</p>
<p dir="auto">thanks</p>
]]></description><link>https://forum.robofont.com/post/1543</link><guid isPermaLink="true">https://forum.robofont.com/post/1543</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Tue, 27 Mar 2018 12:16:50 GMT</pubDate></item><item><title><![CDATA[Reply to fontDidOpen missing from custom-observers docs on Tue, 27 Mar 2018 19:13:08 GMT]]></title><description><![CDATA[<p dir="auto">should be fixed <a href="http://gitlab.com/typemytype/robofont_com/commit/dcfd1852f965423d60a201da79b0067482e6ea26" rel="nofollow">here</a></p>
]]></description><link>https://forum.robofont.com/post/1545</link><guid isPermaLink="true">https://forum.robofont.com/post/1545</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Tue, 27 Mar 2018 19:13:08 GMT</pubDate></item><item><title><![CDATA[Reply to fontDidOpen missing from custom-observers docs on Tue, 27 Mar 2018 19:16:42 GMT]]></title><description><![CDATA[<p dir="auto"><a href="http://www.robofont.com/documentation/building-tools/api/custom-observers/#Custom%20observers.fontDidOpen" rel="nofollow">done</a></p>
]]></description><link>https://forum.robofont.com/post/1546</link><guid isPermaLink="true">https://forum.robofont.com/post/1546</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Tue, 27 Mar 2018 19:16:42 GMT</pubDate></item></channel></rss>