[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Devel] Re: Raghindi Font and Xft
From: |
Owen Taylor |
Subject: |
[Devel] Re: Raghindi Font and Xft |
Date: |
Fri, 10 May 2002 15:05:11 -0400 (EDT) |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/21.1 |
Eric Mader <address@hidden> writes:
> At 09:17 AM 5/8/2002, Owen Taylor wrote:
> >I spent a little more time looking at it, and the problem is simply
> >that Raghindi includes a 0 length 'kern' table, which is presumably
> >supposed to be ignored.
> >
> >When I modified fonttools to skip 0-length tables, then dumped and
> >recompiled the font, the result was read correctly by FreeType and
> >worked well with the indic-xft shaper
>
> >I've CC'ed Prof. R.K. Joshi on this email ... perhaps it would be
> >possible for him to produce a version of raghu.ttf without the
> >0-length table?
> >
> >If not, the alternative would be to get FreeType changed to treat
> >0-length tables the same as missing tables.
>
> I think we should get FreeType changed in any case because there are
> probably other fonts out there with 0-length tables.
Pro:
If Windows does allow such tables, there _are_ most likely
other fonts out there like this.
Con:
As far as I can see, the TrueType specification does not allow
such fonts, so if FreeType is changed in this fashion, we are
encouraging non-conformant fonts.
I've attached a patch for FreeType that implements skipping 0-length
tables.
Regards,
Owen
freetype.patch
Description: Patch for FreeType to skip 0-length tables
- [Devel] Re: Raghindi Font and Xft,
Owen Taylor <=