kcms/fonts: Fix font hinting preview
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) |
---|---|---|
Before (200% scale) | After (200% scale) |
---|---|
Edited by Fushan Wen