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 Fri Dec 16, 2016 8:19 pm)
XnVew is the only program that glitches with libfontconfig.so.1.9.2 on my system.
I have tried with a libfontconfig.so.1.9.0 from an ubuntu 16.04.1 install, same glitch and error.

Anyway, I have managed to fix the font being the wrong one by doing this (thanks to the Arch Linux AUR users)
* mv qt.conf qt.bak
* edit xnview.sh and change for
Code: Select all
export LD_LIBRARY_PATH="/usr/lib:$dirname/Plugins"
export QT_PLUGIN_PATH="/usr/lib"

That way I'm using my own qt5 libraries (which are up to date, I suppose...)

The problem is still there though: fontconfig still produces this error, and XnView crawls ALL the system font directories which makes it load really slow!
Does anyone have advice on how to fix that?

EDIT: I tried symlinking libfontconfig into /opt/xnview/lib and it doesn't seem to crawl fonts anymore!?
Code: Select all
sudo ln -s /usr/lib/libfontconfig.so.1.9.2 /opt/xnviewmp/lib/libfontconfig.so.1

Let us know if this fixed your problem too.

Read Main Topic

Viewing all articles
Browse latest Browse all 4990

Latest Images

Trending Articles



Latest Images