diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-08-16 07:13:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-08-16 07:35:38 +0300 |
commit | 4300050e20a7fa5c06a990c1f7df3792b7fed656 (patch) | |
tree | 040188ab496021e16a7de92760f53aa5950e6114 /source/blender/blenfont/intern/blf_font.c | |
parent | 87adcbc94fc78d2c227aff992d045b287fcf2337 (diff) |
Cleanup: rename kerning table to ascii_table
It wasn't obvious this was only for ASCII characters.
Diffstat (limited to 'source/blender/blenfont/intern/blf_font.c')
-rw-r--r-- | source/blender/blenfont/intern/blf_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c index 512e2babf74..d9396bd0f90 100644 --- a/source/blender/blenfont/intern/blf_font.c +++ b/source/blender/blenfont/intern/blf_font.c @@ -372,7 +372,7 @@ BLI_INLINE void blf_kerning_step_fast(FontBLF *font, if (g_prev != NULL) { if ((c_prev < KERNING_CACHE_TABLE_SIZE) && (c < GLYPH_ASCII_TABLE_SIZE)) { - *pen_x_p += font->kerning_cache->table[c][c_prev]; + *pen_x_p += font->kerning_cache->ascii_table[c][c_prev]; } else { FT_Vector delta; |