summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/funktion.h
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-04-10 12:15:55 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-04-19 05:31:51 +0200
commit2642643ec07cd7f3d28fe558769297578c36de19 (patch)
treef86a597e9d05e9d3e91f0f9bd4a905d6fbcb5a5f /sc/source/filter/inc/funktion.h
parent58e79c4394783033f61e1309214d9060e2f0adf2 (diff)
tdf#160622: Let SalLayout::GetBoundRect return basegfx::B2DRectangleHEADmaster
This avoids premature rounding in TextLayouterDevice::getTextBoundRect. The box in D2DWriteTextOutRenderer::performRender needs to be expanded to allow room for the line width (which now will be guaranteed on all sides; previously, the rounding could happen to give no room on some side, even prior to commit 8962141a12c966b2d891829925e6203bf8d51852). Fixes some lines partially cut off in smaller text (or zoomed out). Change-Id: I07335136021f894cf045363b4d736bfab06c64d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166236 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sc/source/filter/inc/funktion.h')
0 files changed, 0 insertions, 0 deletions