Fix various font style bugs
- This fixes a bug where ctrl+i didn't toggle the text until the second time.
- This fixes a bug where, with the font Liberation Sans, the italic font style kept being selected when regular was meant.
- This adds two buttons next to font style dropdown for bold and italic, to make it easier to toggle these options.
There's not much to review here, but I'd like it if I could merge these into stable. The bold and italics buttons in particular should help artists a ton.
Formalities Checklist
- I confirmed this builds.
- I confirmed Krita ran and the relevant functions work.
-
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) - I made sure my commits build individually and have good descriptions as per KDE guidelines.
- I made sure my code conforms to the standards set in the HACKING file.
- I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.
-
Does the patch add a user-visible feature? If yes, is there a documentation MR ready for it atKrita Documentation Repository?
