mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Draw: Fixed issue with CJK characters metrics
git-svn-id: svn://ultimatepp.org/upp/trunk@5635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
e90ce8af2d
commit
ba8eb81f07
5 changed files with 69 additions and 59 deletions
|
|
@ -180,6 +180,7 @@ GlyphInfo GetGlyphInfoSys(Font font, int chr)
|
|||
FT_Face face = FTFace(font, NULL);
|
||||
gi.lspc = gi.rspc = 0;
|
||||
gi.width = 0x8000;
|
||||
LLOG("GetGlyphInfoSys " << font << " " << (char)chr << " " << FormatIntHex(chr));
|
||||
if(face) {
|
||||
LTIMING("GetGlyphInfoSys 2");
|
||||
int glyph_index = FT_Get_Char_Index(face, chr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue