Revision: 69
Author: Nicolas.Rougier
Date: Mon Jun 4 23:43:01 2012
Log: Commented the high resolution advance which is wrong
http://code.google.com/p/freetype-py/source/detail?r=69
Modified:
/trunk/examples/texture_font.py
=======================================
--- /trunk/examples/texture_font.py Sun Sep 11 23:14:12 2011
+++ /trunk/examples/texture_font.py Mon Jun 4 23:43:01 2012
@@ -362,9 +362,9 @@
g.kerning[charcode] = kerning.x
# High resolution advance.x calculation
- gindex = face.get_char_index( charcode )
- a = face.get_advance(gindex, FT_LOAD_RENDER |
FT_LOAD_TARGET_LCD)/(64*72)
- glyph.advance = a, glyph.advance[1]
+ # gindex = face.get_char_index( charcode )
+ # a = face.get_advance(gindex, FT_LOAD_RENDER |
FT_LOAD_TARGET_LCD)/(64*72)
+ # glyph.advance = a, glyph.advance[1]
class TextureGlyph: