]> OCCT Git - occt.git/commit
0031678: Visualization - add option enabling hinting for textured fonts
authorkgv <kgv@opencascade.com>
Wed, 14 Apr 2021 11:10:40 +0000 (14:10 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 15 Apr 2021 16:03:52 +0000 (19:03 +0300)
commitd37aef5ccf1bcbf0f3b11f45d3a6d73ad29ecde4
tree89a4cf6c2d2e5b2338636a8190d745b4963ee27c
parent75e1b5117076d6d68ee06112517c50ef49827c50
0031678: Visualization - add option enabling hinting for textured fonts

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

Command vrenderparams has been extended with arguments -fontHinting.
13 files changed:
src/AIS/AIS_TextLabel.cxx
src/Font/FILES
src/Font/Font_FTFont.cxx
src/Font/Font_FTFont.hxx
src/Font/Font_Hinting.hxx [new file with mode: 0644]
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/opengl/data/text/A2
tests/opengl/data/text/A8