Some glyph data isn’t showing up in RoboFont



  • I have a couple of glyphs which I recently added to a project, but now don’t see data for in RoboFont – even though I do see data for these in a code editor and when the UFO is opened in GlyphsApp.

    The glyph looks empty in RoboFont:
    049a643f-932a-478f-88a7-55c0f4d56bd2-image.png

    But the glyph shows data in a code editor:
    94d81056-704e-419f-8b9d-e330d5393e01-image.png

    And the outline appears in GlyphsApp:
    bc3e851b-0ce0-4b76-97a3-0a773fdfa8c9-image.png

    Even RoboFont Skateboard shows that these glyphs have data and are interpolatable:
    7c8df842-62f6-48db-be54-eeea49eb72ff-image.png

    The glyph also fails to build into a font.

    What might be going wrong?

    Extra context:

    • I’m in RoboFont Version 4.2 (build 2204191146)
    • I am using ufoNormalizer

    Debugging steps so far

    • My first thought was that a Git merge may have left some Git syntax somewhere (e.g. <<<<<<), which could be disrupting the UFO. This has happened before, but I can’t find anything like that, this time.
    • I’ve tried opening it in the latest RF beta, RoboFont 4.3b beta 2205062222. Still looking empty.


  • I tried both .glif in RF and they work fine.
    Was it maybe a sync issue with git?
    Did you have to solve any diff conflict?



  • Hmm, well, I can copy-paste the .glif code into the glyph in RoboFont. It now appears, and git shows me that there isn’t much of a before/after change aside from one excluded guideline and some floating points that have been rounded.

    Here’s a git diff:

    --- a/sources/shantell--extrabold.ufo/glyphs/trianglerightblack.glif
    +++ b/sources/shantell--extrabold.ufo/glyphs/trianglerightblack.glif
    @@ -12,7 +12,7 @@
                            <point x="90" y="-7"/>
                            <point x="155" y="-7" type="curve" smooth="yes"/>
                            <point x="189" y="-7"/>
    -                       <point x="215.7451490508" y="1.2923675778"/>
    +                       <point x="216" y="1"/>
                            <point x="264" y="32" type="curve" smooth="yes"/>
                            <point x="409" y="126"/>
                            <point x="628" y="188"/>
    @@ -33,10 +33,10 @@
                            <point x="187" y="664"/>
                            <point x="187" y="618" type="curve" smooth="yes"/>
                            <point x="187" y="572"/>
    -                       <point x="206.9592983895" y="542.5839315538"/>
    +                       <point x="207" y="543"/>
                            <point x="241" y="526" type="curve" smooth="yes"/>
                            <point x="366" y="468"/>
    -                       <point x="481.9279829436" y="392.6605925461"/>
    +                       <point x="482" y="393"/>
                            <point x="560" y="296" type="curve"/>
                            <point x="536" y="390" type="line"/>
                            <point x="469" y="297"/>
    @@ -46,7 +46,7 @@
                            <point x="225" y="213"/>
                            <point x="229" y="279"/>
                            <point x="229" y="343" type="curve" smooth="yes"/>
    -                       <point x="229" y="454.4080882353"/>
    +                       <point x="229" y="454"/>
                            <point x="218" y="539"/>
                            <point x="218" y="616" type="curve" smooth="yes"/>
                            <point x="218" y="680"/>
    @@ -59,7 +59,6 @@
                            <point x="51" y="478"/>
                    </contour>
            </outline>
    -       <guideline name="capCenter" x="0" y="350" angle="0" identifier="lT1XZXDpQn"/>
            <lib>
                    <dict>
                            <key>public.markColor</key>
    

    Here’s a "before":

    <?xml version="1.0" encoding="UTF-8"?>
    <glyph name="trianglerightblack" format="2">
    	<unicode hex="25B6"/>
    	<advance width="750"/>
    	<outline>
    		<contour>
    			<point x="51" y="347" type="curve" smooth="yes"/>
    			<point x="51" y="265"/>
    			<point x="49" y="184"/>
    			<point x="49" y="97" type="curve" smooth="yes"/>
    			<point x="49" y="37"/>
    			<point x="90" y="-7"/>
    			<point x="155" y="-7" type="curve" smooth="yes"/>
    			<point x="189" y="-7"/>
    			<point x="215.7451490508" y="1.2923675778"/>
    			<point x="264" y="32" type="curve" smooth="yes"/>
    			<point x="409" y="126"/>
    			<point x="628" y="188"/>
    			<point x="704" y="292" type="curve" smooth="yes"/>
    			<point x="718" y="310"/>
    			<point x="724" y="324"/>
    			<point x="724" y="345" type="curve" smooth="yes"/>
    			<point x="724" y="369"/>
    			<point x="716" y="383"/>
    			<point x="700" y="403" type="curve" smooth="yes"/>
    			<point x="599" y="525"/>
    			<point x="459" y="620"/>
    			<point x="328" y="681" type="curve" smooth="yes"/>
    			<point x="300" y="695"/>
    			<point x="285" y="697"/>
    			<point x="271" y="697" type="curve" smooth="yes"/>
    			<point x="221" y="697"/>
    			<point x="187" y="664"/>
    			<point x="187" y="618" type="curve" smooth="yes"/>
    			<point x="187" y="572"/>
    			<point x="206.9592983895" y="542.5839315538"/>
    			<point x="241" y="526" type="curve" smooth="yes"/>
    			<point x="366" y="468"/>
    			<point x="481.9279829436" y="392.6605925461"/>
    			<point x="560" y="296" type="curve"/>
    			<point x="536" y="390" type="line"/>
    			<point x="469" y="297"/>
    			<point x="328" y="277"/>
    			<point x="165" y="176" type="curve"/>
    			<point x="224" y="153" type="line"/>
    			<point x="225" y="213"/>
    			<point x="229" y="279"/>
    			<point x="229" y="343" type="curve" smooth="yes"/>
    			<point x="229" y="454.4080882353"/>
    			<point x="218" y="539"/>
    			<point x="218" y="616" type="curve" smooth="yes"/>
    			<point x="218" y="680"/>
    			<point x="184" y="712"/>
    			<point x="122" y="712" type="curve" smooth="yes"/>
    			<point x="75" y="712"/>
    			<point x="42" y="683"/>
    			<point x="42" y="630" type="curve" smooth="yes"/>
    			<point x="42" y="531"/>
    			<point x="51" y="478"/>
    		</contour>
    	</outline>
    	<guideline name="capCenter" x="0" y="350" angle="0" identifier="lT1XZXDpQn"/>
    	<lib>
    		<dict>
    			<key>public.markColor</key>
    			<string>0,0.95,0.95,0.25</string>
    		</dict>
    	</lib>
    </glyph>
    
    

    Here’s an "after":

    <?xml version="1.0" encoding="UTF-8"?>
    <glyph name="trianglerightblack" format="2">
    	<unicode hex="25B6"/>
    	<advance width="750"/>
    	<outline>
    		<contour>
    			<point x="51" y="347" type="curve" smooth="yes"/>
    			<point x="51" y="265"/>
    			<point x="49" y="184"/>
    			<point x="49" y="97" type="curve" smooth="yes"/>
    			<point x="49" y="37"/>
    			<point x="90" y="-7"/>
    			<point x="155" y="-7" type="curve" smooth="yes"/>
    			<point x="189" y="-7"/>
    			<point x="216" y="1"/>
    			<point x="264" y="32" type="curve" smooth="yes"/>
    			<point x="409" y="126"/>
    			<point x="628" y="188"/>
    			<point x="704" y="292" type="curve" smooth="yes"/>
    			<point x="718" y="310"/>
    			<point x="724" y="324"/>
    			<point x="724" y="345" type="curve" smooth="yes"/>
    			<point x="724" y="369"/>
    			<point x="716" y="383"/>
    			<point x="700" y="403" type="curve" smooth="yes"/>
    			<point x="599" y="525"/>
    			<point x="459" y="620"/>
    			<point x="328" y="681" type="curve" smooth="yes"/>
    			<point x="300" y="695"/>
    			<point x="285" y="697"/>
    			<point x="271" y="697" type="curve" smooth="yes"/>
    			<point x="221" y="697"/>
    			<point x="187" y="664"/>
    			<point x="187" y="618" type="curve" smooth="yes"/>
    			<point x="187" y="572"/>
    			<point x="207" y="543"/>
    			<point x="241" y="526" type="curve" smooth="yes"/>
    			<point x="366" y="468"/>
    			<point x="482" y="393"/>
    			<point x="560" y="296" type="curve"/>
    			<point x="536" y="390" type="line"/>
    			<point x="469" y="297"/>
    			<point x="328" y="277"/>
    			<point x="165" y="176" type="curve"/>
    			<point x="224" y="153" type="line"/>
    			<point x="225" y="213"/>
    			<point x="229" y="279"/>
    			<point x="229" y="343" type="curve" smooth="yes"/>
    			<point x="229" y="454"/>
    			<point x="218" y="539"/>
    			<point x="218" y="616" type="curve" smooth="yes"/>
    			<point x="218" y="680"/>
    			<point x="184" y="712"/>
    			<point x="122" y="712" type="curve" smooth="yes"/>
    			<point x="75" y="712"/>
    			<point x="42" y="683"/>
    			<point x="42" y="630" type="curve" smooth="yes"/>
    			<point x="42" y="531"/>
    			<point x="51" y="478"/>
    		</contour>
    	</outline>
    	<lib>
    		<dict>
    			<key>public.markColor</key>
    			<string>0,0.95,0.95,0.25</string>
    		</dict>
    	</lib>
    </glyph>
    

Log in to reply