]> OCCT Git - occt-copy.git/commit
0029225: Visualization - Font_FTFont::AdvanceX() retrieves kerning value for incorrec...
authorkgv <kgv@opencascade.com>
Fri, 13 Oct 2017 12:52:51 +0000 (15:52 +0300)
committerkgv <kgv@opencascade.com>
Thu, 21 Nov 2019 09:55:21 +0000 (12:55 +0300)
commit7defedb51d3296268ebd5d8427046c27c980e6ba
tree7adfb901ab7957314c8bb56696ba45c80692d5f7
parent8185851826bb0177ee3eece36c374ec009f77e53
0029225: Visualization - Font_FTFont::AdvanceX() retrieves kerning value for incorrect characters pair

Fixed FT_Get_Kerning misuse within Font_FTFont::AdvanceX()/Font_FTFont::AdvanceY().
Font_FTFont::loadGlyph() has been corrected to not return TRUE
in case if method called with 0 argument second+ time.
src/Font/Font_FTFont.cxx
src/Font/Font_FTFont.hxx
tests/3rdparty/fonts/B3