]> OCCT Git - occt-copy.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)
committerasuraven <asuraven@opencascade.com>
Tue, 20 Apr 2021 11:22:22 +0000 (14:22 +0300)
commit3b66e9d234c0b209672caee68243e4a8a1f9d09e
tree136c7716bb1b8771f5acfd2871d534fda5eaa576
parente469433c029d77bc37fbed52368259ef43792db4
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