소스 검색

Updates for changes to pub.freetype. (#45)

Brucey 4 달 전
부모
커밋
7a043585c3
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      hbfreetypefont.mod/hbfreetypefont.bmx

+ 2 - 2
hbfreetypefont.mod/hbfreetypefont.bmx

@@ -104,7 +104,7 @@ Type THBFreeTypeFont Extends BRL.Font.TFont
 		glyph=New TFreeTypeGlyph
 		_glyphs[index]=glyph
 
-		If FT_Load_Glyph( _ft_face,index,FT_LOAD_RENDER ) Return glyph
+		If FT_Load_Glyph( _ft_face,UInt(index),FT_LOAD_RENDER ) Return glyph
 
 		Local info:SGlyphPosition
 		_positionMap.TryGetValue(index, info)
@@ -185,7 +185,7 @@ Type THBFreeTypeFont Extends BRL.Font.TFont
 
 			glyphs[i] = glyph
 
-			If FT_Load_Glyph( _ft_face,index,FT_LOAD_RENDER ) Continue
+			If FT_Load_Glyph( _ft_face,UInt(index),FT_LOAD_RENDER ) Continue
 
 			BuildGlyph(glyph, infos[i])