tdf#157173 Enlarging Fontwork shape replaces used font
commit1db6ef546e514385058c04041fb2849411224d33
authorNoel Grandin <noel.grandin@collabora.co.uk>
Mon, 11 Sep 2023 08:29:50 +0000 (11 10:29 +0200)
committerXisco Fauli <xiscofauli@libreoffice.org>
Tue, 19 Sep 2023 09:53:11 +0000 (19 11:53 +0200)
tree6a942c1b7c67f5350ec17aadfda7c268eb3a4821
parentd647a4f0bf873dfec685fd9f1e2d29896ca801a4
tdf#157173 Enlarging Fontwork shape replaces used font

regression from
    commit b153d147c9d813f78dd551fc186c261f52c929a1
    Author: Noel Grandin <noel.grandin@collabora.co.uk>
    Date:   Wed Apr 28 15:27:14 2021 +0200
    remove support for BITMASK in vcl backends

So the code that I removed had
    if (meFormat == DeviceFormat::BITMASK)
        SetAntialiasing( AntialiasingFlags::DisableText );
in the
    VirtualDevice::ImplInitVirDev
method.

Possibly we will need to make similar fixes in other places that used
BITMASK, but this looks like the only spot that really needs it.

No idea exactly how this line of code relates to the observed bug
though.

Change-Id: I858f15cf70a452568128d5ccccb365d9a11f7062
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156815
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 819dec3533750a3a8f483351febe40aae85ca0b7)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156740
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
svx/source/customshapes/EnhancedCustomShapeFontWork.cxx