simoncozens / atokern

Neural network based font kerning
87 stars 7 forks source link

Build list of Y coords in advance #1

Open simoncozens opened 6 years ago

simoncozens commented 6 years ago

And cache it. Massive speed up.

davelab6 commented 6 years ago

Can this be closed?

simoncozens commented 6 years ago

Nope, still needs to happen. Affected function is glyph_to_sb in sidebearings.py. Notice how it builds a massive list and then throws most of it away, because it's easier than thinking about the fencepost problem.