From 9efe4b7f9aa4c0da1122ad1d8ef414f479fef023 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 23 Oct 2003 18:25:08 +0000 Subject: - 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! --- source/blender/ftfont/intern/FTF_Api.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source/blender/ftfont/intern/FTF_Api.cpp') 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 * -- cgit v1.2.3