Skip to content

kcms/fonts: Fix font hinting preview

Fushan Wen requested to merge work/fusionfuture/BUG413673-fix-hint-preview into master

In combineImages, the width and the height were calculated incorrectly. This makes the preview image correctly obey the device pixel ratio of the primary screen, so the preview image can be clear and sharp.

BUG: 413673 FIXED-IN: 5.25.0

Ref: plasma-desktop#34 (closed)

Before (125% scale) After (125% scale) After multiline (125% scale)
图片 图片 multiline-still-works
Before (200% scale) After (200% scale)
图片 图片
Edited by Fushan Wen

Merge request reports