[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] [Doubt] About reading a font file to check for its driver
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] [Doubt] About reading a font file to check for its driver. |
Date: |
Tue, 08 May 2018 07:05:44 +0200 (CEST) |
>> >> As the number of drivers is quite small it won't actually speed
>> >> up FreeType. But having an initial guess for checking drivers
>> >> can certainly remove some constant time complexity required to
>> >> check through different drivers..
>>
>> > Yep.
>
> Why hasn't this been included in FreeType uptil now?
Optimizing FreeType for speed hasn't shown this as a hot spot...
On the other hand, there wasn't much effort into this direction; I can
imagine that profiling experts find a lot of places where FreeType can
be made faster. However, there must be a balance between readable
code and optimizations, and please always remember that for efficient
use FreeType output (i.e., outlines, metrics, etc.) must be cached as
much as possible.
Werner
- [ft-devel] [Doubt] About reading a font file to check for its driver., Parth Wazurkar, 2018/05/07
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Werner LEMBERG, 2018/05/07
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Alexei Podtelezhnikov, 2018/05/07
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Parth Wazurkar, 2018/05/08
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Werner LEMBERG, 2018/05/08
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Parth Wazurkar, 2018/05/08
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Alan Coopersmith, 2018/05/08
- Re: [ft-devel] [Doubt] About reading a font file to check for its driver., Parth Wazurkar, 2018/05/08