SorkinType/Dekko

Minor tweaks

Closed this issue · 1 comments

The UPM changed from 1000 to 2048, which generally isn't good as it distorts the shapes and increases the file size a little. However, the file size went down by 50kb from the last release, despite the OTL tables getting bigger.

The vertical metrics were off:

$ fontbakery-fix-vertical-metrics.py *Reg*f
WARNING: Dekko-Regular.ttf has NOT even heights
Parameter              Dekko-Regular.ttf    
ymax                   2231                 
hhea.ascent            1920                 
OS/2.sTypoAscender     1902                 
OS/2.usWinAscent       1920                 
ymin                   -1112                
hhea.descent           -1068                
OS/2.sTypoDescender    -1068                
OS/2.usWinDescent      1068                 
hhea.lineGap           0                    
OS/2.sTypoLineGap      0                    
hhea total             2988                 
typo total             2970                 
win total              2988                 
UPM:Heights            2048:3343            
UPM:Heights %          163 %                

High Glyphs
Dekko-Regular.ttf: uni1EC2 uni093F0930094D0902 uni094B0930094D uni03080300.cap uni03020309.cap uni03020300.cap uni09480930094D0902 uni093F0930094D0902.0 uni03080301.cap uni093F.08 uni093F0930094D0902.15 uni0908 uni093F.05 uni03060301.cap uni093F0930094D.25 uni01DB uni093F.01 uni093F.02 uni093F.03 uni01D9 uni093F0930094D0902.08 uni0940 uni0947 uni0948 uni09470930094D0902 uni03060309.cap uni094B uni094C uni093F uni1ED2 uni1ED6 uni1ED4 uni093F.0 uni09480902 uni093F0930094D.35 uni09470902 uni09480930094D uni0308030C.cap uni0930094D0902 uni093F0930094D0902.20 uni093F0930094D0902.25 uni093F0930094D.20 uni093F0930094D.10 uni093F0930094D.15 uni093F.10 uni093F.15 uni094C0930094D uni094B0902 uni03060303.cap uni1EA8 uni01D7 uni09400930094D0902 uni093F0930094D uni0975 uni0971 uni093F.20 uni093F.25 uni0930094D0902.imatra uni09470930094D uni094B0930094D0902 uni1EAE uni1EAA uni093F0930094D0902.35 uni093F0930094D0902.30 uni093F0930094D.08 uni093F0930094D.05 uni093F0930094D.03 uni093F0930094D.02 uni093F0930094D.01 uni094F uni09400930094D0902.02 uni1EB0 uni1EB2 uni1EB4 uni093F0930094D.30 uni093F0930094D.0 uni09400930094D uni093F0930094D0902.05 uni093F0930094D0902.02 uni093F0930094D0902.03 uni093F0930094D0902.01 uni0914 uni0913 uni0910 uni093F0930094D0902.10 uni093F.30 uni093F.35 uni093F0902 uni094C0930094D0902 uni1EA6 uni0940.02 uni03060300.cap uni09400930094D.02 uni03020303.cap uni0950 uni0930094D.1

Low Glyphs
Dekko-Regular.ttf: uni094D09300941

So I set them to

$ fontbakery-fix-vertical-metrics.py --autofix *Reg*f;
$ mv Dekko-Regular.ttf.fix Dekko-Regular.ttf;
$ fontbakery-fix-vertical-metrics.py *Reg*f;
Parameter              Dekko-Regular.ttf    
ymax                   2231                 
hhea.ascent            2231                 
OS/2.sTypoAscender     2231                 
OS/2.usWinAscent       2231                 
ymin                   -1112                
hhea.descent           -1112                
OS/2.sTypoDescender    -1112                
OS/2.usWinDescent      1112                 
hhea.lineGap           0                    
OS/2.sTypoLineGap      0                    
hhea total             3343                 
typo total             3343                 
win total              3343                 
UPM:Heights            2048:3343            
UPM:Heights %          163 %         

The name table needed some adjustment:

<namerecord>s with a platformID="1" aren't needed so I removed them

Copyright regressed to

  Copyright &#169; 2014 Eben Sorkin. All rights reserved.

But should be

   Copyright (c) 2000, Modular Infotech, Pune, INDIA. Copyright (c) 2014, Sorkin Type Co, Boston, MA, USA (www.sorkintype.com)

Unique ID changed to

   1.001;UKWN;Dekko-Regular

I reverted it to

  EbenSorkin: Dekko: 2014

Version was not incremented, and with the metrics change, I set it to

  Version 2.001

The old version string had the full ttfautohint options which is useful to keep so in future please retain it :)

The PS-Name regressed to

  Dekko-Regular

I reverted it to

  Dekko

You lost all the licensing stuff, so I added it back.

The OS/2 table needed adjustment too:

<fsType value="00000000 00001000"/> 

Should be all 0

Vendor ID changed to

