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

Vertical Metrics #14

Open
davelab6 opened this issue Mar 2, 2016 · 0 comments
Open

Vertical Metrics #14

davelab6 opened this issue Mar 2, 2016 · 0 comments

Comments

@davelab6
Copy link
Contributor

davelab6 commented Mar 2, 2016

The vertical metrics are today:

$ fontbakery-fix-vertical-metrics.py *ttf
Parameter              Shrikhand-Regular.ttf    
ymax                   1026                     
hhea.ascent            750                      
OS/2.sTypoAscender     750                      
OS/2.usWinAscent       850                      
ymin                   -432                     
hhea.descent           -250                     
OS/2.sTypoDescender    -250                     
OS/2.usWinDescent      350                      
hhea.lineGap           200                      
OS/2.sTypoLineGap      200                      
hhea total             1200                     
typo total             1200                     
win total              1200                     
UPM:Heights            1000:1458                
UPM:Heights %          145 %                    

High Glyphs
Shrikhand-Regular.ttf: Yacute Aacute Ntilde gjmEcandra gjmAI_Anusvara Otilde Cacute Icircumflex Aring Rcaron Agrave Edotaccent Abreve gjReph_Anusvara.matrai Lacute Gbreve Dcaron lacute gjReph Ncaron gjmI.01 gjCandrabindu gjAU gjAI Sacute Adieresis Odieresis gjmI Ecaron gjmII.alt gjOm gjmAU gjUU gjmAI gjmII_Reph.alt Ydieresis Ccaron Uring Iacute Ucircumflex Nacute Ocircumflex Atilde gjReph.matrai Zacute Eacute gjmE_Reph_Anusvara Idieresis Acircumflex gjmAI_Reph Tcaron Racute Egrave Ecircumflex gjReph_Anusvara gjmAI_Reph_Anusvara Oacute gjmI.02 Ugrave Idotaccent gjAnusvara.matrai gjmII Uhungarumlaut gjEcandra Uacute gjmII_Reph_Anusvara.alt gjmE_Reph gjmII_Anusvara.alt Zcaron gjmEcandra_Anusvara gjU gjO gjE Udieresis Igrave Scaron Edieresis gjmOcandra gjmE gjmO Ograve Zdotaccent gjmE_Anusvara gjmII_Reph gjOcandra gjmII_Reph_Anusvara gjmII_Anusvara Ohungarumlaut gjAnusvara

Low Glyphs
Shrikhand-Regular.ttf: gjTT_R uni013C uni013B gjTT_VA zerowidthjoiner uni0136 gjDD_R gjDD_DDA uni0156 gjDD_VA uni0137 uni0122 gjmvL Tcommaaccent gjTTH_TTHA gjmvLL gjDDH_DDHA gjTTH_R tcommaaccent gjCH_VA gjSHA_mvR gjD_BHA gjSS_TT_VA commaaccentcomb uni0157 gjC_CH_VA gjDD_DDHA gjDDH_R gjD_R uni0219 gjTT_TTA uni0146 uni0145 zerowidthnonjoiner gjmvRR uni0218 gjTT_TTHA

They should be

$ fontbakery-fix-vertical-metrics.py *ttf
Parameter              Shrikhand-Regular.ttf    
ymax                   1026                     
hhea.ascent            1026                     
OS/2.sTypoAscender     1026                     
OS/2.usWinAscent       1026                     
ymin                   -432                     
hhea.descent           -432                     
OS/2.sTypoDescender    -432                     
OS/2.usWinDescent      432                      
hhea.lineGap           0                        
OS/2.sTypoLineGap      0                        
hhea total             1458                     
typo total             1458                     
win total              1458                     
UPM:Heights            1000:1458                
UPM:Heights %          145 %  
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