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

Font doesn't follow the Google Fonts CJK vertical metric schema #102

Open
rbanffy opened this issue Mar 13, 2022 · 0 comments
Open

Font doesn't follow the Google Fonts CJK vertical metric schema #102

rbanffy opened this issue Mar 13, 2022 · 0 comments

Comments

@rbanffy
Copy link
Owner

rbanffy commented Mar 13, 2022

com.google.fonts/check/cjk_vertical_metrics
Check font follows the Google Fonts CJK vertical metric schema
with gfonts_files/3270/3270-Regular.ttf

  Rationale:                                                                
  CJK fonts have different vertical metrics when compared to Latin fonts. We
  follow the schema developed by dr Ken Lunde for Source Han Sans and the   
  Noto CJK fonts.                                                           
                                                                            
  Our documentation includes further information:                           
  https://github.com/googlefonts/gf-docs/tree/main/Spec#cjk-vertical-metrics

 FAIL OS/2 fsSelection bit 7 must be disabled [code:                        
      bad-fselection-bit7]                                                  

 FAIL OS/2.sTypoAscender is "1600" it should be 1760.0                      
      [code: bad-OS/2.sTypoAscender]                                        

 FAIL OS/2.sTypoDescender is "-400" it should be -240.0                     
      [code: bad-OS/2.sTypoDescender]                                       

 FAIL hhea.lineGap is "180" it should be 0 [code:                           
      bad-hhea.lineGap]                                                     

 FAIL hhea.ascent must match OS/2.usWinAscent [code:                        
      ascent-mismatch]                                                      


Result: FAIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant