[freetype-py] r69 committed - Commented the high resolution advance which is wrong

0 views
Skip to first unread message

freet...@googlecode.com

unread,
Jun 5, 2012, 2:43:14 AM6/5/12
to Nicolas...@inria.fr
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:
Reply all
Reply to author
Forward
0 new messages