[HarfBuzz] HB-NG and Qt

Khaled Hosny khaledhosny at eglug.org
Thu Nov 6 12:10:20 PST 2014


On Thu, Nov 06, 2014 at 09:32:26AM -0800, Behdad Esfahbod wrote:
> On 14-11-05 11:50 PM, Khaled Hosny wrote:
> > Tahoma (at least the version shipped in Windows 7) has a kern table,
> > but no kern feature in its GPOS table, so HarfBuzz will not apply the
> > kern table as Behdad described. Uniscribe does not apply the kern
> > table here either AFAICT, so I think the font is working as intended.
> 
> That was indeed my thinking before.  From what I remember, Uniscribe *never*
> applied the TrueType 'kern' table; it was left to applications to do that.
> 
> So I think what I like to see is: on versions of Windows that ship with such
> fonts, does notepad apply kerning?  If it does, we should do in HarfBuzz.
> Otherwise I'm leaning towards keeping HarfBuzz as is.

I tried notepad while testing this and it did not apply kerning for that
font (I got kerning in few other random fonts I tried, just in case).

> That said, "fixing" this is about three lines of code.  If Konstantin wants it
> badly, I don't mind doing it.
> 
> Jonathan, what do you think?

I recall people complaining loudly when Firefox started using HarfBuzz
for Latin in Windows because it applied kerning to some fonts that other
Windows applications did not kern (not sure what fonts/Windows versions
were involved, though).

Regards,
Khaled


More information about the HarfBuzz mailing list