Removed old comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
diff --git a/src/FTBitmapGlyph.cpp b/src/FTBitmapGlyph.cpp
index acfaa74..247ee21 100755
--- a/src/FTBitmapGlyph.cpp
+++ b/src/FTBitmapGlyph.cpp
@@ -42,7 +42,7 @@ FTBitmapGlyph::FTBitmapGlyph( FT_Glyph glyph)
pos.x = bitmap->left;
pos.y = static_cast<int>(srcHeight) - bitmap->top;
-
+
FT_Done_Glyph( glyph );
}
diff --git a/src/FTExtrdGlyph.cpp b/src/FTExtrdGlyph.cpp
index 2f76399..bbcc08c 100644
--- a/src/FTExtrdGlyph.cpp
+++ b/src/FTExtrdGlyph.cpp
@@ -96,7 +96,6 @@ FTExtrdGlyph::FTExtrdGlyph( FT_Glyph glyph, float d)
glEndList();
- // discard glyph image (bitmap or not)
FT_Done_Glyph( glyph); // Why does this have to be HERE
}
diff --git a/src/FTPixmapGlyph.cpp b/src/FTPixmapGlyph.cpp
index 6f447e1..3daf57c 100755
--- a/src/FTPixmapGlyph.cpp
+++ b/src/FTPixmapGlyph.cpp
@@ -6,7 +6,6 @@ FTPixmapGlyph::FTPixmapGlyph( FT_Glyph glyph)
destHeight(0),
data(0)
{
- // This function will always fail if the glyph's format isn't scalable????
err = FT_Glyph_To_Bitmap( &glyph, FT_RENDER_MODE_NORMAL, 0, 1);
if( err || ft_glyph_format_bitmap != glyph->format)
{
@@ -78,7 +77,6 @@ FTPixmapGlyph::FTPixmapGlyph( FT_Glyph glyph)
pos.x = bitmap->left;
pos.y = srcHeight - bitmap->top;
- // Is this the right place to do this?
FT_Done_Glyph( glyph );
}