rizwan3d / noto

Automatically exported from code.google.com/p/noto
1 stars 0 forks source link

Noto Sans T Chinese font weight DemiLight and Regular is not distinguishable in fontconfig 2.11.0 #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Noto Sans T Chinese fonts to ~/.fonts/
2. exec fc-list 'Noto Sans T Chinese' family style weight

What is the expected output? What do you see instead?

Noto Sans T Chinese DemiLight should have a different weight with Regular but

Noto Sans T Chinese,Noto Sans T Chinese Regular:style=Regular:weight=80
Noto Sans T Chinese,Noto Sans T Chinese Black:style=Black,Bold:weight=210
Noto Sans T Chinese,Noto Sans T Chinese Thin:style=Thin,Regular:weight=0
Noto Sans T Chinese,Noto Sans T Chinese 
DemiLight:style=DemiLight,Regular:weight=80
Noto Sans T Chinese,Noto Sans T Chinese Bold:style=Bold:weight=200
Noto Sans T Chinese,Noto Sans T Chinese Medium:style=Medium,Regular:weight=100
Noto Sans T Chinese,Noto Sans T Chinese Light:style=Light,Regular:weight=50

In fontconfig the font weight between Regular and Light should Book=75

Also using GtkFontChooser which uses Pango, there is no DemiLight or Book but 
two Medium.

Original issue reported on code.google.com by ckanru on 16 Jul 2014 at 8:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by stua...@google.com on 16 Jul 2014 at 8:23

GoogleCodeExporter commented 9 years ago

Original comment by roozbeh@google.com on 16 Jul 2014 at 6:08

GoogleCodeExporter commented 9 years ago
Yeah, noticed this.  Will take a look.

Original comment by beh...@chromium.org on 16 Jul 2014 at 6:12

GoogleCodeExporter commented 9 years ago

Original comment by roozbeh@google.com on 16 Jul 2014 at 6:14

GoogleCodeExporter commented 9 years ago
Cross reference: https://github.com/adobe-fonts/source-han-sans/issues/5.

Original comment by ping...@google.com on 16 Jul 2014 at 6:38

GoogleCodeExporter commented 9 years ago
Behdad, any updates?

Original comment by roozbeh@google.com on 25 Jul 2014 at 6:58

GoogleCodeExporter commented 9 years ago
Fontconfig fixed:
https://bugs.freedesktop.org/show_bug.cgi?id=81453

Pango needs fixing.  Tracking that one here:
https://bugzilla.gnome.org/show_bug.cgi?id=733764

Original comment by behdad.e...@gmail.com on 25 Jul 2014 at 10:14

GoogleCodeExporter commented 9 years ago
Pango fixed.  See screenshots here: 
https://bugzilla.gnome.org/show_bug.cgi?id=733764

Original comment by behdad.e...@gmail.com on 26 Jul 2014 at 8:42

GoogleCodeExporter commented 9 years ago

Original comment by behdad@google.com on 26 Jul 2014 at 8:43

GoogleCodeExporter commented 9 years ago
It seems the newly introduced name is "Semi-Light", which is similar but not 
identical to the name "DemiLight" in the font. Is this intentional? Does it 
work correctly if I create my OpenOffice file on a Mac and later open it on 
Linux or vice versa?

Original comment by ping...@google.com on 27 Jul 2014 at 7:32

GoogleCodeExporter commented 9 years ago
The Semi-Light you see comes from Pango.  Fontconfig doesn't care.  It should 
work for all practical purposes.  I'm trying to fix the Pango display issue 
too, but that's just cosmetic.

Original comment by behdad@google.com on 27 Jul 2014 at 8:51

GoogleCodeExporter commented 9 years ago
Gtk+ Semi-Light vs DemiLight issue fixed: 
https://bugzilla.gnome.org/show_bug.cgi?id=734882

Original comment by behdad.e...@gmail.com on 15 Aug 2014 at 7:26