diff options
author | Diego Borghetti <bdiego@gmail.com> | 2009-07-11 02:16:25 +0400 |
---|---|---|
committer | Diego Borghetti <bdiego@gmail.com> | 2009-07-11 02:16:25 +0400 |
commit | b80b581bc03b6df28bd3a10118d85b78d5ca011b (patch) | |
tree | 2294f8ee5407651014c9ce873853276277857595 /source/blender/blenfont/BLF_api.h | |
parent | 395025d67ec9374039703d591d6d44b664f79dcd (diff) |
Allow the user set which style to use for the kerning value.
This are freetype2 options:
Unfitted - Scaled but un-grid-fitted kerning distances
Default - Scaled and grid-fitted kerning distances
We always use Unfitted, but the "Default" style give better result here,
so please test and if nobody complain we can set this style as the default.
Diffstat (limited to 'source/blender/blenfont/BLF_api.h')
-rw-r--r-- | source/blender/blenfont/BLF_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenfont/BLF_api.h b/source/blender/blenfont/BLF_api.h index 53f108f87eb..99934a80143 100644 --- a/source/blender/blenfont/BLF_api.h +++ b/source/blender/blenfont/BLF_api.h @@ -137,6 +137,7 @@ void BLF_dir_free(char **dirs, int count); #define BLF_ROTATION (1<<0) #define BLF_CLIPPING (1<<1) #define BLF_SHADOW (1<<2) +#define BLF_KERNING_DEFAULT (1<<3) /* font->mode. */ #define BLF_MODE_TEXTURE 0 |