You are not logged in.

#1 2014-11-25 02:03:52

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

[SOLVED] - Firefox can not see fonts after fonts installs

Hi, I'm installing and config my first Arch installation. After install and config all the system now I am working in the look and feel of my system.

I recently installed a fonts. Copy a backup of diferent fonts in /usr/share/fonts. The fonts are:

[elrengo@xpsl421x .fonts]$ ls -l
total 272
drwx------ 1 elrengo users   4096 Sep  8  2010 AnonymousPro-1.002.001
drwx------ 1 elrengo users   4096 Sep  8  2010 AnonymousProMinus-1.002.001
drwx------ 1 elrengo users   4096 Feb 27  2011 dejavu-fonts-ttf-2.33
drwx------ 1 elrengo users   4096 Jun 10  2013 DroidFamily
drwx------ 1 elrengo users 135168 Jun  4  2012 googlefontdirectory
-rw------- 1 elrengo users  58464 Jun 10  2013 Inconsolata.otf
drwx------ 1 elrengo users  65536 Oct  3  2013 Windows7Fonts
[elrengo@xpsl421x .fonts]$ 

After that Firefox can not show all fonts. I try change the fonts, search fontconfig files in $HOME, reinstalling fontconfig, uninstall and re-install firefox with restore defaults but I do not see. I can not write too.

http://i.imgur.com/aIZvv6n.png


I need for your expirience!
Thanks in advance!
Regards




-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by elrengo (2014-11-29 02:26:45)

Offline

#2 2014-11-25 03:50:31

ponyrider
Member
Registered: 2014-11-18
Posts: 112

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Did you update your font cache?

sudo fc-cache -f -v

Offline

#3 2014-11-25 18:31:45

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Hi! When I re install the fontconfig packages run automatically the update font cache and not works.

Offline

#4 2014-11-25 20:05:44

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Do you have this:

<dir>~/.fonts</dir>

In your config? E.g. in /etc/fonts/fonts.conf

Offline

#5 2014-11-26 00:35:36

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: [SOLVED] - Firefox can not see fonts after fonts installs

<!-- Font directory list -->

        <dir>/usr/share/fonts</dir>
        <dir>/usr/share/fonts</dir>
        <dir prefix="xdg">fonts</dir>
        <!-- the following element will be removed in the future -->
        <dir>~/.fonts</dir>

<!--

I was installed all fonts in "/usr/share/fonts" because I have a hibrid disk (ssd + hhd) /home is mounted in hdd and / it's in ssd.

I ran again the "sudo fc-cache -f -v" but I nothing changes. sad

 [elrengo@xpsl421x ~]$ sudo fc-cache -f -v
[sudo] password for elrengo: 
/usr/share/fonts: caching, new cache contents: 1 fonts, 15 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/AnonymousPro-1.002.001: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/AnonymousProMinus-1.002.001: caching, new cache contents: 4 fonts, 0 dirs
/usr/share/fonts/DroidFamily: caching, new cache contents: 19 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 82 fonts, 0 dirs
/usr/share/fonts/Type1: caching, new cache contents: 35 fonts, 0 dirs
/usr/share/fonts/Windows7Fonts: caching, new cache contents: 306 fonts, 0 dirs
/usr/share/fonts/artwiz-fonts: caching, new cache contents: 49 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/dejavu-fonts-ttf-2.33: caching, new cache contents: 0 fonts, 2 dirs
/usr/share/fonts/dejavu-fonts-ttf-2.33/fontconfig: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/dejavu-fonts-ttf-2.33/ttf: caching, new cache contents: 21 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/googlefontdirectory: caching, new cache contents: 710 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 59 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
Re-scanning /usr/share/fonts: caching, new cache contents: 1 fonts, 15 dirs
Re-scanning /usr/share/fonts/dejavu-fonts-ttf-2.33: caching, new cache contents: 0 fonts, 2 dirs
Re-scanning /usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded

Last edited by elrengo (2014-11-26 00:40:37)

Offline

#6 2014-11-27 02:06:47

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Any news? anyone can provide some idea?
Thanks again!

Offline

#7 2014-11-27 14:25:55

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Check that your font files (and subdirectories) in /usr/share/fonts/ are world-readable.

Offline

#8 2014-11-27 14:43:37

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Hi! How I can do it?

The same fonts directorys I used in my old IBM OpenClient (RHEL6.5) with out any issue. When i was IBMer and use it's own linux distro based on RHEL.

Offline

#9 2014-11-27 16:34:30

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] - Firefox can not see fonts after fonts installs

find /usr/share/fonts -type d -print0 | xargs -0 chmod o=rx
find /usr/share/fonts -type f -print0 | xargs -0 chmod o=r

Offline

#10 2014-11-28 18:50:12

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Command output:

[elrengo@xpsl421x ~]$ find /usr/share/fonts -type d -print0 | xargs -0 chmod o=rx
chmod: changing permissions of ‘/usr/share/fonts’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/Type1’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/dejavu-fonts-ttf-2.33’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/dejavu-fonts-ttf-2.33/fontconfig’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/dejavu-fonts-ttf-2.33/ttf’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/DroidFamily’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/artwiz-fonts’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/AnonymousPro-1.002.001’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/100dpi’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/TTF’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/Windows7Fonts’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/75dpi’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/encodings’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/encodings/large’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/AnonymousProMinus-1.002.001’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/util’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/misc’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/googlefontdirectory’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/cyrillic’: Operation not permitted
[elrengo@xpsl421x ~]$ sudo find /usr/share/fonts -type d -print0 | xargs -0 chmod o=rx
[sudo] password for elrengo: 
chmod: changing permissions of ‘/usr/share/fonts’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/Type1’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/dejavu-fonts-ttf-2.33’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/dejavu-fonts-ttf-2.33/fontconfig’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/dejavu-fonts-ttf-2.33/ttf’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/DroidFamily’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/artwiz-fonts’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/AnonymousPro-1.002.001’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/100dpi’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/TTF’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/Windows7Fonts’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/75dpi’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/encodings’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/encodings/large’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/AnonymousProMinus-1.002.001’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/util’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/misc’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/googlefontdirectory’: Operation not permitted
chmod: changing permissions of ‘/usr/share/fonts/cyrillic’: Operation not permitted

the other return more fonts with the same leyend

Offline

#11 2014-11-28 20:56:52

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Become root, *then* run the commands I gave.

Your attempts at "sudo" don't work, because of the pipe.

Offline

#12 2014-11-29 02:26:10

elrengo
Member
From: Argentina
Registered: 2014-11-06
Posts: 56

Re: [SOLVED] - Firefox can not see fonts after fonts installs

Thanks! That's WORKS!!!!! smile

Offline

Board footer

Powered by FluxBB