<?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[Component Preview Outline]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there a way (UI or script wise) to remove the white outline from the way components are rendered in the preview pane of Inspector?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.robofont.com/topic/324/component-preview-outline</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 23:19:21 GMT</lastBuildDate><atom:link href="https://forum.robofont.com/topic/324.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Jun 2014 18:55:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Component Preview Outline on Wed, 03 Jan 2018 15:17:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Is there a way (UI or script wise) to remove the white outline from the way components are rendered in the preview pane of Inspector?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.robofont.com/post/324</link><guid isPermaLink="true">https://forum.robofont.com/post/324</guid><dc:creator><![CDATA[nina]]></dc:creator><pubDate>Wed, 03 Jan 2018 15:17:38 GMT</pubDate></item><item><title><![CDATA[Reply to Component Preview Outline on Wed, 03 Jan 2018 15:19:08 GMT]]></title><description><![CDATA[<p dir="auto">there have been some discussions on the beta list about this:</p>
<p dir="auto">the next implementation will be:<br />
components in dark gray and hard contours in black. it will be almost not visible when there are only components but when ever there is a mix of contours and components it clear.</p>
<p dir="auto">if you have other ideas you could send me your configuration (use inside DrawBot)</p>
<pre><code class="language-python">from defcon import Font
from fontTools.pens.cocoaPen import CocoaPen

# set a path
path = u"path/to/my/Font-Regular.ufo"

# get the font
font = Font(path)
# get a glyph both with a contour and a component
glyph = font["tcaron"]

# background fill (same color as the window)
fill(237/255)
# draw rect with the size of the canvas
rect(0, 0, width(), height())

translate(100, 100)
scale(.8)

# fill with black
fill(0)

# get a pen
pen = CocoaPen(font)
# draw the glyph in the pen
glyph.draw(pen)
# draw the pen.path 
drawPath(pen.path)

# new pen
componentPen = CocoaPen(font)

# draw only the components in that pen
for component in glyph.components:
    component.draw(componentPen)
    
# set a fill
# component fill color
# 50% black with a 30% alpha value
fill(.5, .5)
#stroke(1)
# draw the compontens path
drawPath(componentPen.path)
</code></pre>
]]></description><link>https://forum.robofont.com/post/1227</link><guid isPermaLink="true">https://forum.robofont.com/post/1227</guid><dc:creator><![CDATA[frederik]]></dc:creator><pubDate>Wed, 03 Jan 2018 15:19:08 GMT</pubDate></item><item><title><![CDATA[Reply to Component Preview Outline on Wed, 30 Jul 2014 08:39:04 GMT]]></title><description><![CDATA[<p dir="auto">Sorry I didn’t reply earlier. I really like the new configuration! Will gladly wait for the implementation. The white outlines are maybe a bit too disturbing for some use cases.</p>
]]></description><link>https://forum.robofont.com/post/1240</link><guid isPermaLink="true">https://forum.robofont.com/post/1240</guid><dc:creator><![CDATA[nina]]></dc:creator><pubDate>Wed, 30 Jul 2014 08:39:04 GMT</pubDate></item></channel></rss>