You are not logged in.

#1 2015-03-11 12:11:19

xanb
Member
Registered: 2012-07-24
Posts: 418

[solved] Firefox displays ugly fonts and chromium good fonts?

Hi,

When I go to some pages (for example github), I see those pages with ugly fonts in firefox while with good fonts in Chromium. I have the defaults settings.
Can you look at this and see what I say (zoom it).

Any hints?

Thanks in advance,

Last edited by xanb (2015-03-11 14:45:19)


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#2 2015-03-11 12:50:05

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

That's as meaningful as "Nvidia gives me good graphics, AMD doesn't". Please provide some detail: GPU+drivers, recent updates, desktop environment or lack thereof, font settings and packages, DPI and monitor, wiki articles you have followed, and so on.

Last edited by Alad (2015-03-11 12:52:10)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2015-03-11 13:06:10

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

There are a number of threads on the forums dealing with firefox, github, and fonts. Just search for those three terms.

Offline

#4 2015-03-11 14:40:47

xanb
Member
Registered: 2012-07-24
Posts: 418

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

I found it here the same problem. The solution disable bitmap fonts:

$ sudo ln -s /etc/fonts/conf.avail/70-no-bitmaps.conf /etc/fonts/conf.d/

Why this section is removed in new versions of Firefox Wiki page?


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#5 2015-03-11 14:53:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

Offline

#6 2015-03-12 12:33:06

xanb
Member
Registered: 2012-07-24
Posts: 418

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

The changelog says that Firefox instructions are put in Fonts Page. But in the Fonts page there is no tricky for the Firefox. Perhaps in the "Disable bitmap fonts" section we should refer to Firefox problems, don't we?


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#7 2015-03-12 13:04:32

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

You could add a sentence to the Firefox article linking to Font configuration.

It would be better though if that sentence would include an actual reason why Firefox struggles with bitmap fonts, compared to Chrome (40+?) - "It can happen that" is not really statisfactory.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#8 2015-03-12 14:26:32

xanb
Member
Registered: 2012-07-24
Posts: 418

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

Alad wrote:

You could add a sentence to the Firefox article linking to Font configuration.

It would be better though if that sentence would include an actual reason why Firefox struggles with bitmap fonts, compared to Chrome (40+?) - "It can happen that" is not really statisfactory.

Better if you do. Perhaps you know the reasons of bad behaviour of Firefox. I don't


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#9 2015-03-12 18:36:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

I'm not sure I understand. Are you sure it's a firefox-exclusive issue? If not, it belongs to a fonts article.
D you want to post a hint in https://wiki.archlinux.org/index.php/Fi … eaks#Fonts  with a link directly to
https://wiki.archlinux.org/index.php/Fo … tmap_fonts ?

Offline

#10 2015-03-13 14:25:30

xanb
Member
Registered: 2012-07-24
Posts: 418

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

Done: firefox tricks...


Owning one OpenRC (artoo way) and other three systemd machines

Offline

#11 2015-03-13 15:11:15

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

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

xanb wrote:

ugly fonts in firefox while with good fonts in Chromium. I have the defaults settings.

It's chrome that is naughty.

Do your eyes a favour - install Infinality's rendering via bohoomil's packages wink

And yes, bitmap fonts should be *disabled*, e.g. in the fontconfig rules:

    <!-- Prevent Gnome from using embedded bitmaps in fonts like Calibri -->
    <match target="font">
        <edit name="embeddedbitmap" mode="assign"><bool>false</bool></edit>
    </match>

    <!-- Reject bitmap fonts in favour of Truetype, Postscript, etc. -->
    <selectfont><rejectfont><pattern>
        <patelt name="scalable"><bool>false</bool></patelt>
    </pattern></rejectfont></selectfont>

    <!-- Substitute truetype fonts for bitmap ones -->
    <match target="font">
        <edit name="prefer_outline"><bool>true</bool></edit>
    </match>

Offline

#12 2015-03-13 15:41:07

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [solved] Firefox displays ugly fonts and chromium good fonts?

brebs wrote:
xanb wrote:

ugly fonts in firefox while with good fonts in Chromium. I have the defaults settings.

It's chrome that is naughty.

See, that's what I meant with reasoning. You'd rather include a note in the Chromium article explaining why the browser won't behave WRT fonts.

Last edited by Alad (2015-03-13 15:42:34)


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB