summaryrefslogtreecommitdiff
path: root/vcl/qa/cppunit/fontmocks.hxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-07-16 07:37:55 +0300
committerخالد حسني <khaled@libreoffice.org>2023-07-23 06:00:30 +0200
commitdfe42e756b37642355356a6035081f4473609832 (patch)
tree77a42535ddef1f76802fa4221f33fd97755bb2ff /vcl/qa/cppunit/fontmocks.hxx
parent32144b5dc617d5a375eeadf25b5b62befb529785 (diff)
vcl: Use HarfBuzz to get glyph bounding rectangle
For consistent cross-platform results that also matches our glyph advances since platform functions might be using hints which we don’t use. Change-Id: I4aebd3e7c5f460dff584f5eba74f7a11bab0f9b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154388 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl/qa/cppunit/fontmocks.hxx')
-rw-r--r--vcl/qa/cppunit/fontmocks.hxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/qa/cppunit/fontmocks.hxx b/vcl/qa/cppunit/fontmocks.hxx
index 7e33ce8e7e13..8eac463c143f 100644
--- a/vcl/qa/cppunit/fontmocks.hxx
+++ b/vcl/qa/cppunit/fontmocks.hxx
@@ -30,9 +30,6 @@ public:
{
return true;
}
-
-protected:
- bool ImplGetGlyphBoundRect(sal_GlyphId, tools::Rectangle&, bool) const override { return true; }
};
class TestFontFace : public vcl::font::PhysicalFontFace