Results 1 to 7 of 7

Thread: Fonts broken in chrome firefox chromium GTK Pango SOLVED

  1. #1
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,085

    Talking Fonts broken in chrome firefox chromium GTK Pango SOLVED

    I managed to break my fonts by simply copying my fonts directory over from my old MSWinXP install.

    (12.2, KDE 4.9.3)

    Starting certain apps notably Firefox, chromium and nvidia-settings from console gave the following type of error:

    Code:
    ~> nvidia-settings 
    
    
    (nvidia-settings:7369): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Arial 9'
    
    
    (nvidia-settings:7369): Pango-WARNING **: font_face status is: out of memory
    
    
    (nvidia-settings:7369): Pango-WARNING **: scaled_font status is: out of memory
    
    
    (nvidia-settings:7369): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Arial 9', text='●'
    
    
    (nvidia-settings:7369): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Arial 8.251953125'
    
    
    (nvidia-settings:7369): Pango-WARNING **: font_face status is: out of memory
    
    
    (nvidia-settings:7369): Pango-WARNING **: scaled_font status is: out of memory
    
    
    (nvidia-settings:7369): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Arial 8.251953125', text='The quick brown fox jumps over the lazy dog.'
    I solved it by changing the permissiions of /usr/share/fonts, thus:

    Code:
    sudo chmod -Rv 775 /usr/share/fonts/
    I am sure that experts may have advice on what I did wrong, and on whether my solution was a proper one, but it has worked. I am only making this post so that the title will show up in searches, so that if anyone else makes a similar mistake, they can at least find this work around and get back to a working internet browser!
    Mods/admins please feel free to do as you wish with it...

    This is essentially a duplicate of my cry for help here:
    http://forums.opensuse.org/english/g...um-broken.html

    Tumbleweed/KDE/Ati Radeon R9 270/AMD FX-6300/8Gb DDR3

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: Fonts broken in chrome firefox chromium GTK Pango SOLVED

    You cannot simply copy over fonts from XP. To get the MS fonts in your openSUSE you have to install " fetchmsttffonts ", this pulls in the free MS fonts.
    Changing permissions of system folders is not the way to go. One step further would allow anybody to completely remove the /usr/share/fonts folder.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,085

    Default Re: Fonts broken in chrome firefox chromium GTK Pango SOLVED

    Quote Originally Posted by Knurpht View Post
    You cannot simply copy over fonts from XP. To get the MS fonts in your openSUSE you have to install " fetchmsttffonts ", this pulls in the free MS fonts.
    Changing permissions of system folders is not the way to go. One step further would allow anybody to completely remove the /usr/share/fonts folder.

    Point taken, Knurpht. I tried searching YAST for msttfonts, but obv with the 'fetch' needlessly tacked on to the front it did not find...

    What permissions should be on the fonts folder and its sub-folders?

    Tumbleweed/KDE/Ati Radeon R9 270/AMD FX-6300/8Gb DDR3

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: Fonts broken in chrome firefox chromium GTK Pango SOLVED

    Quote Originally Posted by wakou View Post
    Point taken, Knurpht. I tried searching YAST for msttfonts, but obv with the 'fetch' needlessly tacked on to the front it did not find...

    What permissions should be on the fonts folder and its sub-folders?
    Aargh, sorry, I put an "f" too much in the name. Search for " fetchmsttfonts " and it will show up. BTW the package is in OSS.

    On the permissions: folders need to be "root:root", 755, files need to be "root:root", 644
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #5
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,085

    Default Re: Fonts broken in chrome firefox chromium GTK Pango SOLVED

    TYVM Knurpht..! I shall put them right ASAP...

    Tumbleweed/KDE/Ati Radeon R9 270/AMD FX-6300/8Gb DDR3

  6. #6
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,085

    Default Re: Fonts broken in chrome firefox chromium GTK Pango SOLVED

    Quote Originally Posted by Knurpht, from the other thread
    Mmmm, I guess there should be better ways to import fonts, maybe at user level.
    Surely Knurpht the method I used, although as, you kindly point out, wrong in many ways, with a bit of care is a good way to get more fonts, including the MS ones, on to an openSUSE system. I now have about a kazillion fonts, 98% of which are ugly and useless, but hey, I have the choice!

    Most openSUSE users do have somewhere a licenced copy of MSWin, even if an old copy of Win 3.11, on an old laptop, in a virtual install, or on a partner or other relative's PC. The fonts are held in one folder, and can just be copied. Someone like yourself, expert in the dark arts of linux could advise where they should be put, and what permissions to apply to them, and hey presto! Job done?

    Tumbleweed/KDE/Ati Radeon R9 270/AMD FX-6300/8Gb DDR3

  7. #7

    Default Re: Fonts broken in chrome firefox chromium GTK Pango SOLVED

    On 11/15/2012 06:46 AM, wakou pecked at the keyboard and wrote:
    > Knurpht, from the other thread Wrote:
    >> Mmmm, I guess there should be better ways to import fonts, maybe at user
    >> level.

    > Surely Knurpht the method I used, although as, you kindly point out,
    > wrong in many ways, with a bit of care is a good way to get more fonts,
    > including the MS ones, on to an openSUSE system. I now have about a
    > kazillion fonts, 98% of which are ugly and useless, but hey, I have the
    > choice!
    >
    > Most openSUSE users do have somewhere a licenced copy of MSWin, even if
    > an old copy of Win 3.11, on an old laptop, in a virtual install, or on a
    > partner or other relative's PC. The fonts are held in one folder, and
    > can just be copied. Someone like yourself, expert in the dark arts of
    > linux could advise where they should be put, and what permissions to
    > apply to them, and hey presto! Job done?
    >
    >


    Try looking under /usr/share/fonts

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •