freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Large delta_y for hinted vs unhinted "COMBINING CARON BELOW" gl


From: Nigel Tao
Subject: Re: [ft] Large delta_y for hinted vs unhinted "COMBINING CARON BELOW" glyph
Date: Wed, 30 Oct 2013 22:07:49 +1100

Some more information: glyph indexes 730, 731, 732, 733, 734 and 735
correspond to uni0329, uni032A, uni032B, uni032C, uni032D and uni032E.

I've copy/pasted the ttx below. Looking at uni032C, uni032D (my
problematic glyph indexes 733 and 734), I see that these (composite)
glyphs have hinting instructions. The others in that list do not. It
could be a bug in the font, and that freetype is working as intended
in that the ALIGNRP instruction is causing the large delta_y. Or it
still could be a bug in freetype if, for some reason, some graphics /
hinting state is incorrect by the time the ALIGNRP is executed.

I'll defer to your expertise (and Microsoft's). Thanks for your time.

    <TTGlyph name="uni0329" xMin="-618" yMin="-492" xMax="-406" yMax="-96">
      <contour>
        <pt x="-406" y="-96" on="1"/>
        some more points
        <pt x="-542" y="-96" on="1"/>
      </contour>
      <instructions><assembly>
        </assembly></instructions>
    </TTGlyph>

    <TTGlyph name="uni032A" xMin="-816" yMin="-432" xMax="-201" yMax="-102">
      <contour>
        <pt x="-201" y="-102" on="1"/>
        some more points
        <pt x="-752" y="-102" on="1"/>
      </contour>
      <instructions><assembly>
        </assembly></instructions>
    </TTGlyph>

    <TTGlyph name="uni032B" xMin="-959" yMin="-455" xMax="-137" yMax="-168">
      <contour>
        <pt x="-587" y="-373" on="1"/>
        some more points
        <pt x="-544" y="-455" on="0"/>
      </contour>
      <instructions><assembly>
        </assembly></instructions>
    </TTGlyph>

    <TTGlyph name="uni032C" xMin="-790" yMin="-492" xMax="-151" yMax="-116">
      <component glyphName="caron" x="-1200" y="-1754" flags="0x1004"/>
      <instructions><assembly>
          PUSHB[ ]  /* 2 values pushed */
          0 10
          SVTCA[0]
          SRP0[ ]
          ALIGNRP[ ]
          IUP[0]
        </assembly></instructions>
    </TTGlyph>

    <TTGlyph name="uni032D" xMin="-878" yMin="-492" xMax="-239" yMax="-116">
      <component glyphName="circumflex" x="-1216" y="-1754" flags="0x1004"/>
      <instructions><assembly>
          PUSHB[ ]  /* 2 values pushed */
          2 10
          SVTCA[0]
          SRP0[ ]
          ALIGNRP[ ]
          IUP[0]
        </assembly></instructions>
    </TTGlyph>

    <TTGlyph name="uni032E" xMin="-886" yMin="-455" xMax="-258" yMax="-168">
      <component glyphName="breve" x="-1296" y="-1776" flags="0x1004"/>
    </TTGlyph>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]