https://bugs.kde.org/show_bug.cgi?id=425312

wolthera <griffinval...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/556d6a100 |hics/krita/commit/5263feef9
                   |039c9842d71283d8ab93024e016 |92731c88139b71edb941987b4d5
                   |523c                        |f8fc

--- Comment #5 from wolthera <griffinval...@gmail.com> ---
Git commit 5263feef992731c88139b71edb941987b4d5f8fc by Wolthera van Hövell, on
behalf of Wolthera van Hövell tot Westerflier.
Committed on 19/11/2021 at 13:15.
Pushed by woltherav into branch 'master'.

Improve font style selection, enabling the proper styles to be selected.

Apparantly Qt will synthesize the bold/italic if you don't set it on creation.
This patch also tries to fix the handling of stretch in the same way, however
it seems that all QFonts return 'anystretch' for the stretch, which makes me
suspect there's a qt bug there. In any case, the changes ensure that at the
least a coherent value is set (0 doesn't mean much).


(cherry picked from commit 556d6a100039c9842d71283d8ab93024e016523c)

M  +16   -11   libs/flake/text/KoSvgTextProperties.cpp
M  +38   -2    libs/flake/text/KoSvgTextShapeMarkupConverter.cpp
M  +1    -3    plugins/tools/svgtexttool/SvgTextEditor.cpp

https://invent.kde.org/graphics/krita/commit/5263feef992731c88139b71edb941987b4d5f8fc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to