diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-08-23 21:39:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-08-24 11:25:29 +0200 |
commit | 573d6a12a450949246516c8d69e173c8c7680fc2 (patch) | |
tree | 17ba81d35f1587655d8258222fa899b4cfc8ffb6 /vcl/source/outdev/text.cxx | |
parent | 990dd32a749cc402857535dbd94fccdb918c71a2 (diff) |
rename DeviceFontWidth/DeviceFontHeight to DeviceSubPixel
Change-Id: I5378169e2c1d4d15fa160c3c2d2a130556dc80b1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138747
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/outdev/text.cxx')
-rw-r--r-- | vcl/source/outdev/text.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index 823362c6c071..55ddbde7e1a1 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -1391,7 +1391,7 @@ std::unique_ptr<SalLayout> OutputDevice::ImplLayout(const OUString& rOrigStr, // without rounding, keeping accuracy for lower levels bTextRenderModeForResolutionIndependentLayout = true; for (int i = 0; i < nLen; ++i) - xNaturalDXPixelArray[i] = ImplLogicWidthToDeviceFontWidth(pDXArray[i]); + xNaturalDXPixelArray[i] = ImplLogicWidthToDeviceSubPixel(pDXArray[i]); } else @@ -1444,7 +1444,7 @@ std::unique_ptr<SalLayout> OutputDevice::ImplLayout(const OUString& rOrigStr, pSalLayout->AdjustLayout( aLayoutArgs ); if (bTextRenderModeForResolutionIndependentLayout) - pSalLayout->DrawBase() = ImplLogicToDeviceFontCoordinate(rLogicalPos); + pSalLayout->DrawBase() = ImplLogicToDeviceSubPixel(rLogicalPos); else { Point aDevicePos = ImplLogicToDevicePixel(rLogicalPos); |