https://bugs.documentfoundation.org/show_bug.cgi?id=117881
--- Comment #5 from Marco Diego Aurélio Mesquita <[email protected]>
---
I compiled Libreoffice from source and made some experiments. The following
changes seem to fix the bug, but it breaks tests (CppunitTest_sw_ooxmlexport9).
diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx
index b54e41a..142e94e 100644
--- a/vcl/source/font/fontmetric.cxx
+++ b/vcl/source/font/fontmetric.cxx
@@ -457,7 +457,7 @@ void ImplFontMetricData::ImplCalcLineSpacing(const
std::vector<uint8_t>& rHheaDa
{
fAscent = rInfo.ascender * fScale;
fDescent = -rInfo.descender * fScale;
- fExtLeading = rInfo.linegap * fScale;
+ fExtLeading = rInfo.linegap * (fScale + 0.5);
}
// But if OS/2 is present, prefer it.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs