summaryrefslogtreecommitdiff
path: root/chart2/export_setup.mk
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-10-19 11:53:44 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-10-19 12:29:02 +0200
commit85a56048a004b85d232805cc3b15db0c100d8a5c (patch)
treed367094d7bac173c8e21c39596f3ff8037e8cf20 /chart2/export_setup.mk
parenta9be87a341af82623c04343835e6a76a4a9e561a (diff)
Windows/--disable-skia: fix D2DWriteTextOutRenderer to properly set AA mode
This simplifies the process; in D2DWriteTextOutRenderer ctor, it uses the final mode for the call to CreateRenderTarget, applying the correct mode. Also, pass the AA flag from SalGraphics, and check the setting of GetUseFontAAFromSystem to use it, as done in e.g. CairoTextRender after commit e6538f5bdd876911ea30f84a6512c03908e620fd (tdf#118966 vcl: add a flag to determine if AA of fonts is used from the system, 2018-07-28). This fixes the failures on Windows with --disable-skia, as seen in https://lists.freedesktop.org/archives/libreoffice/2024-October/092541.html VclCjkTextTest::testVerticalText needed to be fixed by a tweak in getCharacterRightSideHeight, to use color's IsDark, instead of comparing to the fixed black, because the correct AA mode that is used now, makes the vertical part of the character not completely black. Change-Id: Iee8fe98e29a80a242f8e761c9a23c68b34a45699 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175188 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'chart2/export_setup.mk')
0 files changed, 0 insertions, 0 deletions