diff options
author | Mark Hung <marklm9@gmail.com> | 2022-05-13 00:06:49 +0800 |
---|---|---|
committer | Mark Hung <marklh9@gmail.com> | 2022-05-18 14:32:06 +0200 |
commit | f8560e09006cec5cc6ef26ccbf4f21aa28c22ac3 (patch) | |
tree | 7efdff3730ba7f3797d2770b3da5f57baea2bd61 /sw/Library_sw.mk | |
parent | 343eed477ee7b55aa450bbc2aee6786dc0d9a071 (diff) |
tdf#149017 fix space distribution in SwFntObj::DrawText()
- Fix logic problem for the last element.
- Some glyphs may be made of many sal_Unicode ( ex. Unicode IVS ),
take care ( fix ) of the following case
a) 1 as the second glyph
b) n-1 as the previous glyph.
c) nCnt-1 as the last glyph.
- Move the code to justify.cxx and its own namespace.
Change-Id: Ice2236a54e8290a489fb2d887a326ccc4768213e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134243
Tested-by: Jenkins
Reviewed-by: Mark Hung <marklh9@gmail.com>
Diffstat (limited to 'sw/Library_sw.mk')
-rw-r--r-- | sw/Library_sw.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/Library_sw.mk b/sw/Library_sw.mk index 9ce3a482b766..eec16fd5612c 100644 --- a/sw/Library_sw.mk +++ b/sw/Library_sw.mk @@ -437,6 +437,7 @@ $(eval $(call gb_Library_add_exception_objects,sw,\ sw/source/core/txtnode/atrtox \ sw/source/core/txtnode/attrlinebreak \ sw/source/core/txtnode/chrfmt \ + sw/source/core/txtnode/justify \ sw/source/core/txtnode/fmtatr2 \ sw/source/core/txtnode/fntcache \ sw/source/core/txtnode/fntcap \ |