Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/ftfont/intern/FTF_Api.cpp')
-rw-r--r--source/blender/ftfont/intern/FTF_Api.cpp7
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
*