You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor filling CTF_IS_FIRST_KERN and CTF_IS_SECONT_KERN in ConvertWidths().
At the moment we iterate over all char and for each char over all kernpairs. This results in hundreds of thousands of iterations to fill the chartable entries.
Better: Iterate over kernpairs and fill for every kernpair CTF_IS_FIRST_KERN and CTF_IS_SECONT_KERN flag. For this we only need as many iterations as there are kernpairs.
Write a function that loads the fontbox for the GEOS characters without loading the glyph. A similar function already exists in the ftxwidth.c extension.
The text was updated successfully, but these errors were encountered:
Ideas:
At the moment we iterate over all char and for each char over all kernpairs. This results in hundreds of thousands of iterations to fill the chartable entries.
Better: Iterate over kernpairs and fill for every kernpair CTF_IS_FIRST_KERN and CTF_IS_SECONT_KERN flag. For this we only need as many iterations as there are kernpairs.
The text was updated successfully, but these errors were encountered: