You are not logged in.

#1 2025-04-09 10:41:22

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

[SOLVED] Wrong hinting in krunner

Hi there,

I just installed a system from scratch and I'm facing this issue in krunner:

Schermata-20250409-123801.png

As you can see, Dolphin and krunner render text differently; dolphin respect moderate hinting, krunner does not.

I installed via archinstall script and not edited any config file by hand, so my fonts.conf file has been entirely generated by kde:

[koko@Zuul ~]$ cat .config/fontconfig/fonts.conf 
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
<fontconfig>
 <!-- 
 Artificial oblique for fonts without an italic or oblique version
 -->
 <match target="font">
  <!-- check to see if the font is roman -->
  <test name="slant">
   <const>roman</const>
  </test>
  <!-- check to see if the pattern requested non-roman -->
  <test compare="not_eq" name="slant" target="pattern">
   <const>roman</const>
  </test>
  <!-- multiply the matrix to slant the font -->
  <edit mode="assign" name="matrix">
   <times>
    <name>matrix</name>
    <matrix>
     <double>1</double>
     <double>0.2</double>
     <double>0</double>
     <double>1</double>
    </matrix>
   </times>
  </edit>
  <!-- pretend the font is oblique now -->
  <edit mode="assign" name="slant">
   <const>oblique</const>
  </edit>
  <!-- and disable embedded bitmaps for artificial oblique -->
  <edit mode="assign" name="embeddedbitmap">
   <bool>false</bool>
  </edit>
 </match>
 <!--
 Synthetic emboldening for fonts that do not have bold face available
 -->
 <match target="font">
  <!-- check to see if the weight in the font is less than medium which possibly need emboldening -->
  <test compare="less_eq" name="weight">
   <const>medium</const>
  </test>
  <!-- check to see if the pattern requests bold -->
  <test compare="more_eq" name="weight" target="pattern">
   <const>bold</const>
  </test>
  <!--
                  set the embolden flag
                  needed for applications using cairo, e.g. gucharmap, gedit, ...
                -->
  <edit mode="assign" name="embolden">
   <bool>true</bool>
  </edit>
  <!--
                 set weight to bold
                 needed for applications using Xft directly, e.g. Firefox, ...
                -->
  <edit mode="assign" name="weight">
   <const>bold</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>

* It also seems to ignore any RGB subpixel hinting configuration i setup in kde.
* If I make a new user, problem persists.
* Wayland or X11: same



Any hint?

Last edited by kokoko3k (2025-04-11 15:10:48)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2025-04-09 16:16:49

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [SOLVED] Wrong hinting in krunner

This is splitscreen of the "D" rendering in krunner and dolphin:
8_FW.png

Where's the different font rendering?

Offline

#3 2025-04-09 17:25:38

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

Look for "s", lower side is straight on dolphin, slightly rounded in krunner.

Same goes for "e" both up and down sides are straight on dolphin, (badly) rounded on krunner.

If you look closely, even the "D" from your scaled shot appear to have a slight horizontal line on top meant to round the shape, barley visible.

Also, if I disable rgb subpixel hinting, all apps react, but krunner (killed and relaunched) does not.
Not sure it that is the same issue tho.

Last edited by kokoko3k (2025-04-09 17:28:35)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2025-04-09 19:58:57

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [SOLVED] Wrong hinting in krunner

Also, if I disable rgb subpixel hinting, all apps react, but krunner (killed and relaunched) does not.

