[Top][All Lists]

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

Re: [ft-devel] [GSoC] CID font support, and others

From: Werner LEMBERG
Subject: Re: [ft-devel] [GSoC] CID font support, and others
Date: Tue, 01 Aug 2017 15:46:02 +0200 (CEST)

> 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?


reply via email to

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