Bug 460261

Summary: Font kerning just looks very off
Product: [Applications] krita Reporter: Yu-Hsuan Lai <raincolee>
Component: Tool/TextAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ghevan
Priority: NOR    
Version First Reported In: 5.1.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: font test

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