66537 was an issuezilla bug
Change-Id: I17f55b445823a62f2396c4d5a30041c55bd87494 Reviewed-on: https://gerrit.libreoffice.org/78563 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -427,7 +427,7 @@ FreetypeFont::FreetypeFont(LogicalFontInstance* pFontInstance, FreetypeFontInfo*
|
||||
if( !mnWidth )
|
||||
mnWidth = rFSD.mnHeight;
|
||||
mfStretch = static_cast<double>(mnWidth) / rFSD.mnHeight;
|
||||
// sanity check (e.g. #i66394#, #i66244#, #66537#)
|
||||
// sanity check (e.g. #i66394#, #i66244#, #i66537#)
|
||||
if( (mnWidth < 0) || (mfStretch > +64.0) || (mfStretch < -64.0) )
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user