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_glyph.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_glyph.c')
-rw-r--r-- | source/blender/blenfont/intern/blf_glyph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c index 35938a7d5c3..a2571860c94 100644 --- a/source/blender/blenfont/intern/blf_glyph.c +++ b/source/blender/blenfont/intern/blf_glyph.c @@ -95,10 +95,10 @@ KerningCacheBLF *blf_kerning_cache_new(FontBLF *font, GlyphCacheBLF *gc) .y = 0, }; if (g && g_prev && FT_Get_Kerning(font->face, g_prev->idx, g->idx, kc->mode, &delta) == 0) { - kc->table[i][j] = (int)delta.x >> 6; + kc->ascii_table[i][j] = (int)delta.x >> 6; } else { - kc->table[i][j] = 0; + kc->ascii_table[i][j] = 0; } } } |