瀏覽代碼

Initialize `fontOversampling_` and `fontSubpixelThreshold_` in `Text3DFreeType`.

Rokas Kupstys 8 年之前
父節點
當前提交
bfa117295c
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      Source/Atomic/Graphics/Text3D/Text3DFreeType.cpp

+ 3 - 1
Source/Atomic/Graphics/Text3D/Text3DFreeType.cpp

@@ -83,7 +83,9 @@ Text3DFreeType::Text3DFreeType(Text3DFont* font) :
     hasMutableGlyph_(false),
     forceAutoHint_(false),
     subpixelGlyphPositions_(false),
-    fontHintLevel_(FONT_HINT_LEVEL_NORMAL)
+    fontHintLevel_(FONT_HINT_LEVEL_NORMAL),
+    fontSubpixelThreshold_(12),
+    fontOversampling_(2)
 {
 }