diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-08-14 17:34:00 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-08-15 03:53:18 +0200 |
commit | a2b6be8af9be3237efc3ed1244302cf899680e97 (patch) | |
tree | 017b45b5a69c97a8301dbea0431edb2ae4da1424 /svgio/source/svgreader | |
parent | 5cfd31e505b4d1b4f9d2e21b0f9f8aac22539f47 (diff) |
tdf#86938: fix calculation of baseline-shift
Change-Id: I8c30c29052f2ea1fe6e49360b972af868851131b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155671
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/source/svgreader')
-rw-r--r-- | svgio/source/svgreader/svgcharacternode.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgcharacternode.cxx b/svgio/source/svgreader/svgcharacternode.cxx index ebc317c3a445..91ec98ae9b68 100644 --- a/svgio/source/svgreader/svgcharacternode.cxx +++ b/svgio/source/svgreader/svgcharacternode.cxx @@ -301,7 +301,7 @@ namespace svgio::svgreader const SvgNumber aNumber(rSvgStyleAttributes.getBaselineShiftNumber()); const double mfBaselineShift(aNumber.solve(*this)); - aPosition.setY(aPosition.getY() + mfBaselineShift); + aPosition.setY(aPosition.getY() - mfBaselineShift); break; } default: // BaselineShift::Baseline |