Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

CJK: fontconfig cannot distinguish between Thin and Light #200

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

Comments

@GoogleCodeExporter
Copy link

1. Install 'Noto Sans CJK' OTC (all weights) or super OTC on Linux

2. Go to the following page in Firefox 
 https://deb53d85a427140a6e10ee61e1ceb3408c8407f2.googledrive.com/host/0B153_ao11p4QR2s3RWRXMUhJa1U/notosanscjk_weights.html


3. In the column 2 (Local Font), requesting css weight=100 and 300 give 'Light' 
(fsWeight=300) in Firefox. 

This is because fontconfig maps both fsWeight=250 and fsWeight=300 to 
fontconfigWeight=50.  

Behdad made a change in fontconfig in July to distinguish them in the 
fontconfig trunk. A new release will be made soon. We have to evangelize Linux 
distro builders to update fontconfig to an upcoming new release. 


I'll update fontconfig on Chrome OS, but 
Chrome/Blink on Linux/Chrome OS has a lot more serious issue (it can only use 
two weights at the moment. See http://crbug.com/368442 ) 

Original issue reported on code.google.com by jungs...@google.com on 12 Nov 2014 at 11:55

@GoogleCodeExporter
Copy link
Author

See the screenshot at  http://goo.gl/iqY88f  (LHS is Firefox). When 
fsWeight=100 was used for Thin, Thin (css weight requested = 100) and Light 
(css weight requested = 300) are distinguished by Firefox (because fontconfig 
maps fsweight=100 to fontconfigWeight=0 and fsweight=300 to fontconfigWeight = 
50). 

Original comment by jshin@chromium.org on 13 Nov 2014 at 12:26

@GoogleCodeExporter
Copy link
Author

Let's keep separate this from bug 199 because this issue can be dealt with an 
upcoming fontconfig release (I'm waiting for the official release before 
upgrading fc on CrOS). 

Original comment by jshin@chromium.org on 27 Jan 2015 at 6:49

@behdad
Copy link
Contributor

behdad commented Jun 8, 2015

@ghost
Copy link

ghost commented Jun 10, 2015

Moved to notofonts/noto-cjk#22

@ghost ghost closed this as completed Jun 10, 2015
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants