diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-03-31 16:24:10 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-03-31 20:32:53 +0300 |
commit | f9691bae840a136ff0f55e8a99b42dd10f0fa8d8 (patch) | |
tree | 27dcc5a2e426c2560804ceb1e60a55ec061696fe /source/blender/editors/include/UI_interface_icons.h | |
parent | 0ef38879b3adc200f65b24ab11e1134c6eeec161 (diff) |
BLF: Perf: Add a kerning cache table for ascii chars.
This adds less than a megabyte of mem usage.
FT_Get_Kerning was the 2nd hotspot when profilling. This commit completly
remove this cost.
One concern though: I don't know if the kerning data is constant for every
sizes but it seems to be the case. I tested different fonts at different
dpi scalling and saw no differences.
Diffstat (limited to 'source/blender/editors/include/UI_interface_icons.h')
0 files changed, 0 insertions, 0 deletions