Browse Source

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

Rokas Kupstys 8 years ago
parent
commit
bfa117295c
1 changed files with 3 additions and 1 deletions
  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),
     hasMutableGlyph_(false),
     forceAutoHint_(false),
     forceAutoHint_(false),
     subpixelGlyphPositions_(false),
     subpixelGlyphPositions_(false),
-    fontHintLevel_(FONT_HINT_LEVEL_NORMAL)
+    fontHintLevel_(FONT_HINT_LEVEL_NORMAL),
+    fontSubpixelThreshold_(12),
+    fontOversampling_(2)
 {
 {
 }
 }