-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
Fontique does not correctly detect UI fonts on KDE 5:
GenericFamily::SystemUi:
Cantarell
Cantarell
Cantarell
GenericFamily::UiSerif:
GenericFamily::UiSansSerif:
GenericFamily::UiMonospace:
GenericFamily::UiRounded:
XDG_CONFIG_HOME is not set, while XDG_CONFIG_DIRS is, but does not point to any font configuration, so my best guess is that we must test XDG_CURRENT_DESKTOP=KDE(:.*)?, then parse $HOME/.config/kdeglobals.
Excerpt from the latter:
[General]
ColorSchemeHash=0be804dba87e3512aeb4be3d78ed981f59f0f2f4
XftHintStyle=hintslight
XftSubPixel=none
fixed=Noto Sans Mono,11,-1,5,50,0,0,0,0,0
font=Noto Sans,12,-1,5,50,0,0,0,0,0
menuFont=Noto Sans,12,-1,5,50,0,0,0,0,0
smallestReadableFont=Noto Sans,10,-1,5,50,0,0,0,0,0
toolBarFont=Noto Sans,12,-1,5,50,0,0,0,0,0
This is:
- The family name
- Size ("points", so presumably we just multiply by 96/72 = 4/3 to get dots-per-Em)
- ... requires investigation
The hinting (none/slight/medium/full) & sub-pixel rendering (none, rgb, bgr, vrgb, vbgr) info is likely best ignored since (a) it is beyond the scope of Fontique and (b) is rasterer dependent.
Metadata
Metadata
Assignees
Labels
No labels