Bug 460261 - Font kerning just looks very off
Summary: Font kerning just looks very off
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Tool/Text (other bugs)
Version First Reported In: 5.1.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-11 18:48 UTC by Yu-Hsuan Lai
Modified: 2024-08-22 16:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
font test (163.86 KB, image/png)
2022-10-11 18:48 UTC, Yu-Hsuan Lai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yu-Hsuan Lai 2022-10-11 18:48:34 UTC
Created attachment 152715 [details]
font test

SUMMARY
Fonts rendered by Krita look very off, especially when font size is small.

STEPS TO REPRODUCE
1. Choose text tool
2. Draw a text box and type "Lorem ipsum"
3. Set font size to 8pt, font to "Arial"

OBSERVED RESULT
Bad kerning

EXPECTED RESULT
Proper kerning

SOFTWARE/OS VERSIONS
Krita
 Version: 5.1.1
 Installation type: installer / portable package
 Hidpi: true
Qt
  Version (compiled): 5.12.12
  Version (loaded): 5.12.12
OS Information
  Build ABI: x86_64-little_endian-llp64
  Build CPU: x86_64
  CPU: x86_64
  Kernel Type: winnt
  Kernel Version: 10.0.19044
  Pretty Productname: Windows 10 (10.0)
  Product Type: windows
  Product Version: 10
Locale
  Languages: en_US
  C locale: C
  QLocale current: en
  QLocale system: en
  QTextCodec for locale: UTF-8
  Process ACP: 65001 (UTF-8)
  System locale default ACP: 1252  (ANSI - Latin I)

ADDITIONAL INFORMATION
Please check the attachment. Photoshop and chrome also give similar results to Figma's.
Comment 1 vanyossi 2022-10-13 20:20:33 UTC
This is an issue on windows only apparently. on macOS kerning is properly preserved at all sizes.

I'll mark this as confirmed, however im not sure how much we can do to resolve it at the moment since Wolthera is currently rewritting the text tool, and this issue seems to go deep into the font rendering code.
Comment 2 Dmitry Kazakov 2024-08-22 16:39:41 UTC
Remove triaged keyword from CONFIRMED bugs