Date: Sat, 31 Dec 2022 15:26:21 +0000 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 268668] x11-fonts/fontconfig does not honor lcdfilter setting Message-ID: <bug-268668-39348-0XeGteTLtK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268668-39348@https.bugs.freebsd.org/bugzilla/> References: <bug-268668-39348@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268668 --- Comment #5 from Bertrand Petit <bsdpr@phoe.frmug.org> --- (In reply to Daniel Engberg from comment #4) Unfortunately the link you've given is not what I'm looking for: it is not = the default setting that should be changed but the setting that must be editabl= e at runtime. I braced myself, took a deep breath and had a deeper look at font config itself and its debugging output. $ FC_DEBUG=3D4 ./xftest | grep 'lcdfilter' Add Rule(kind:0, name: /usr/local/etc/fonts/conf.d/11-lcdfilter-default.con= f) [edit] Edit lcdfilter Append lcddefault; Edit lcdfilter Assign lcdnone; Edit lcdfilter Assign lcddefault; Add Rule(kind:0, name: /usr/local/etc/fonts/conf.avail/11-lcdfilter-legacy.conf) [edit] Edit lcdfilter Append lcdlegacy; Add Rule(kind:0, name: /usr/local/etc/fonts/conf.avail/11-lcdfilter-light.c= onf) [edit] Edit lcdfilter Append lcdlight; Rule Set: /usr/local/etc/fonts/conf.d/11-lcdfilter-default.conf Substitute Edit lcdfilter Append lcddefault lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) Substitute Edit lcdfilter Assign lcdnone lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) lcdfilter: 0(i)(w) Substitute Edit lcdfilter Assign lcddefault lcdfilter: 1(i)(w) lcdfilter: 1(i)(w) The lcdfilter property is correctly set to lcdnone by my fonts,conf file bu= t is later reset back to lcddefault by another file. From the full debug output = it appears that the faulty file is /usr/local/etc/fonts/conf.d/90-classiclooks_qt5fontfix.conf which is part of the classiclooks 2.2.0 port. The weight of that file should had been set to= a number strictly less than 50, another option is to not install that file at all. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268668-39348-0XeGteTLtK>