You are not logged in.
In any application Arial looks like this
$ fc-match -a | grep arial
arial.ttf: "Arial" "Normal"
arialbd.ttf: "Arial" "Negreta"
ariali.ttf: "Arial" "Cursiva"
arialbi.ttf: "Arial" "Negreta cursiva"$ pacman -Qm | grep 'ubuntu\|ttf'
fontconfig-ubuntu 2.11.1-1
freetype2-ubuntu 2.5.2-4
ttf-tahoma 1:1.5.9-1
ttf-win7-fonts 7.1-8How to fix it?
Last edited by D101101 (2014-07-10 06:19:57)
Offline
Any ideas..?
Offline
Your fc-match command only tells us that Arial is installed. To find the font that is substituted when an application asks for Arial, use
$ fc-match ArialOnce you find what font is being used instead of Arial, you'll have to search through your font configuration files for the rule setting the substitution. Be aware that some DEs, such as Gnome and KDE, may set rules that overwrite the user configuration files.
Offline
$ fc-match Arial
arial.ttf: "Arial" "Normal"$ ls .config/fontconfig
ls: cannot access .config/fontconfig: No such file or directory$ for i in /etc/fonts/conf.d/*; do if grep '.rial' "$i"; then echo "$i";echo ""; fi; done 2>/dev/null
Arial Liberation Sans Arimo Albany Albany AMT
Arial Narrow Liberation Sans Narrow
e.g. Liberation Sans to Arial
e.g. Arial to Helvetica
e.g. Arial to Liberation Sans, Arimo, Albany, and Albany AMT
<family>Arial</family>
<family>Arial</family>
<family>Arial Narrow</family>
<family>Arial</family>
<family>Arial</family>
<family>Arial</family>
<family>Arial Narrow</family>
<family>Arial</family>
<family>Arial Narrow</family>
<family>Arial</family>
<family>Arial Narrow</family>
/etc/fonts/conf.d/30-metric-aliases.conf
<family>Arial</family>
/etc/fonts/conf.d/45-latin.conf
<family>Arial</family>
/etc/fonts/conf.d/60-latin.conf
<family>JG Lao Old Arial</family> <!-- lao -->
/etc/fonts/conf.d/65-nonlatin.conf
<family>Arial Unicode MS</family>
<family>Arial Unicode</family>
/etc/fonts/conf.d/69-unifont.confI use Xfce
Offline
Identifying the unwanted font could help solve this problem. If you have leafpad installed, after selecting Arial as the font to use in the editor window, try this command:
$ lsof | grep -i leafpad | egrep -i 'ttf|pfb'Other apps than leafpad will work, even firefox, while many apps will produce no font listing for the command. I chose leafpad because I have it installed and it uses just my theme fonts and the editor window font.
Offline
$ lsof | grep -i leafpad | egrep -i 'ttf|pfb'
leafpad 10000 sergey mem REG 8,2 741536 561407 /usr/share/fonts/TTF/DejaVuSans.ttf
leafpad 10000 sergey mem REG 8,2 335068 561324 /usr/share/fonts/TTF/DejaVuSansMono.ttf
leafpad 10000 sergey mem REG 8,2 778552 561366 /usr/share/fonts/TTF/arial.ttf
leafpad 10000 sergey mem REG 8,2 353824 561433 /usr/share/fonts/TTF/Ubuntu-R.ttfhm...
$ leafpad$ LC_ALL=C leafpadOffline
Are you sure the actual ttf file is correct, and not that messed-up font?
Matt
"It is very difficult to educate the educated."
Offline
$ pacman -Qo /usr/share/fonts/TTF/arial.ttf
/usr/share/fonts/TTF/arial.ttf is owned by ttf-win7-fonts 7.1-8sha256sums is ok...
Offline
Remove ANA-OneiroparmEni82, or repair that font, and your Arial problem will disappear. See http://lists.freedesktop.org/archives/f … 03984.html.
Offline
Thanks
$ rm ~/.fonts/* && fc-cache -vfsolved
Offline