Commit 2797daf9b51a065db0f58033aa502e47e6ee9f6e

henry 2001-08-29T01:07:26

Removed the redundant pos.x in Render()

diff --git a/src/FTPolyGlyph.cpp b/src/FTPolyGlyph.cpp
index 224d4d6..bc486ec 100644
--- a/src/FTPolyGlyph.cpp
+++ b/src/FTPolyGlyph.cpp
@@ -144,9 +144,9 @@ float FTPolyGlyph::Render( const FT_Vector& pen)
 {
 	if( glList)
 	{
-		glTranslatef( pen.x + pos.x, pen.y, 0);
+		glTranslatef( pen.x, pen.y, 0);
 			glCallList( glList);	
-		glTranslatef( -pen.x + pos.x, -pen.y, 0);
+		glTranslatef( -pen.x, -pen.y, 0);
 	}
 	
 	return advance;
diff --git a/src/FTVectorGlyph.cpp b/src/FTVectorGlyph.cpp
index 4b1eef6..2e9613a 100755
--- a/src/FTVectorGlyph.cpp
+++ b/src/FTVectorGlyph.cpp
@@ -70,9 +70,9 @@ float FTVectorGlyph::Render( const FT_Vector& pen)
 {
 	if( glList)
 	{
-		glTranslatef( pen.x + pos.x, pen.y, 0);
+		glTranslatef( pen.x, pen.y, 0);
 			glCallList( glList);
-		glTranslatef( -pen.x + pos.x, -pen.y, 0);
+		glTranslatef( -pen.x, -pen.y, 0);
 	}
 	
 	return advance;