vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 80e5e3826f6919e68c75d63f9dfe6417577d41ed Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Oct 23 15:22:46 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Oct 24 20:08:05 2020 +0200 crashtesting: avoid assert on loading tdf98681-3.docx these limits are possibly totally archaic and maybe should be removed entirely given the number of freetype releases since their introduction. Just widen the range here. Change-Id: Ic6648bbcd0a996ab342ca4c310850cf81bd504eb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104733 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx index d2addb9327a4..9e4a4d44974c 100644 --- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx +++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx @@ -436,7 +436,7 @@ FreetypeFont::FreetypeFont(FreetypeFontInstance& rFontInstance, const std::share SAL_WARN("vcl", "FreetypeFont negative font width of: " << mnWidth); return; } - if (mfStretch > +64.0 || mfStretch < -64.0) + if (mfStretch > +96.0 || mfStretch < -96.0) { SAL_WARN("vcl", "FreetypeFont excessive stretch of: " << mfStretch); return; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits