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_internal_types.h | |
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_internal_types.h')
-rw-r--r-- | source/blender/blenfont/intern/blf_internal_types.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/blenfont/intern/blf_internal_types.h b/source/blender/blenfont/intern/blf_internal_types.h index 6bcacc62a30..ece9a5ffae4 100644 --- a/source/blender/blenfont/intern/blf_internal_types.h +++ b/source/blender/blenfont/intern/blf_internal_types.h @@ -55,9 +55,11 @@ typedef struct KerningCacheBLF { /* kerning mode. */ FT_UInt mode; - /* only cache a ascii glyph pairs. Only store the x - * offset we are interested in, instead of the full FT_Vector. */ - int table[KERNING_CACHE_TABLE_SIZE][KERNING_CACHE_TABLE_SIZE]; + /** + * Cache a ascii glyph pairs. Only store the x offset we are interested in, + * instead of the full #FT_Vector since it's not used for drawing at the moment. + */ + int ascii_table[KERNING_CACHE_TABLE_SIZE][KERNING_CACHE_TABLE_SIZE]; } KerningCacheBLF; typedef struct GlyphCacheBLF { |