diff font/font_peer_ft2.cc @ 65:4416cfac86ae

Convert EUC-JP files to UTF8
author Thibaut Girka <thib@sitedethib.com>
date Fri, 26 Nov 2010 10:53:15 +0100
parents 15a18fbe6f21
children
line wrap: on
line diff
--- a/font/font_peer_ft2.cc
+++ b/font/font_peer_ft2.cc
@@ -228,8 +228,8 @@ bool PeerFt2::GlyphCreate(unsigned int c
 	slot = face->glyph;
 	if (slot) {
 		// if (! FT_Load_Glyph(face, index, FT_LOAD_DEFAULT)) {
-		// BITMAP だと なぜか render してくれない……
-		// LOAD_DEFAULT でも、下に対応コードを付けたので一応は大丈夫
+		// BITMAP   render 
+		// LOAD_DEFAULT с筝絲上潟若篁т綽紊т紊
 		if (! FT_Load_Glyph(face, index, FT_LOAD_NO_BITMAP))
 			FT_Render_Glyph(slot, ft_render_mode_normal);
 	}
@@ -252,7 +252,7 @@ bool PeerFt2::GlyphCreate(unsigned int c
 		glyph->bitmap.buffer = new unsigned char[bmsize];
 		memcpy(glyph->bitmap.buffer, slot->bitmap.buffer, bmsize);
 	}
-// なぜか Render したのに MONO なことがある……
+//  Render  MONO 
 /* for freetype < 2.1.3, use ``ft_pixel_mode_mono'' */
 	if (slot->bitmap.pixel_mode == ft_pixel_mode_mono) {
 		int i, j;