Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#63205 - [ttf-droid] CJK text appears like boxes

Attached to Project: Community Packages
Opened by tgn-ff (tgn-ff) - Monday, 15 July 2019, 21:19 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 17 January 2021, 19:20 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 3
Private No


0) Make sure you have installed the latest (20121017-7) version of the ttf-droid package.
1) Visit
2) Observe the text in the window manager's titlebar.

The chinese text appears like boxes in the titlebar with the latest version, but correctly with the previous one (20121017-6).
This task depends upon

Comment by Chris Down (cdown) - Wednesday, 17 July 2019, 12:29 GMT
I also reproduce this. Looking at the changes (, since the actual font didn't change it looks like it's one of the following:

1. A config reordering change, but it would have to be due to the alphabetic part, since the numbers stayed the same
2. A result of removing one of the dependencies
3. Something to do with installing in `/usr/share/fonts/droid` instead of `/usr/share/fonts/TTF`
4. Something to do with using symlinks instead of copying the files

I'll keep on investigating.
Comment by Chris Down (cdown) - Thursday, 18 July 2019, 11:29 GMT
Looking at `pacman -Qql ttf-droid` before and after makes another change more clear: before, we didn't symlink the configs in conf.d so they would actually be used. Now we set up the symlinks, and they have things like this:

<match target="scan">
<test name="lang" compare="eq">
<test name="lang" compare="eq">
<test name="lang" compare="eq">
<test name="lang" compare="eq">
<test name="lang" compare="eq">
<test name="fullname">
<string>Droid Sans Japanese</string>
<edit name="family">
<string>Droid Sans</string>
<edit name="fullname">
<string>Droid Sans</string>
<edit name="fontversion">

My guess is that some of these (there are a lot) eventually result in promoting a font without CJK glyphs incorrectly. Indeed, if I do the following then glyphs display correctly again even on pkgrel 7:

rm /etc/fonts/conf.d/*droid*
Comment by Chris Down (cdown) - Thursday, 18 July 2019, 11:33 GMT
For now, here's my workaround (with linking to hopefully create pacnew files on upgrade instead of just removing them):
Comment by mattia (nTia89) - Sunday, 19 September 2021, 08:42 GMT
I cannot reproduce the issue (ttf-droid-20121017-10).
Is it still valid?
Comment by tgn-ff (tgn-ff) - Monday, 20 September 2021, 03:01 GMT
Still there, on my end.