<?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[Access Space Center input texts by script]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">When I access the input text in a Space Center with the <code>CurrentSpaceCenter.getRaw()</code> command, it returns a <code>objc.pyobjc_unicode</code> object. When I want to get the template glyphs before and after, I’d use <code>getPre()</code> and <code>getAfter()</code>. What confused me was that these return lists.</p>
<p dir="auto">I’m curious to learn why these are handled differently. Would it be possible (and make sense) to have all of them return the same type of object?</p>
<p dir="auto">Thanks in advance for the clarification. ;-)</p>
]]></description><link>https://forum.robofont.com/topic/558/access-space-center-input-texts-by-script</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 16:55:46 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/558.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Dec 2018 13:49:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Access Space Center input texts by script on Wed, 19 Dec 2018 13:49:38 GMT]]></title><description><![CDATA[<p dir="auto">Hey there,</p>
<p dir="auto">When I access the input text in a Space Center with the <code>CurrentSpaceCenter.getRaw()</code> command, it returns a <code>objc.pyobjc_unicode</code> object. When I want to get the template glyphs before and after, I’d use <code>getPre()</code> and <code>getAfter()</code>. What confused me was that these return lists.</p>
<p dir="auto">I’m curious to learn why these are handled differently. Would it be possible (and make sense) to have all of them return the same type of object?</p>
<p dir="auto">Thanks in advance for the clarification. ;-)</p>
]]></description><link>https://forum.robofont.com/post/1935</link><guid isPermaLink="true">https://forum.robofont.com/post/1935</guid><dc:creator><![CDATA[benedikt]]></dc:creator><pubDate>Wed, 19 Dec 2018 13:49:38 GMT</pubDate></item><item><title><![CDATA[Reply to Access Space Center input texts by script on Wed, 19 Dec 2018 14:40:24 GMT]]></title><description><![CDATA[<p dir="auto"><code>spacCenter.get()</code> returns a list of glyph names if available in the font. Use <code>spaceCenter.set(["a", "b", "agrave"])</code> to set items.</p>
<p dir="auto"><code>spaceCenter.getRaw()</code> returns the input string. Use <code>spaceCenter.setRaw("abà")</code> to set an input string. There is no raw for pre and after, I could add them if required.</p>
<p dir="auto">also use <code>help(aSpaceCenterObject)</code></p>
]]></description><link>https://forum.robofont.com/post/1936</link><guid isPermaLink="true">https://forum.robofont.com/post/1936</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 19 Dec 2018 14:40:24 GMT</pubDate></item><item><title><![CDATA[Reply to Access Space Center input texts by script on Wed, 19 Dec 2018 15:21:59 GMT]]></title><description><![CDATA[<p dir="auto">Ah, that makes sense. Thanks for clearing this up.</p>
<p dir="auto">In my specific case (switching from uppercase to lowercase) it would actually be quite helpful to have the possibility of using raw commands for pre and after too, avoiding names like “/THREE” and “/euro” when doing a simple <code>string.upper()</code> or <code>string.lower</code> function.</p>
]]></description><link>https://forum.robofont.com/post/1937</link><guid isPermaLink="true">https://forum.robofont.com/post/1937</guid><dc:creator><![CDATA[benedikt]]></dc:creator><pubDate>Wed, 19 Dec 2018 15:21:59 GMT</pubDate></item><item><title><![CDATA[Reply to Access Space Center input texts by script on Wed, 19 Dec 2018 16:57:29 GMT]]></title><description><![CDATA[<p dir="auto">I see... they will be added</p>
]]></description><link>https://forum.robofont.com/post/1938</link><guid isPermaLink="true">https://forum.robofont.com/post/1938</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 19 Dec 2018 16:57:29 GMT</pubDate></item></channel></rss>