diff options
author | Mark Hung <marklh9@gmail.com> | 2023-02-27 08:58:22 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2023-03-10 12:42:39 +0000 |
commit | 9e6ff03454c2c554fc81b5f5d453a02edd5245d1 (patch) | |
tree | 278a330c7144886f65b65b1e97e1d1c7af6ca65f /chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx | |
parent | 57b88be1e10e131aea429e205fd426b7dab2ba2d (diff) |
tdf#114556 fix vertical writing emphasis mark position.
1. Calculate emphasis mark offset from base line using
ascender + descender, so it won't be too close or even overlap
with the glyph. It's an approximate for ideographic embox right
or ideographic chraceter face right.
2. CJK Ideographs have different drawing base positions.
Besides, it seems that glyph bound rect isn't consistent among
platforms, so use glyph advance information ( pGlyph->origWidth )
to calculate proper position and center the emphasis mark along
glyph advance axis.
Change-Id: I93676656ed2a1b12a2237a9af94d772879eb7ff7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147748
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/MultipleChartConverters.cxx')
0 files changed, 0 insertions, 0 deletions