diff options
author | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2023-05-10 22:30:20 +0200 |
---|---|---|
committer | Bartosz Kosiorek <gang65@poczta.onet.pl> | 2023-05-12 22:42:00 +0200 |
commit | 717bdd06a7ac1a2a266f36a43d7f1e695559d056 (patch) | |
tree | 097c185b9a3180cee573e19db1a5b8cc7d4a3822 /emfio/inc | |
parent | a9c14a3b2c1d14373b63cf0aff0eb92ab5d640d8 (diff) |
EMF Fix text aligning for EMR_SETTEXTALIGN for wrong values.
Change-Id: I4d67eb7112d2295185905eac52ebab022a1beb78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151670
Tested-by: Jenkins
Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio/inc')
-rw-r--r-- | emfio/inc/mtftools.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emfio/inc/mtftools.hxx b/emfio/inc/mtftools.hxx index b2237736869b..f5638af59ecb 100644 --- a/emfio/inc/mtftools.hxx +++ b/emfio/inc/mtftools.hxx @@ -178,7 +178,9 @@ namespace emfio TA_RIGHT_CENTER = (TA_RIGHT | TA_CENTER), TA_TOP = 0x0000, TA_BOTTOM = 0x0008, - TA_BASELINE = 0x0018, + // In [MS-WMF] 2.1.2.3, TA_BASELINE value is wrong. + // It is 0x0018 and it should be 0x0010. + TA_BASELINE = 0x0010, TA_RTLREADING = 0x0100 }; |