diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-07-17 12:27:03 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-07-23 06:01:38 +0200 |
commit | dd4a3fe191aab884380784250144c9fdd9647be3 (patch) | |
tree | f9d371ca07c668257696529b0d1bfb5d189d048b /vcl/win | |
parent | c46f8c356d812230c3a43cd08fb79674be88d9a8 (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/win')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 5081456aaaef..925965ce6650 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -225,7 +225,7 @@ void WinSalGraphics::DrawTextLayout(const GenericSalLayout& rLayout) // DWrite text renderer performs vertical writing better except printing. const bool bVerticalScreenText = !mbPrinter && rLayout.GetFont().GetFontSelectPattern().mbVertical; - const bool bRenderingModeNatural = rLayout.GetTextRenderModeForResolutionIndependentLayout(); + const bool bRenderingModeNatural = rLayout.GetSubpixelPositioning(); const bool bUseDWrite = bVerticalScreenText || bRenderingModeNatural; DrawTextLayout(rLayout, hDC, bUseDWrite, bRenderingModeNatural); |