https://bugs.kde.org/show_bug.cgi?id=465886
--- Comment #10 from Alvin Wong <al...@alvinhc.com> --- Git commit 51518e4e83111bf174c0151628461a8af2eb9565 by Alvin Wong. Committed on 31/07/2023 at 12:32. Pushed by alvinwong into branch 'master'. text: Add synthesizing italic glyphs If the user requested italics but the font does not have native italics variant, 5.1 and earlier will synthesize oblique by shearing the glyphs. It is unclear what amount of shear Qt used. Implement the same thing for the new text engine. A shear angle of 14 degrees is chosen to coincide with CSS's defaults. [1] This commit does not provide an option for disabling this behaviour. If such a switch is to be implemented in the future, it should probably use the CSS `font-synthesis-style` property to do so. [2] [1]: https://drafts.csswg.org/css-fonts/#font-style-prop [2]: https://drafts.csswg.org/css-fonts/#font-synthesis-style M +62 -13 libs/flake/text/KoSvgTextShape.cpp https://invent.kde.org/graphics/krita/-/commit/51518e4e83111bf174c0151628461a8af2eb9565 -- You are receiving this mail because: You are watching all bug changes.