Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Jun 8, 2015 · 13 comments

Comments

@GoogleCodeExporter
Copy link

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

Yeah, noticed this.  Will take a look.

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

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

Behdad, any updates?

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

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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
Copy link
Author

@GoogleCodeExporter GoogleCodeExporter commented Jun 8, 2015

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

@behdad behdad self-assigned this Jun 8, 2015
@behdad
Copy link
Contributor

@behdad behdad commented Jun 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants