diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-11 08:10:57 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-11 08:10:57 +0300 |
commit | e0dd3fe5872ba37ff188e292b80b46fcf8df413c (patch) | |
tree | e19ba24ad589b30160a663e26a6ac00068c5a4f2 /source/blender/blenlib | |
parent | 9d67c720d5328f1918cc01d86a326c0aca3e0d06 (diff) |
* Restored font selection functionality with open font and unlink font operators,
so you can change the font of 3D text objects.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/freetypefont.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/freetypefont.c b/source/blender/blenlib/intern/freetypefont.c index f2727f6f259..35b9c86892a 100644 --- a/source/blender/blenlib/intern/freetypefont.c +++ b/source/blender/blenlib/intern/freetypefont.c @@ -359,7 +359,7 @@ static VFontData *objfnt_to_ftvfontdata(PackedFile * pf) // get the name fontname = FT_Get_Postscript_Name(face); - strcpy(vfd->name, (fontname == NULL) ? "Fontname not available" : fontname); + strcpy(vfd->name, (fontname == NULL) ? "" : fontname); // Extract the first 256 character from TTF lcode= charcode= FT_Get_First_Char(face, &glyph_index); |