How do I make WINE use system fonts?

Questions about Wine on Linux
Locked
qheniw
Newbie
Newbie
Posts: 3
Joined: Sat Apr 02, 2016 10:04 am

How do I make WINE use system fonts?

Post by qheniw »

WINE version: 1.9.7 32-bit (installed from PlayOnLinux)

My Linux distro (SolydX based on Debian Stable) is in Chinese. In regedit, all Chinese characters appear as vertical bars unless I create a symlink in

Code: Select all

drive_c/windows/Fonts
to

Code: Select all

/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc
Is there a setting somewhere I can change to make WINE use the system fonts?

Regedit without font symlink:
regedit_no_font.png
Regedit with font symlink:
regedit_font.png
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: How do I make WINE use system fonts?

Post by dimesio »

Probably related to this bug: https://bugs.winehq.org/show_bug.cgi?id=13829. It's marked STAGED, so try wine-staging.
qheniw
Newbie
Newbie
Posts: 3
Joined: Sat Apr 02, 2016 10:04 am

Re: How do I make WINE use system fonts?

Post by qheniw »

How do I find out which staging version it is? I use PlayOnLinux and the latest staging version there is 1.9.5-staging, but I'm using 1.9.7.

64-bit WINE works fine, this problem only happens to 32-bit.

If a Windows application has both 32-bit and 64-bit binaries, is it better to use 32-bit WINE or 64-bit WINE in general?
User avatar
dimesio
Moderator
Moderator
Posts: 13371
Joined: Tue Mar 25, 2008 10:30 pm

Re: How do I make WINE use system fonts?

Post by dimesio »

First, PlayOnLinux is not supported here. If you insist on using it, ask for help on their forum.
64-bit WINE works fine, this problem only happens to 32-bit.
You should have said that in the first place. It sounds like you are missing a 32 bit library, probably 32 bit freetype.
qheniw
Newbie
Newbie
Posts: 3
Joined: Sat Apr 02, 2016 10:04 am

Re: How do I make WINE use system fonts?

Post by qheniw »

Thanks. I installed libxft2:i386 and it works fine now.
Locked