impallari/Libre-Franklin

Vertical Metrics

davelab6 opened this issue · 1 comments

The vertical metrics were slightly off.

$ fontbakery-fix-vertical-metrics.py *ttf
Parameter              LibreFranklin-Black.ttf    LibreFranklin-BlackItalic.ttf    LibreFranklin-Bold.ttf    LibreFranklin-BoldItalic.ttf    LibreFranklin-ExtraBold.ttf    LibreFranklin-ExtraBoldItalic.ttf    LibreFranklin-ExtraLight.ttf    LibreFranklin-ExtraLightItalic.ttf    LibreFranklin-Italic.ttf    LibreFranklin-Light.ttf    LibreFranklin-LightItalic.ttf    LibreFranklin-Medium.ttf    LibreFranklin-MediumItalic.ttf    LibreFranklin-Regular.ttf    LibreFranklin-SemiBold.ttf    LibreFranklin-SemiBoldItalic.ttf    LibreFranklin-Thin.ttf    LibreFranklin-ThinItalic.ttf    
ymax                   965                        966                              964                       965                             964                            966                                  964                             964                                   964                         964                        965                              964                         965                               964                          964                           965                                 964                       964                             
hhea.ascent            964                        964                              964                       964                             964                            964                                  964                             964                                   964                         964                        964                              964                         964                               964                          964                           964                                 964                       964                             
OS/2.sTypoAscender     964                        964                              964                       964                             964                            964                                  964                             964                                   964                         964                        964                              964                         964                               964                          964                           964                                 964                       964                             
OS/2.usWinAscent       964                        964                              964                       964                             964                            964                                  964                             964                                   964                         964                        964                              964                         964                               964                          964                           964                                 964                       964                             
ymin                   -246                       -246                             -243                      -243                            -245                           -245                                 -237                            -237                                  -239                        -238                       -238                             -240                        -240                              -239                         -242                          -242                                -236                      -236                            
hhea.descent           -286                       -286                             -286                      -286                            -286                           -286                                 -286                            -286                                  -286                        -286                       -286                             -286                        -286                              -286                         -286                          -286                                -286                      -286                            
OS/2.sTypoDescender    -286                       -286                             -286                      -286                            -286                           -286                                 -286                            -286                                  -286                        -286                       -286                             -286                        -286                              -286                         -286                          -286                                -286                      -286                            
OS/2.usWinDescent      286                        286                              286                       286                             286                            286                                  286                             286                                   286                         286                        286                              286                         286                               286                          286                           286                                 286                       286                             
hhea.lineGap           0                          0                                0                         0                               0                              0                                    0                               0                                     0                           0                          0                                0                           0                                 0                            0                             0                                   0                         0                               
OS/2.sTypoLineGap      0                          0                                0                         0                               0                              0                                    0                               0                                     0                           0                          0                                0                           0                                 0                            0                             0                                   0                         0                               
hhea total             1250                       1250                             1250                      1250                            1250                           1250                                 1250                            1250                                  1250                        1250                       1250                             1250                        1250                              1250                         1250                          1250                                1250                      1250                            
typo total             1250                       1250                             1250                      1250                            1250                           1250                                 1250                            1250                                  1250                        1250                       1250                             1250                        1250                              1250                         1250                          1250                                1250                      1250                            
win total              1250                       1250                             1250                      1250                            1250                           1250                                 1250                            1250                                  1250                        1250                       1250                             1250                        1250                              1250                         1250                          1250                                1250                      1250                            
UPM:Heights            1000:1211                  1000:1212                        1000:1207                 1000:1208                       1000:1209                      1000:1211                            1000:1201                       1000:1201                             1000:1203                   1000:1202                  1000:1203                        1000:1204                   1000:1205                         1000:1203                    1000:1206                     1000:1207                           1000:1200                 1000:1200                       
UPM:Heights %          121 %                      121 %                            120 %                     120 %                           120 %                          121 %                                120 %                           120 %                                 120 %                       120 %                      120 %                            120 %                       120 %                             120 %                        120 %                         120 %                               120 %                     120 %                           

High Glyphs
LibreFranklin-Black.ttf: Hcircumflex Icircumflex Ycircumflex Jcircumflex Ucircumflex Ocircumflex Gcircumflex Acircumflex Ecircumflex Scircumflex Ccircumflex Wcircumflex
LibreFranklin-BlackItalic.ttf: Hcircumflex Yacute Cacute Icircumflex Uhungarumlaut Lacute lacute Ycircumflex Jcircumflex Ucircumflex Uacute Oslashacute Ocircumflex Gcircumflex Sacute uni020C uni01F4 Zacute Eacute uni0208 uni0204 uni0200 Acircumflex AEacute Racute Ecircumflex Aacute Oacute Wacute Scircumflex uni0214 uni0210 Ccircumflex Nacute Iacute Wcircumflex Ohungarumlaut
LibreFranklin-BoldItalic.ttf: Yacute Cacute Uhungarumlaut Lacute lacute Uacute Oslashacute Sacute uni020C uni01F4 Zacute Eacute uni0208 uni0204 uni0200 AEacute Racute Aacute Oacute Wacute uni0214 uni0210 Nacute Iacute Ohungarumlaut
LibreFranklin-ExtraBoldItalic.ttf: Yacute Cacute Uhungarumlaut Lacute lacute Uacute Oslashacute Sacute uni020C uni01F4 Zacute Eacute uni0208 uni0204 uni0200 AEacute Racute Aacute Oacute Wacute uni0214 uni0210 Nacute Iacute Ohungarumlaut
LibreFranklin-LightItalic.ttf: Uhungarumlaut Ohungarumlaut
LibreFranklin-MediumItalic.ttf: Uhungarumlaut Ohungarumlaut
LibreFranklin-SemiBoldItalic.ttf: Yacute Cacute Uhungarumlaut Lacute lacute Uacute Oslashacute Sacute uni020C uni01F4 Zacute Eacute uni0208 uni0204 uni0200 AEacute Racute Aacute Oacute Wacute uni0214 uni0210 Nacute Iacute Ohungarumlaut


