You are not logged in.

#1 2018-04-09 21:34:55

Potomac
Member
Registered: 2011-12-25
Posts: 528

[noto-fonts] fonts are too big in firefox

Hello,

since the update of noto-fonts package ((20171025-3 -> 20180322-1) I notice that the height of the noto-fonts is higher than the previous version,

I can notice the difference in firefox  for the menu and title tabs,

example with noto-fonts 20180322-1:

250ad8108438e17dcabf24abe7b4af77decc79f0.png

and then with noto-fonts 20171025-3, the font height seems different:

2d0833491253588d85bc9f13a2d218102f84622a.png

I use plasma as desktop manager, oxygen theme, and this fontconfig configuration file :

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit name="lcdfilter" mode="assign">
   <const>lcddefault</const>
  </edit>
 </match>
 <!-- Reject bitmap fonts -->
 <selectfont>
  <rejectfont>
   <pattern>
    <patelt name="scalable">
     <bool>false</bool>
    </patelt>
   </pattern>
  </rejectfont>
 </selectfont>
 <dir>~/.fonts</dir>
 <alias binding="same">
  <family>Helvetica</family>
  <accept>
   <family>Liberation Sans</family>
  </accept>
 </alias>
 <alias binding="same">
  <family>Times</family>
  <accept>
   <family>Liberation Serif</family>
  </accept>
 </alias>
</fontconfig>

is it a bug ?

thanks

Last edited by Potomac (2018-04-09 21:40:53)

Offline

#2 2018-04-10 10:57:52

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: [noto-fonts] fonts are too big in firefox

I don't quite use Firefox, but most of the terminal emulators I use got screwed up since the new noto fonts was released. Downgrading solved the problem.
(Affected were terminator, lxterminal; xfce4-terminal and xterm were unaffected.)

So I think this might be related somehow.

Offline

#3 2018-04-10 16:10:54

Potomac
Member
Registered: 2011-12-25
Posts: 528

Re: [noto-fonts] fonts are too big in firefox

could it be a bug trigerred by a graphic driver ?

I use the radeon driver (amd radeon HD4650 pcie), maybe a bug in a graphic driver can cause a bad font rendering for noto-sans font ?

Last edited by Potomac (2018-04-10 16:11:18)

Offline

#4 2018-04-11 14:02:23

frebib
Member
Registered: 2018-04-07
Posts: 3

Re: [noto-fonts] fonts are too big in firefox

I'd like to add that I'm noticing this behaviour too. It's quite frustrating

It seems to happen in any GTK application, and QT too (I think)

Last edited by frebib (2018-04-11 14:02:58)

Offline

#5 2018-04-16 14:30:38

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: [noto-fonts] fonts are too big in firefox

I am using a Dell XPS 13, with an Intel HD620. I agree that something in the GTK packages is probably to blame.

Offline

#6 2018-04-21 16:31:58

ubone
Member
Registered: 2014-08-31
Posts: 47

Re: [noto-fonts] fonts are too big in firefox

Looks like hinting full. You could try add it with something like:

  <!-- Noto Sans -->
  <match target="font">
    <test name="force_autohint">
      <bool>false</bool>
    </test>
    <test name="family">
      <string>Noto Sans</string>
    </test>
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
    <edit name="autohint" mode="assign">
      <bool>false</bool>
    </edit>
    <edit name="hintstyle" mode="assign">
      <const>hintfull</const>
    </edit>
  </match>

Offline

#7 2018-04-21 16:45:03

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Re: [noto-fonts] fonts are too big in firefox

ubone wrote:

Looks like hinting full. You could try add it with something like:

To those of us who are not expert in setting up fonts manually, can you be a bit more specific as to where to put this?

Offline

#8 2018-04-21 18:55:08

seth
Member
Registered: 2012-09-03
Posts: 51,029

Offline

#9 2018-05-12 10:16:21

johan.cb
Member
From: Leipzig, Germany
Registered: 2016-07-10
Posts: 62

Re: [noto-fonts] fonts are too big in firefox

Hi Potomac,

set the font antialiasing to light. That fixed the ugly fonts in GTK programs for me.

Offline

Board footer

Powered by FluxBB