Summary: | Change Krita text tool's font size from a droplist to input box with units | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Tyson Tan <tysontanx> |
Component: | Tool/Text | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/krita/4492c25170ba50906c806ebc5a4022ce195157c1 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | GIMP's font size control for reference. |
Git commit 3a09d0664ecdfefe9fd431c7da2fbf513acb2f35 by Boudewijn Rempt. Committed on 04/04/2018 at 13:15. Pushed by rempt into branch 'master'. Use the FontSizeAction from the old text tool in the svg text tool M +1 -0 plugins/tools/svgtexttool/CMakeLists.txt A +155 -0 plugins/tools/svgtexttool/FontSizeAction.cpp [License: LGPL (v2)] A +72 -0 plugins/tools/svgtexttool/FontSizeAction.h [License: LGPL (v2+)] M +8 -14 plugins/tools/svgtexttool/SvgTextEditor.cpp M +1 -1 plugins/tools/svgtexttool/SvgTextEditor.h https://commits.kde.org/krita/3a09d0664ecdfefe9fd431c7da2fbf513acb2f35 Thank you, Boud! Git commit 4492c25170ba50906c806ebc5a4022ce195157c1 by Boudewijn Rempt. Committed on 09/04/2018 at 08:58. Pushed by rempt into branch 'krita/4.0'. Use the FontSizeAction from the old text tool in the svg text tool (cherry picked from commit 3a09d0664ecdfefe9fd431c7da2fbf513acb2f35) M +1 -0 plugins/tools/svgtexttool/CMakeLists.txt A +155 -0 plugins/tools/svgtexttool/FontSizeAction.cpp [License: LGPL (v2)] A +72 -0 plugins/tools/svgtexttool/FontSizeAction.h [License: LGPL (v2+)] M +8 -14 plugins/tools/svgtexttool/SvgTextEditor.cpp M +1 -1 plugins/tools/svgtexttool/SvgTextEditor.h https://commits.kde.org/krita/4492c25170ba50906c806ebc5a4022ce195157c1 |
Created attachment 111817 [details] GIMP's font size control for reference. krita-4.1.0-pre-alpha-39cc9f9-x86_64.appimage Krita's text tool uses a droplist to control font size. However the values are hardcoded with increasingly bigger intervals. These preset values are not sufficient. In most cases it is impossible to get an ideal font size with this current setup. As a workaround for now, we can use transformation tool on Text objects to do the fine-tuning. However, this is probably not a new user would think of. Most people would like to get it right in the editor because in that way a single font size can be easily used across all text blocks. I suggest we: 1) Replace the droplist with an input box with +/- buttons. 2) Add units as a droplist. 3) Allow point values like 12.5 pt for better fine-tunning.