Revision: 21996
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21996
Author:   bdiego
Date:     2009-07-28 23:06:23 +0200 (Tue, 28 Jul 2009)

Log Message:
-----------
Forget add the bearing X, a little better now (hinting).

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/blenfont/intern/blf_glyph.c

Modified: branches/blender2.5/blender/source/blender/blenfont/intern/blf_glyph.c
===================================================================
--- branches/blender2.5/blender/source/blender/blenfont/intern/blf_glyph.c      
2009-07-28 20:02:09 UTC (rev 21995)
+++ branches/blender2.5/blender/source/blender/blenfont/intern/blf_glyph.c      
2009-07-28 21:06:23 UTC (rev 21996)
@@ -573,10 +573,10 @@
                        return(0);
        }
 
-       glBitmap(0, 0, 0.0, 0.0, x, y, (const GLubyte *)&null_bitmap);
+       glBitmap(0, 0, 0.0, 0.0, x + gt->pos_x, y, (const GLubyte 
*)&null_bitmap);
        glPixelStorei(GL_UNPACK_ROW_LENGTH, gt->pitch * 8);
        glBitmap(gt->width, gt->height, 0.0, gt->pos_y, 0.0, 0.0, (const 
GLubyte *)gt->image);
-       glBitmap(0, 0, 0.0, 0.0, -x, -y, (const GLubyte *)&null_bitmap);
+       glBitmap(0, 0, 0.0, 0.0, -x - gt->pos_x, -y, (const GLubyte 
*)&null_bitmap);
        return(1);
 }
 


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to