diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-26 09:06:21 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-07-26 10:22:29 +0200 |
commit | 3ecd8f19a91ed7141304a2080fb11612b5ff30b3 (patch) | |
tree | 8b38653012e6cc50acbf94603415c6a1b6120f76 /vcl/unx/generic/gdi/font.cxx | |
parent | b032d746a48b8887ccc2330b2fdbf63d701a213f (diff) |
vcl cairo text renderer: support non-AA text
Non-AA lines were already working, but text was always anti-aliased.
(Use-case is reference bitmaps in a testsuite, where AA just makes it
harder to determine if the expected and actual rendering output match.)
Change-Id: I7c5ab4c80675e1a523d67b71f3cd3cbc9c6416c3
Reviewed-on: https://gerrit.libreoffice.org/58035
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'vcl/unx/generic/gdi/font.cxx')
-rw-r--r-- | vcl/unx/generic/gdi/font.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/font.cxx b/vcl/unx/generic/gdi/font.cxx index ae4ef22e21b9..9cdbff3ea69d 100644 --- a/vcl/unx/generic/gdi/font.cxx +++ b/vcl/unx/generic/gdi/font.cxx @@ -55,7 +55,7 @@ X11SalGraphics::GetFontGC() void X11SalGraphics::DrawTextLayout(const GenericSalLayout& rLayout) { - mxTextRenderImpl->DrawTextLayout(rLayout); + mxTextRenderImpl->DrawTextLayout(rLayout, *this); } const FontCharMapRef X11SalGraphics::GetFontCharMap() const |