diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-23 22:25:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-23 22:25:08 +0400 |
commit | 9efe4b7f9aa4c0da1122ad1d8ef414f479fef023 (patch) | |
tree | f9713eeaa7dfc5936478084c183cfdd58dc330f4 /source/blender/ftfont/intern/FTF_Api.cpp | |
parent | 0c177df76644f3fad5881e9600da465cd1cce384 (diff) |
- AntiAlias fonts (FTF) now are used in three sizes, like the normal
fonts, and switched based at the window zoom.
Might be something to tweak when to switch exactly, but it works
cool!
Diffstat (limited to 'source/blender/ftfont/intern/FTF_Api.cpp')
-rw-r--r-- | source/blender/ftfont/intern/FTF_Api.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/ftfont/intern/FTF_Api.cpp b/source/blender/ftfont/intern/FTF_Api.cpp index 42fac0c4061..cf9171d6ba5 100644 --- a/source/blender/ftfont/intern/FTF_Api.cpp +++ b/source/blender/ftfont/intern/FTF_Api.cpp @@ -128,6 +128,13 @@ FTF_EXPORT int FTF_SetFont(char* str, int size) return ttfont.SetFont(str, size); } +/* added bt ton */ + +FTF_EXPORT void FTF_SetFontSize(char size) +{ + ttfont.SetFontSize( size); +} + /** * added by phase * |