[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sat Oct 24 18:08:51 UTC 2020
vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 80e5e3826f6919e68c75d63f9dfe6417577d41ed
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 23 15:22:46 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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;
More information about the Libreoffice-commits
mailing list