[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 24 12:01:18 UTC 2021
vcl/unx/generic/glyphs/freetype_glyphcache.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 198cea2d6d715374927da7e8ffaa3b983930495e
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 24 09:37:52 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Feb 24 13:00:38 2021 +0100
crashtesting: avoid assert on loading tdf98681-3.docx
as in 80e5e3826f6919e68c75d63f9dfe6417577d41ed this documents
font stretch is now 135
Change-Id: I3139d36b909ef1546a1e083c8aabcc9597e314e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111451
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 cdbbb58a42b6..5831979e6109 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 > +96.0 || mfStretch < -96.0)
+ if (mfStretch > +148.0 || mfStretch < -148.0)
{
SAL_WARN("vcl", "FreetypeFont excessive stretch of: " << mfStretch);
return;
More information about the Libreoffice-commits
mailing list