wangwhai / noto

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

clean up OS/2 table in Noto Khmer #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. ulUnicodeRange has bogus bits set. That is. the bits for uncovered Unicode 
ranges are set. 

2. Noto Serif Khmer Regular has usWeight set to 300 (light) instead of 400 
(regular/normal). 

reference : 

http://www.microsoft.com/typography/otspec/os2.htm#wtc

Original issue reported on code.google.com by jungs...@google.com on 30 Apr 2013 at 8:08

GoogleCodeExporter commented 9 years ago
Basic Latin : 33/95 : digits and punctuations  : bit 0
Khmer : 114/114    : bit 80
Khmer symbols: 32/32 : bit 80
General Punct: 2/107 : ZWJ, ZWNJ   : bit 31
Geometric Shapes: 1/96 : Dotted Circle (U+25CC) : bit 45

bit 80 must be set. bit 0 may be set. bit 31 and bit 45 might be set. 

Original comment by jungs...@google.com on 30 Apr 2013 at 8:16

GoogleCodeExporter commented 9 years ago
ulCodepageRange also has bogus bits set.  

Original comment by jungs...@google.com on 30 Apr 2013 at 11:27

GoogleCodeExporter commented 9 years ago
bWeight in Panose is also incorrectly set in some fonts. It should be "book" 
(5) for regular and "bold" (8) for bold. 

Original comment by jshin@chromium.org on 2 May 2013 at 5:20

GoogleCodeExporter commented 9 years ago

Original comment by roozbeh@google.com on 26 Dec 2013 at 9:01

GoogleCodeExporter commented 9 years ago
ulUnicodeRange, ulCodePageRange, and bWeight are quite inconsistently set 
across the fonts. They are not really used by anything we know of or care about 
either. I'd assume those will be fixed in a later phase across all fonts if we 
really care.

usWeight is fixed in 
https://code.google.com/p/noto/source/detail?r=897270fbc48f149f4fceede6ca261efe9
4625b92.

Original comment by roozbeh@google.com on 1 Nov 2014 at 11:03