On Tue, Sep 2, 2014 at 1:06 AM, Werner LEMBERG <[email protected]> wrote:
>
>> So after some additional discussions with Werner, I came up with the
>> following patch, which speeds up FT_New_Face for Arial and Times by
>> huge 18% and 27% respectively.

> Contrary to CVT values, which are computed before a glyph's bytecode
> program gets executed, the ppem value is dependent on the projection
> vector, which can be modified *by the bytecode itself*, namely by
> SPVTCA and friends.  In other words, you have to set `func_cur_ppem'
> in `Compute_Funcs' and not `TT_RunIns'.

Huh? It does not matter if x_ppem == y_ppem. Nothing can change that
and ppem does not depend on projVector in this case. This is what is
implemented. The other behavior is not changed. Please read the patch.

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to