Mythtv did have links pointing at those original four fonts and started nagging me about this some time ago. I originally did not notice other negative effects, but recently I have found this error seems to preceed issues I am exploring with display of subtitles/closed captions.
The change may have resulted from a bug fix? https://bugs.debian.org/cgi-bin/bugrepo ... bug=762296 which resulted from duplicate font names.
(Also referred also in https://groups.google.com/forum/#!topic ... aQqfLBTtsk when this font was moved out of the normal directory structure that fontconfig scans.)
This new font package apparently contains all the needed Droid fonts (sans,bold,small,etc and the other language variants), but these do not seem to be recognized with fontconfig, which then is substituting Dejavu.
I tried reinstalling that droid package, a new /etc/fonts/local.conf file to include the directory in which it has been installed as well as in a weak moment changing that font file extension to ttc.
Web search results are conflicting: that the first font that matches any rule is used and overrides the local config and vice versa...
Am I missing part of the fontconfig configuration or is there some way of fixing this, perhaps using fontconfig to substitute another font with more options?
If this is a bug, where would the best place to file the report bugs.debian.org or bugs.freedesktop.org.
Thanks.
Wayne
Code: Select all
$ fc-match 'Droid Sans'
DejaVuSans.ttf: "DejaVu Sans" "Book"
Code: Select all
~$ FC_DEBUG=1 fc-match 'Droid Sans'
Best score 0 0 0 0 0 0 1000 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2.14733e+12
Pattern has 23 elts (size 23)
family: "DejaVu Sans"(w)
familylang: "en"(w)
style: "Book"(w)
stylelang: "en"(w)
fullname: "DejaVu Sans"(w)
fullnamelang: "en"(w)
Code: Select all
fc-cache -f -v
snip
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 22 fonts, 0 dirs
/usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs
snip
Code: Select all
$ fc-list | grep -i droid
/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf: Droid Sans Fallback:style=Regular
Code: Select all
$ cat /etc/fonts/local.conf
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--
/etc/fonts/fonts.conf
Draft rule to accept Droid replacing it with 'DroidSansFallbackFull'
to stop error with mythtv (repeated many times for bold,.etc.)
E MythFontProperties: Failed to load 'Droid Sans', got 'DejaVu Sans' instead
Currently this substitution/conf file is not working although
fc-cache does not complain - it did on earlier versions.
-->
<match target="pattern">
<test qual="any" name="family">
<string>Droid</string>
</test>
<edit name="family" mode="assign" binding="strong">
<string>DroidSansFallbackFull</string>
</edit>
</match>
<dir>/usr/share/fonts/truetype/droid</dir>
</fontconfig>