]> OCCT Git - occt-copy.git/commitdiff
0031678: Visualization - text color becomes lighter than in 7.3.0
authornds <natalia.ermolaeva@opencascade.com>
Tue, 21 Jul 2020 15:15:55 +0000 (18:15 +0300)
committernds <nds@opencascade.com>
Mon, 29 Mar 2021 09:57:42 +0000 (12:57 +0300)
(cherry picked from commit 1855383438db33933106aa5848ac00569731a407)
(cherry picked from commit 90187b9476ae29750777d3099be5f4be62da80ab)
(cherry picked from commit 83e7b17fe1c27b231ee45ce30e0cdc2b1b62fa2f)

src/Font/Font_FTFont.cxx

index 5464195e2a94e7db09ad6163bde8ff93b293116c..7e4ecbe95a07f5e95555d03878a8a7c5a492a9dd 100755 (executable)
@@ -38,7 +38,7 @@ Font_FTFont::Font_FTFont (const Handle(Font_FTLibrary)& theFTLib)
   myActiveFTFace(NULL),
   myFontAspect  (Font_FontAspect_Regular),
   myWidthScaling(1.0),
-  myLoadFlags   (FT_LOAD_NO_HINTING | FT_LOAD_TARGET_NORMAL),
+  myLoadFlags   (/*FT_LOAD_NO_HINTING | */FT_LOAD_TARGET_NORMAL),
   myUChar       (0U),
   myToUseUnicodeSubsetFallback (Font_FontMgr::ToUseUnicodeSubsetFallback())
 {