$ fontbakery-fix-vertical-metrics.py *ttf --autofix;
$ fontbakery-fix-vertical-metrics.py *ttf.fix;
Parameter              LibreFranklin-Black.ttf.fix    LibreFranklin-BlackItalic.ttf.fix    LibreFranklin-Bold.ttf.fix    LibreFranklin-BoldItalic.ttf.fix    LibreFranklin-ExtraBold.ttf.fix    LibreFranklin-ExtraBoldItalic.ttf.fix    LibreFranklin-ExtraLight.ttf.fix    LibreFranklin-ExtraLightItalic.ttf.fix    LibreFranklin-Italic.ttf.fix    LibreFranklin-Light.ttf.fix    LibreFranklin-LightItalic.ttf.fix    LibreFranklin-Medium.ttf.fix    LibreFranklin-MediumItalic.ttf.fix    LibreFranklin-Regular.ttf.fix    LibreFranklin-SemiBold.ttf.fix    LibreFranklin-SemiBoldItalic.ttf.fix    LibreFranklin-Thin.ttf.fix    LibreFranklin-ThinItalic.ttf.fix    
ymax                   965                            966                                  964                           965                                 964                                966                                      964                                 964                                       964                             964                            965                                  964                             965                                   964                              964                               965                                     964                           964                                 
hhea.ascent            966                            966                                  966                           966                                 966                                966                                      966                                 966                                       966                             966                            966                                  966                             966                                   966                              966                               966                                     966                           966                                 
OS/2.sTypoAscender     966                            966                                  966                           966                                 966                                966                                      966                                 966                                       966                             966                            966                                  966                             966                                   966                              966                               966                                     966                           966                                 
OS/2.usWinAscent       966                            966                                  966                           966                                 966                                966                                      966                                 966                                       966                             966                            966                                  966                             966                                   966                              966                               966                                     966                           966                                 
ymin                   -246                           -246                                 -243                          -243                                -245                               -245                                     -237                                -237                                      -239                            -238                           -238                                 -240                            -240                                  -239                             -242                              -242                                    -236                          -236                                
hhea.descent           -246                           -246                                 -246                          -246                                -246                               -246                                     -246                                -246                                      -246                            -246                           -246                                 -246                            -246                                  -246                             -246                              -246                                    -246                          -246                                
OS/2.sTypoDescender    -246                           -246                                 -246                          -246                                -246                               -246                                     -246                                -246                                      -246                            -246                           -246                                 -246                            -246                                  -246                             -246                              -246                                    -246                          -246                                
OS/2.usWinDescent      246                            246                                  246                           246                                 246                                246                                      246                                 246                                       246                             246                            246                                  246                             246                                   246                              246                               246                                     246                           246                                 
hhea.lineGap           0                              0                                    0                             0                                   0                                  0                                        0                                   0                                         0                               0                              0                                    0                               0                                     0                                0                                 0                                       0                             0                                   
OS/2.sTypoLineGap      0                              0                                    0                             0                                   0                                  0                                        0                                   0                                         0                               0                              0                                    0                               0                                     0                                0                                 0                                       0                             0                                   
hhea total             1212                           1212                                 1212                          1212                                1212                               1212                                     1212                                1212                                      1212                            1212                           1212                                 1212                            1212                                  1212                             1212                              1212                                    1212                          1212                                
typo total             1212                           1212                                 1212                          1212                                1212                               1212                                     1212                                1212                                      1212                            1212                           1212                                 1212                            1212                                  1212                             1212                              1212                                    1212                          1212                                
win total              1212                           1212                                 1212                          1212                                1212                               1212                                     1212                                1212                                      1212                            1212                           1212                                 1212                            1212                                  1212                             1212                              1212                                    1212                          1212                                
UPM:Heights            1000:1211                      1000:1212                            1000:1207                     1000:1208                           1000:1209                          1000:1211                                1000:1201                           1000:1201                                 1000:1203                       1000:1202                      1000:1203                            1000:1204                       1000:1205                             1000:1203                        1000:1206                         1000:1207                               1000:1200                     1000:1200                           
UPM:Heights %          121 %                          121 %                                120 %                         120 %                               120 %                              121 %                                    120 %                               120 %                                     120 %                           120 %                          120 %                                120 %                           120 %                                 120 %                            120 %                             120 %                                   120 %                         120 %                               

$  rename -f s/ttf.fix/ttf/g *;

Oh... I need to port my production FL scripts to Glyphs... to double-check for this shit.
Fixed now.