freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Re: charmap index should be same with cmap subtable index?


From: Werner LEMBERG
Subject: [ft-devel] Re: charmap index should be same with cmap subtable index?
Date: Sat, 10 Jul 2010 03:50:03 +0200 (CEST)

> I had a question about the relation between the index for
> FT_Face->charmap[] and the index for cmap subtable in TTF/OTF.
> [...]
> 
> OpenType spec recommends to sort cmap subtables by
> platformID/encodingID/languageID.  [...]  However, the sorting is
> recommended but not required.
>
> [...]
> 
> Considering this behaviour, I want to try a re-sort of cmap
> subtables in FT2 during the parsing of cmap table (as an
> experiment).  It will completely disconnect the index in
> FT_Face->charmaps[] and the index for TTF/OTF cmap subtables.  Does
> the disconnection cause serious problem in FT2 clients?

No answer is an answer too :-) I don't think that reordering causes a
problem, at least if a program accesses fonts using the API only since
FreeType has never promised a certain order of charmaps.

Please proceed.


    Werner



reply via email to

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