From 717bdd06a7ac1a2a266f36a43d7f1e695559d056 Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Wed, 10 May 2023 22:30:20 +0200 Subject: 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 --- emfio/inc/mtftools.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emfio/inc') 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 }; -- cgit