D29431: Remove stepsize 24 from DPI spinbox inside kcm fontconfig
Giusy Margarita
noreply at phabricator.kde.org
Mon May 4 22:49:47 BST 2020
kurmikon created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
kurmikon requested review of this revision.
REVISION SUMMARY
Since the spinbox read and write the DPI value "as is", without performing any format change, there's no need to set a stepsize of 24.
As reported here <https://wiki.archlinux.org/index.php/Font_configuration#Distorted_fonts>, xdpyinfo, xrdb and fontconfig does not expect values multiple of 24 and sometimes the proper DPI value is an unsigned integer different than the default 96, to be manually calculated because xorg can't auto determine it correctly (see here <https://wiki.archlinux.org/index.php/Xorg#Display_size_and_DPI>).
REPOSITORY
R119 Plasma Desktop
REVISION DETAIL
https://phabricator.kde.org/D29431
AFFECTED FILES
kcms/fonts/package/contents/ui/main.qml
To: kurmikon
Cc: ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200504/f4fd74f5/attachment-0001.html>
More information about the Plasma-devel
mailing list