TTF Font (Droid Sans Fallback) not displaying correctly

Questions about Wine on Linux
Post Reply
paul1149
Level 2
Level 2
Posts: 25
Joined: Sat Sep 18, 2010 8:50 pm
Contact:

TTF Font (Droid Sans Fallback) not displaying correctly

Post by paul1149 » Tue Jun 09, 2020 4:10 pm

Hello,

I'm running Wine-staging 5.6 on MX Linux 19.2 x64 with the KDE desktop environment. Most fonts show up in Wine, but one important one does not - Droid Sans Fallback. It's installed and it works in native Linux programs. I see it at

Code: Select all

/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf
, and also at

Code: Select all

/home/paul/.wine/drive_c/windows/Fonts/DroidSansFallbackFull.ttf
. I've also copied it over to the ~/home/.fonts folder.

But in the main program I use under Wine, theWord, it shows up only as a series of rectangles. In Wine's Notepad program, in the font selection dialog it also shows up as all rectangles in the "Sample" box, but once selected it apparently does display correctly in the main window.

I've had this problem with this font in other Linux installs, and would like to get to the root of it if possible.

Thanks much.

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by jkfloris » Tue Jun 09, 2020 4:23 pm

The font seems to work as expected when I use a Chinese locale.

Code: Select all

# Make sure you have a Chinese locale:
locale -a
zh_CN.utf8

# Run notepad with the Chinese locale:
LANG=zh_CN.utf8 wine notepad.exe

paul1149
Level 2
Level 2
Posts: 25
Joined: Sat Sep 18, 2010 8:50 pm
Contact:

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by paul1149 » Tue Jun 09, 2020 5:02 pm

Thank you. I just tried that. In Notepad it got me Chinese menus, but the font behaved the same. In theWord the menus remained English and again the font behaved the same. My native locale is US English.

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by jkfloris » Wed Jun 10, 2020 2:59 pm

Do you also get the rectangles in Notepad if you set the font to Droid Sans Fallback and the script to Chinese_GB2312?
Wine_Droid_Sans_Fallback.jpg

paul1149
Level 2
Level 2
Posts: 25
Joined: Sat Sep 18, 2010 8:50 pm
Contact:

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by paul1149 » Wed Jun 10, 2020 4:25 pm

In my case, when starting notepad with that locale, that dialog is entirely in Chinese, including the drop-down script list. (The font names themselves are still in English though, which makes sense.) So I couldn't tell which script was which, but I did arrow down through the entire list, which made various changes in the Sample box. But at no time did DSF display properly in that box.

To repeat, DSF does display properly in the program's main editor, but that is not the case in my target program, theWord. But then the locale switch did not affect theWord's menus either, so maybe it's not having any affect on that program.

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by jkfloris » Sat Jun 13, 2020 4:10 pm

Can you give some more information how to reproduce this problem?
- Which fonts are set in File → Preferences → Fonts
- Which fonts are set in Tools → Bible view options → Fonts colors and styles
- Do you have the font issue in the "Bible view" window or in the "Book view" window
- What bible do you use

paul1149
Level 2
Level 2
Posts: 25
Joined: Sat Sep 18, 2010 8:50 pm
Contact:

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by paul1149 » Sat Jun 13, 2020 6:03 pm

I've had this problem over several installs of at least two different distros, though both distros were debian-based. In theWord the problem is in both Book and Bible views. The default book font is dejavu sans, and most Bible view windows have that set as default also. DSF is available nowhere in the program; only the rectangles show up, both in the font list and in the target window.

jkfloris
Level 7
Level 7
Posts: 993
Joined: Thu Aug 14, 2014 10:10 am

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by jkfloris » Thu Jun 18, 2020 3:49 pm

Does winetricks droid give any improvement?

paul1149
Level 2
Level 2
Posts: 25
Joined: Sat Sep 18, 2010 8:50 pm
Contact:

Re: TTF Font (Droid Sans Fallback) not displaying correctly

Post by paul1149 » Thu Jun 18, 2020 4:16 pm

I don't know. I'm not going to install WT. Thanks.

Whoops - that's one I already have. No, I got no improvement with WT. Thanks.

Post Reply