[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] ttinterp.c optimization
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] ttinterp.c optimization |
Date: |
Tue, 2 Sep 2014 07:10:03 -0400 |
On Tue, Sep 2, 2014 at 1:06 AM, Werner LEMBERG <address@hidden> 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.