Quantcast
Channel: XnView Software
Viewing all articles
Browse latest Browse all 4990

KDE: XnView doesn't use user system font

$
0
0
by pangwolin (Posted Wed Dec 14, 2016 9:00 pm)
I have the same issue on Antergos (Arch based). Not using KDE though, installed with XFCE but I'm using i3 window manager.

Running
Code: Select all
lsof -p $(pgrep XnView) | awk '/fonts/ {print $NF}'

I get
Code: Select all
/usr/share/fonts/TTF/NanumGothic-Regular.ttf
/usr/share/fonts/TTF/DroidSansJapanese.ttf
/usr/share/fonts/TTF/NotoSans-Regular.ttf
/usr/share/fonts/TTF/AdobeBlank-Regular.ttf
/usr/share/fonts/TTF/GoudyBookletter1911.ttf

Therefore, font XnView seems to be using is /usr/share/fonts/TTF/GoudyBookletter1911.ttf which is very close to Courier News.

I tried "qt5ct" (adding export QT_QPA_PLATFORMTHEME="qt5ct" in ~/.profile) but the font changes for the system but not XnView.
It seems the Qt library uses a default font instead?

3 days of trying. Any idea?

:(

EDIT: I noticed these two lines in XnView output in terminal, could be related?
Code: Select all
Fontconfig error: line 39460095: syntax error
Fontconfig error: Cannot load default config file


Read Main Topic

Viewing all articles
Browse latest Browse all 4990

Trending Articles