summaryrefslogtreecommitdiff
path: root/vcl/skia/x11
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-26 14:59:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-26 18:11:51 +0200
commitba9c6ad27d76de2cc4bc43cc2836a9680a3e1a9b (patch)
tree1adb93e6fda153d9849c28d729446efc6a2cd0fe /vcl/skia/x11
parent5c0ac89bfe0e412fa335b562e63e380f0be14cd9 (diff)
freetype 2.9 was relesed in Jan 2018, drop workaround for <= 2.8
Change-Id: Iaf95faa15d56e8f26ed57cb4744b039a18223c5c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138877 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/skia/x11')
-rw-r--r--vcl/skia/x11/textrender.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/skia/x11/textrender.cxx b/vcl/skia/x11/textrender.cxx
index 3548dc61683e..7be518e96c92 100644
--- a/vcl/skia/x11/textrender.cxx
+++ b/vcl/skia/x11/textrender.cxx
@@ -40,9 +40,6 @@ void SkiaTextRender::DrawTextLayout(const GenericSalLayout& rLayout, const SalGr
if (nWidth == 0 || nHeight == 0)
return;
- if (FreetypeFont::AlmostHorizontalDrainsRenderingPool(nWidth * 10 / nHeight, rFSD))
- return;
-
if (!fontManager)
{
// Get the global FcConfig that our VCL fontconfig code uses, and refcount it.