summaryrefslogtreecommitdiff
path: root/vcl/quartz/salgdi.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-07-17 12:27:03 +0300
committerخالد حسني <khaled@libreoffice.org>2023-07-23 06:01:38 +0200
commitdd4a3fe191aab884380784250144c9fdd9647be3 (patch)
treef9d371ca07c668257696529b0d1bfb5d189d048b /vcl/quartz/salgdi.cxx
parentc46f8c356d812230c3a43cd08fb79674be88d9a8 (diff)
vcl: TextRenderModeForResolutionIndependentLayout → SubpixelPositioning
Change-Id: I8698d0f74889ac8a7de64a97e8cf0e8878ef7fc4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154517 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'vcl/quartz/salgdi.cxx')
-rw-r--r--vcl/quartz/salgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index b06e0d41bdbd..bd0d03b216ce 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -397,7 +397,7 @@ void AquaGraphicsBackend::drawTextLayout(const GenericSalLayout& rLayout)
CGContextSetTextDrawingMode(mrShared.maContextHolder.get(), kCGTextFillStroke);
}
- if (rLayout.GetTextRenderModeForResolutionIndependentLayout())
+ if (rLayout.GetSubpixelPositioning())
{
CGContextSetAllowsFontSubpixelQuantization(mrShared.maContextHolder.get(), false);
CGContextSetShouldSubpixelQuantizeFonts(mrShared.maContextHolder.get(), false);