]> 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>
Mon, 4 Dec 2017 18:27:28 +0000 (21:27 +0300)
commit2f688d980d9d0259d2dc797c0f15a7a562986305
tree41e161fae221ab4ef4276cb940d9d7eaa5ba6c56
parent76fb154c9d2f6dd943c53392e6ffb900e0228382
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