]> 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)
committersnn <sergey.nikonov@opencascade.com>
Thu, 20 May 2021 14:58:40 +0000 (17:58 +0300)
commitc03d23a788fade033d64c2664d7c480b8cba0458
tree2f2e5c2fce13d79a1b6854c768b3f1f60961296d
parenta15094c43a4e2c80475c29c11bf94acb3ed9998c
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.

(cherry picked from commit d37aef5ccf1bcbf0f3b11f45d3a6d73ad29ecde4)

# Conflicts:
# src/Font/Font_FTFont.cxx
# src/PrsDim/PrsDim_Dimension.cxx
# tests/opengl/data/text/A2
# tests/opengl/data/text/A8

# Conflicts:
# src/Font/Font_FTFont.cxx
# src/PrsDim/PrsDim_Dimension.cxx
src/ViewerTest/ViewerTest_ViewerCommands.cxx