> I think I've isolated the problem with hinting.  Suffice to say the
> hinter works on the premise that all hints are known at the start.
> This is generally not true for Type 1 fonts.  Perhaps it is possible
> to change the logic to remove this condition.

Hmm.  Please elaborate and give an example.

> The only other solution that comes to mind is doing an extra pass
> just to build the initial hintmap, after which hint moves should
> presumably work right.

I like your first suggestion better.

> As for the profiling, I was unable to reproduce the difference in
> load times.
> 
> ftbench results for font `SourceHansSans-Regular.otf':
> FT_Load_Glyph    (units: us/op)
> flags  adobe   freetype
> 0x0    14.628  14.193
> 0x1    13.088  13.160
> 0x2    13.674  13.147
> 
> Note: This was done on master branch.

I guess it's not `FT_Load_Glyph' but rather `FT_Get_Advance' that
might cause slow-downs.  Behdad?

> I ran it with valgrind too but couldn't get useful information.

What did you exactly do?


    Werner

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

Reply via email to