Mercurial > otakunoraifu
diff font/font_face.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_face.cc +++ b/font/font_face.cc @@ -49,7 +49,7 @@ namespace XKFont { { cache = new Cache; - /* name: ';' 区切りで複数指定可能 */ + /* name: ';' 阪ц井絎 */ char* name = new char[strlen(name_orig)+1]; while(*name_orig != 0) { const char* next_name = strchr(name_orig, ';'); @@ -137,7 +137,7 @@ namespace XKFont { return face; } catch(...) { std::cerr << "Cannot create font face; font "<<pimpl->fontname<<", size "<<size<<std::endl; - /* 別の大きさを探す */ + /* ャ紊с「 */ int i; for (i=0; i<size; i++) { if (cache.find(size-i) != cache.end()) return cache[size-i]; @@ -153,7 +153,7 @@ namespace XKFont { return face; } catch(...) {}; } - /* 見つからない */ + /* 荀ゃ */ throw; } }