]> OCCT Git - occt.git/commit
0031678: Visualization - add option enabling hinting for textured fonts
authorkgv <kgv@opencascade.com>
Thu, 23 Jul 2020 19:39:27 +0000 (22:39 +0300)
committerkgv <kgv@opencascade.com>
Sat, 25 Jul 2020 17:32:09 +0000 (20:32 +0300)
commit16b905d142dfc4b3a801348b6cdf98f5d812a486
tree9d31772fdfd2bb276b4cb1d48b6169374e9bb906
parent4c7a3faef5f292475c23ee615ad49d57fc039b58
0031678: Visualization - add option enabling hinting for textured fonts

Added new rendering parameter Graphic3d_RenderingParams::ToEnableFontHinting
allowing to enable/disable hinting (default is no hinting preserving old behavior).

Command vrenderparams has been extended with arguments -fontHinting.
src/AIS/AIS_TextLabel.cxx
src/Font/Font_FTFont.cxx
src/Font/Font_FTFont.hxx
src/Graphic3d/Graphic3d_RenderingParams.hxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_Text.cxx
src/OpenGl/OpenGl_Text.hxx
src/PrsDim/PrsDim_Dimension.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx
tests/3rdparty/fonts/A2
tests/3rdparty/fonts/A8