<achVendID value="UKWN"/>

I reverted it to

<achVendID value="STC "/>

I will integrate this into the fix for the candrabindu so that both the sources and the TTF has these values.

-e.

On Mar 2, 2015, at 7:32 AM, Dave Crossland notifications@github.com wrote:

The UPM changed from 1000 to 2048, which generally isn't good as it distorts the shapes and increases the file size a little. However, the file size went down by 50kb from the last release, despite the OTL tables getting bigger.

The vertical metrics were off:

$ fontbakery-fix-vertical-metrics.py _Reg_f
WARNING: Dekko-Regular.ttf has NOT even heights
Parameter Dekko-Regular.ttf
ymax 2231
hhea.ascent 1920
OS/2.sTypoAscender 1902
OS/2.usWinAscent 1920
ymin -1112
hhea.descent -1068
OS/2.sTypoDescender -1068
OS/2.usWinDescent 1068
hhea.lineGap 0
OS/2.sTypoLineGap 0
hhea total 2988
typo total 2970
win total 2988
UPM:Heights 2048:3343
UPM:Heights % 163 %

High Glyphs
Dekko-Regular.ttf: uni1EC2 uni093F0930094D0902 uni094B0930094D uni03080300.cap uni03020309.cap uni03020300.cap uni09480930094D0902 uni093F0930094D0902.0 uni03080301.cap uni093F.08 uni093F0930094D0902.15 uni0908 uni093F.05 uni03060301.cap uni093F0930094D.25 uni01DB uni093F.01 uni093F.02 uni093F.03 uni01D9 uni093F0930094D0902.08 uni0940 uni0947 uni0948 uni09470930094D0902 uni03060309.cap uni094B uni094C uni093F uni1ED2 uni1ED6 uni1ED4 uni093F.0 uni09480902 uni093F0930094D.35 uni09470902 uni09480930094D uni0308030C.cap uni0930094D0902 uni093F0930094D0902.20 uni093F0930094D0902.25 uni093F0930094D.20 uni093F0930094D.10 uni093F0930094D.15 uni093F.10 uni093F.15 uni094C0930094D uni094B0902 uni03060303.cap uni1EA8 uni01D7 uni09400930094D0902 uni093F0930094D uni0975 uni0971 uni093F.20 uni093F.25 uni0930094D0902.imatra uni09470930094D uni094B0930094D0902 uni1EAE uni1EAA uni093F0930094D0902.35 uni093F0930094D0902.30 uni093F0930094D.08 uni093F0930094D.05 uni093F0930094D.03 uni093F0930094D
.02 uni0
93F0930094D.01 uni094F uni09400930094D0902.02 uni1EB0 uni1EB2 uni1EB4 uni093F0930094D.30 uni093F0930094D.0 uni09400930094D uni093F0930094D0902.05 uni093F0930094D0902.02 uni093F0930094D0902.03 uni093F0930094D0902.01 uni0914 uni0913 uni0910 uni093F0930094D0902.10 uni093F.30 uni093F.35 uni093F0902 uni094C0930094D0902 uni1EA6 uni0940.02 uni03060300.cap uni09400930094D.02 uni03020303.cap uni0950 uni0930094D.1

Low Glyphs
Dekko-Regular.ttf: uni094D09300941
So I set them to

$ fontbakery-fix-vertical-metrics.py --autofix _Reg_f;
$ mv Dekko-Regular.ttf.fix Dekko-Regular.ttf;
$ fontbakery-fix-vertical-metrics.py _Reg_f;
Parameter Dekko-Regular.ttf
ymax 2231
hhea.ascent 2231
OS/2.sTypoAscender 2231
OS/2.usWinAscent 2231
ymin -1112
hhea.descent -1112
OS/2.sTypoDescender -1112
OS/2.usWinDescent 1112
hhea.lineGap 0
OS/2.sTypoLineGap 0
hhea total 3343
typo total 3343
win total 3343
UPM:Heights 2048:3343
UPM:Heights % 163 %
The name table needed some adjustment:

s with a platformID="1" aren't needed so I removed them

Copyright regressed to

Copyright © 2014 Eben Sorkin. All rights reserved.
But should be

Copyright (c) 2000, Modular Infotech, Pune, INDIA. Copyright (c) 2014, Sorkin Type Co, Boston, MA, USA (www.sorkintype.com)
Unique ID changed to

1.001;UKWN;Dekko-Regular
I reverted it to

EbenSorkin: Dekko: 2014
Version was not incremented, and with the metrics change, I set it to

Version 2.001
The old version string had the full ttfautohint options which is useful to keep so in future please retain it :)

The PS-Name regressed to

Dekko-Regular
I reverted it to

Dekko
You lost all the licensing stuff, so I added it back.

The OS/2 table needed adjustment too:

Should be all 0

Vendor ID changed to

I reverted it to — Reply to this email directly or view it on GitHub.