It would seem so because that means krunner ignores the fontconfig entirely (and isn't affected by the alpha blending)

On X11, does krunner adhere to xrdb?
Stuff like

Xft.antialias:  true
Xft.autohint:   false
Xft.hinting:    true
Xft.hintstyle:  hintslight
Xft.lcdfilter:  lcdlight
Xft.rgba:       rgb

Offline

#5 2025-04-10 10:24:46

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

So, I Disabled RGB subpixel hinting, set hinting to full, logged out/in, and apps obey that, but krunner:

Schermata-20250410-122245.png

koko@Zuul# font-config-info 
Running at Thu Apr 10 12:20:19 2025

GtkSettings:
gtk-font-name        "PT Sans,  10"
gtk-xft-antialias    1 (yes)
gtk-xft-hinting      1 (yes)
gtk-xft-hintstyle    "hintfull"
gtk-xft-rgba         "none"
gtk-xft-dpi          98304 (96,00 DPI)

GTK 2.0 styles:
GtkLabel             "PT Sans 10"
GtkMenuItem          "PT Sans 10"
GtkToolbar           "PT Sans 10"

GSettings (org.gnome.desktop.interface):
font-name            "PT Sans,  10"
text-scaling-factor  1,00

X11 display info:
screen pixels        1920x1080
screen size          508x285 mm (96,00x96,25 DPI)

X resources (xrdb):
Xft.antialias        "1"
Xft.hinting          "1"
Xft.hintstyle        "hintfull"
Xft.rgba             "none"
Xft.dpi              "96"

XSETTINGS:
Gtk/FontName         "PT Sans,  10"

Fontconfig (PT Sans 10):
requested size       10 points
family               PT Sans
pixelsize            10,42 pixels
size                 10 points
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            3 (full)
rgba                 5 (none)

Fontconfig (default pattern):
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            1 (slight)
rgba                 1 (rgb)

Fontconfig (default match):
family               Noto Sans
pixelsize            12,50 pixels
size                 12 points
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            3 (full)
rgba                 5 (none)

Fontconfig (non-family/size defaults):
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            3 (full)
rgba                 5 (none)

Last edited by kokoko3k (2025-04-10 10:36:17)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#6 2025-04-10 12:10:53

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [SOLVED] Wrong hinting in krunner

Is it only krunner or everything QML (plasmashell desktop panel stuff)?
Flatpak?

It's possible to locally override the QFont::StyleStrategy, but it also sounds insane that krunner would do that?

Offline

#7 2025-04-10 13:37:05

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

No Flatpak and I tried to add a folderview plasmoid to the desktop and it is fine...

Also, another older system I just upgraded to the same plasma version behaves fine.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#8 2025-04-10 13:54:06

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [SOLVED] Wrong hinting in krunner

strace krunner and see whether it picks up some (apparently global) config that could explain this difference.
This has to come from somewhere and if it's not a bug in krunner nor a user-specific config… sure there's nothing like /usr/local/bin/krunner in the way?
You might also try comparing

tr '\0' '\n' < /proc/$(pidof krunner)/environ

Offline

#9 2025-04-10 14:30:06

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

The rgb subpixel issue is present even in the other system; krunner forces that here and there.

The bad hinting, however, is present just here.

koko@Zuul# which krunner
/usr/bin/krunner
SHELL=/usr/bin/bash
SESSION_MANAGER=local/Zuul:@/tmp/.ICE-unix/36763,unix/Zuul:/tmp/.ICE-unix/36763
WINDOWID=0
COLORTERM=truecolor
XDG_CONFIG_DIRS=/home/koko/.config/kdedefaults:/etc/xdg
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session9
HISTCONTROL=ignoredups
XDG_MENU_PREFIX=plasma-
HISTSIZE=50000
ICEAUTHORITY=/run/user/1000/iceauth_asNyUJ
LANGUAGE=
LESS_TERMCAP_se=
LESS_TERMCAP_so=
SHELL_SESSION_ID=281e79c369e14c6b872bad233a81460c
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
__GL_YIELD=USLEEP
DESKTOP_SESSION=plasma
GTK_RC_FILES=/etc/gtk/gtkrc:/home/koko/.gtkrc:/home/koko/.config/gtkrc
EDITOR=nano
XDG_SEAT=seat0
PWD=/home/koko
XDG_SESSION_DESKTOP=KDE
LOGNAME=koko
QT_QPA_PLATFORMTHEME=kde
XDG_SESSION_TYPE=wayland
SYSTEMD_EXEC_PID=37040
XAUTHORITY=/run/user/1000/xauth_sbgdai
MOTD_SHOWN=pam
XKB_DEFAULT_MODEL=pc105
WINEARCH=win32
HOME=/home/koko
LANG=it_IT.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
XDG_CURRENT_DESKTOP=KDE
KONSOLE_DBUS_SERVICE=:1.301
Automoc4_DIR=/usr/lib/automoc4
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.yakuake@autostart.service/memory.pressure
WAYLAND_DISPLAY=wayland-0
KONSOLE_DBUS_SESSION=/Sessions/2
PROFILEHOME=
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=921494efd09745f8b478d39419a079b2
QT_GRAPHICSSYSTEM=raster
KONSOLE_VERSION=241203
MANAGERPID=927
KDE_SESSION_UID=1000
XKB_DEFAULT_LAYOUT=it
INTEL_BATCH=1
WINEDLLOVERRIDES=winemenubuilder.exe=d
XDG_SESSION_CLASS=user
TERM=xterm-256color
__GL_SHADER_DISK_CACHE=1
LESS_TERMCAP_mb=
LESS_TERMCAP_me=
LESS_TERMCAP_md=
USER=koko
CCACHEPATH=/usr/lib/ccache/bin
COLORFGBG=15;0
QT_WAYLAND_RECONNECT=1
KDE_SESSION_VERSION=6
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
DISPLAY=:1
SHLVL=1
LESS_TERMCAP_ue=
LESS_TERMCAP_us=
XDG_VTNR=3
XDG_SESSION_ID=12
OOO_FORCE_DESKTOP=gnome
XDG_RUNTIME_DIR=/run/user/1000
PS2=> 
PS1=\[\033[38;5;15m\]\n[\t]\[\]  cd \[\033[38;5;11m\]\w\[\033[38;5;15m\]\n\[\033[38;5;10m\]\u\[\033[38;5;15m\]@\[\033[38;5;14m\]\h\[\033[38;5;12m\]# \[\]
PS4=+ 
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
QT_AUTO_SCREEN_SCALE_FACTOR=0
JOURNAL_STREAM=9:105942
KDE_FULL_SESSION=true
PATH=/usr/lib/ccache/bin:/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/koko
XKB_DEFAULT_OPTIONS=terminate:ctrl_alt_bksp
_=/usr/bin/krunner
koko@Zuul# cat /tmp/out|grep -i 'access(\|open(\|stat(\|read('|grep -v ENOENT|grep -i font|grep -vi \\.desktop
[pid 37889] access("/etc/fonts/fonts.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/fonts.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-hinting-slight.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-hinting-slight.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-sub-pixel-rgb.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-sub-pixel-rgb.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-yes-antialias.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/10-yes-antialias.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/11-lcdfilter-default.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/11-lcdfilter-default.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/20-unhint-small-vera.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/20-unhint-small-vera.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/30-metric-aliases.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/30-metric-aliases.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/30-win32-aliases.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/30-win32-aliases.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/40-nonlatin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/40-nonlatin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/45-generic.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/45-generic.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/45-latin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/45-latin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/46-noto-mono.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/46-noto-mono.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/46-noto-sans.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/46-noto-sans.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/46-noto-serif.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/46-noto-serif.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/48-spacing.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/48-spacing.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/49-sansserif.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/49-sansserif.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/50-user.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/50-user.conf", R_OK) = 0
[pid 37889] access("/home/koko/.config/fontconfig/fonts.conf", R_OK) = 0
[pid 37889] access("/home/koko/.config/fontconfig/fonts.conf", R_OK) = 0
[pid 37889] access("/home/koko/.config/fontconfig/fonts.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/51-local.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/51-local.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/60-generic.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/60-generic.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/60-latin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/60-latin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/65-fonts-persian.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/65-fonts-persian.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/65-nonlatin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/65-nonlatin.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/66-noto-mono.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/66-noto-mono.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/66-noto-sans.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/66-noto-sans.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/66-noto-serif.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/66-noto-serif.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/69-unifont.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/69-unifont.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/80-delicious.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/80-delicious.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/90-synthetic.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d/90-synthetic.conf", R_OK) = 0
[pid 37889] access("/etc/fonts/conf.d", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/09-autohint-if-no-hinting.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-autohint.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-autohint.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-full.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-full.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-medium.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-medium.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-none.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-none.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-slight.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-hinting-slight.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-no-antialias.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-no-antialias.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-scale-bitmap-fonts.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-bgr.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-none.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-none.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-rgb.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-vbgr.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-sub-pixel-vrgb.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-unhinted.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-unhinted.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-yes-antialias.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/10-yes-antialias.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-default.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-legacy.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-light.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-none.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/11-lcdfilter-none.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/20-unhint-small-vera.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/25-unhint-nonlatin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/30-metric-aliases.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/30-metric-aliases.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/30-win32-aliases.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/30-win32-aliases.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/35-lang-normalize.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/35-lang-normalize.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/40-nonlatin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/40-nonlatin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/45-Hack.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/45-Hack.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/45-generic.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/45-generic.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/45-latin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/45-latin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/46-noto-mono.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/46-noto-mono.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/46-noto-sans.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/46-noto-sans.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/46-noto-serif.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/46-noto-serif.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/48-spacing.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/48-spacing.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/49-sansserif.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/49-sansserif.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/50-user.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/50-user.conf", R_OK) = 0
[pid 37889] access("/home/koko/.config/fontconfig/fonts.conf", R_OK) = 0
[pid 37889] access("/home/koko/.config/fontconfig/fonts.conf", R_OK) = 0
[pid 37889] access("/home/koko/.config/fontconfig/fonts.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/51-local.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/51-local.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/60-generic.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/60-generic.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/60-latin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/60-latin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/65-fonts-persian.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/65-fonts-persian.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/65-khmer.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/65-khmer.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/65-nonlatin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/65-nonlatin.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/66-noto-mono.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/66-noto-mono.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/66-noto-sans.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/66-noto-sans.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/66-noto-serif.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/66-noto-serif.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/69-unifont.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/69-unifont.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-no-bitmaps-and-emoji.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-no-bitmaps-and-emoji.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-no-bitmaps-except-emoji.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-no-bitmaps-except-emoji.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-no-bitmaps.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/80-delicious.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/80-delicious.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/90-synthetic.conf", R_OK) = 0
[pid 37889] access("/usr/share/fontconfig/conf.avail/90-synthetic.conf", R_OK) = 0
[pid 37929] read(63, "[General]\n#font=PT Sans,11,-1,5,"..., 16384) = 45
[pid 37889] access("/home/koko/.local/share/icons/kora-light-panel/apps/scalable/preferences-desktop-font.svg", F_OK) = 0
[pid 37889] access("/home/koko/.local/share/icons/kora-light-panel/apps/scalable/preferences-desktop-font.svg", F_OK) = 0
[pid 37889] access("/home/koko/.local/share/icons/kora-light-panel/apps/scalable/preferences-desktop-font.svg", F_OK) = 0
[pid 37919] read(76, "[Desktop Entry]\nName=KFontInst\nN"..., 32768) = 3333
[pid 37919] read(76, "[Desktop Entry]\nName=FontForge\nN"..., 32768) = 992

Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#10 2025-04-10 14:46:58

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

Uhm, is not just krunner... I just spotted it into the application style preview panel in systemsettings:

Schermata-20250410-164327.png

You can see how "Casella combinata" is rendered fine in the Fusion style, and MS Windows style but badly anywhere else.

It is probably just a weird kde bug.

Last edited by kokoko3k (2025-04-10 14:56:46)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#11 2025-04-10 15:09:20

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [SOLVED] Wrong hinting in krunner

Interesting

killall krunner
QT_STYLE_OVERRIDE=Fusion krunner

Profit?

Offline

#12 2025-04-10 15:50:37

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

Eh, nice!

But krunner seems to just ignore anything hmm


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#13 2025-04-10 19:36:18

seth
Member
Registered: 2012-09-03
Posts: 64,524

Re: [SOLVED] Wrong hinting in krunner

I skimmed the source but didn't see anything that suggests it would set style or font rendering.
If you're adventurous, test the font rendering in https://github.com/luebking/virtuality/
./buildQt6.sh should™ justwork™ - it's gonna look a bit futuristic wink

Offline

#14 2025-04-11 12:19:54

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#15 2025-04-11 14:51:58

seth
Member
Registered: 2012-09-03
Posts: 64,524

Offline

#16 2025-04-11 15:09:48

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,439

Re: [SOLVED] Wrong hinting in krunner

Yeah, I don't think it (100%) applies, but anyway, marking as solved and let's hope for the best.

Thank you!


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

Board footer

Powered by FluxBB