[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32805] trunk/blender/source/blender/ blenfont/intern/blf_glyph.c: Fix previous commit.

gsr b3d gsr.b3d at infernal-iceberg.com
Mon Nov 1 02:53:25 CET 2010


Revision: 32805
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32805
Author:   gsrb3d
Date:     2010-11-01 02:53:24 +0100 (Mon, 01 Nov 2010)

Log Message:
-----------
Fix previous commit.
And time to sleep, all that should had been 1 commit, not 3.

Modified Paths:
--------------
    trunk/blender/source/blender/blenfont/intern/blf_glyph.c

Modified: trunk/blender/source/blender/blenfont/intern/blf_glyph.c
===================================================================
--- trunk/blender/source/blender/blenfont/intern/blf_glyph.c	2010-11-01 01:48:43 UTC (rev 32804)
+++ trunk/blender/source/blender/blenfont/intern/blf_glyph.c	2010-11-01 01:53:24 UTC (rev 32805)
@@ -197,7 +197,7 @@
 	FT_BBox bbox;
 	unsigned int key;
 
-	sharp = 1; /* TODO make the value be configurable somehow */
+	sharp = 0; /* TODO make the value be configurable somehow */
 
 	g= blf_glyph_search(font->glyph_cache, c);
 	if (g)
@@ -221,7 +221,7 @@
 		FT_Bitmap_New(&tempbitmap);
 		err += FT_Bitmap_Convert(global_ft_lib, &slot->bitmap, &tempbitmap, 1); /* Does Blender use Pitch 1 always? It works so far */
 		err += FT_Bitmap_Copy(global_ft_lib, &tempbitmap, &slot->bitmap);
-		FT_Bitmap_Done(global_ft_lib, &tempbitmap);
+		err += FT_Bitmap_Done(global_ft_lib, &tempbitmap);
 	} else {
 		err = FT_Render_Glyph(slot, FT_RENDER_MODE_NORMAL);
 	}





More information about the Bf-blender-cvs mailing list