Skip to content

Commit 91ce4ee

Browse files
committed
Updating the PL character heights to align better in Windows Terminal
1 parent d0b2e14 commit 91ce4ee

43 files changed

Lines changed: 9097 additions & 8342 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

build.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -151,23 +151,23 @@ def build_variable_fonts(designspace, *steps):
151151

152152
print(f"[{familyName}] Done: {file_path}")
153153

154-
print(f"[{familyName}] Compiling CFF2")
155-
file_path_cff2 = (OUTPUT_DIR / file_stem).with_suffix(f".otf")
154+
#print(f"[{familyName}] Compiling CFF2")
155+
#file_path_cff2 = (OUTPUT_DIR / file_stem).with_suffix(f".otf")
156156
#Do not optimize, because we have to do it again after autohinting.
157-
varFontCFF2 = ufo2ft.compileVariableCFF2(designspace,
158-
inplace=True,
159-
useProductionNames=True,
160-
optimizeCFF=ufo2ft.CFFOptimization.NONE,
161-
)
157+
#varFontCFF2 = ufo2ft.compileVariableCFF2(designspace,
158+
# inplace=True,
159+
# useProductionNames=True,
160+
# optimizeCFF=ufo2ft.CFFOptimization.NONE,
161+
#)
162162

163-
print(f"[{familyName}] Adding STAT table")
164-
styleSpace = classes.Stylespace.from_file(INPUT_DIR / "STAT.plist")
165-
lib.apply_stylespace_to_variable_font(styleSpace,varFontCFF2,{})
163+
#print(f"[{familyName}] Adding STAT table")
164+
#styleSpace = classes.Stylespace.from_file(INPUT_DIR / "STAT.plist")
165+
#lib.apply_stylespace_to_variable_font(styleSpace,varFontCFF2,{})
166166

167-
print(f"[{familyName}] Saving")
168-
varFontCFF2.save(file_path_cff2)
167+
#print(f"[{familyName}] Saving")
168+
#varFontCFF2.save(file_path_cff2)
169169

170-
print(f"[{familyName}] Done: {file_path_cff2}")
170+
#print(f"[{familyName}] Done: {file_path_cff2}")
171171

172172
if __name__ == "__main__":
173173
parser = argparse.ArgumentParser(description="build some fonts")

sources/nerdfonts/NerdfontsPL.ufo/fontinfo.plist

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,21 @@
2020
<key>y</key>
2121
<integer>2226</integer>
2222
</dict>
23+
<dict>
24+
<key>angle</key>
25+
<integer>0</integer>
26+
<key>x</key>
27+
<integer>1093</integer>
28+
<key>y</key>
29+
<integer>-580</integer>
30+
</dict>
2331
<dict>
2432
<key>angle</key>
2533
<integer>0</integer>
2634
<key>x</key>
2735
<integer>1198</integer>
2836
<key>y</key>
29-
<integer>1900</integer>
37+
<integer>2002</integer>
3038
</dict>
3139
</array>
3240
<key>italicAngle</key>
@@ -55,18 +63,6 @@
5563
<integer>1978</integer>
5664
<key>openTypeOS2WinDescent</key>
5765
<integer>480</integer>
58-
<key>postscriptBlueValues</key>
59-
<array/>
60-
<key>postscriptFamilyBlues</key>
61-
<array/>
62-
<key>postscriptFamilyOtherBlues</key>
63-
<array/>
64-
<key>postscriptOtherBlues</key>
65-
<array/>
66-
<key>postscriptStemSnapH</key>
67-
<array/>
68-
<key>postscriptStemSnapV</key>
69-
<array/>
7066
<key>postscriptUnderlinePosition</key>
7167
<integer>-100</integer>
7268
<key>postscriptUnderlineThickness</key>

sources/nerdfonts/NerdfontsPL.ufo/glyphs.public.background/contents.plist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5+
<key>uniE0A0.stypo</key>
6+
<string>uniE_0A_0.stypo.glif</string>
7+
<key>uniE0A3</key>
8+
<string>uniE_0A_3.glif</string>
59
<key>uniE0B5</key>
610
<string>uniE_0B_5.glif</string>
11+
<key>uniE0B5.stypo</key>
12+
<string>uniE_0B_5.stypo.glif</string>
713
<key>uniE0C1</key>
814
<string>uniE_0C_1.glif</string>
15+
<key>uniE0C1.stypo</key>
16+
<string>uniE_0C_1.stypo.glif</string>
917
</dict>
1018
</plist>
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<glyph name="uniE0A0.stypo" format="2">
3+
<outline>
4+
<contour>
5+
<point x="168" y="1900" type="line"/>
6+
<point x="168" y="642" type="line"/>
7+
<point x="444" y="820" type="line"/>
8+
<point x="444" y="1900" type="line"/>
9+
</contour>
10+
<contour>
11+
<point x="168" y="118" type="curve"/>
12+
<point x="168" y="-480" type="line"/>
13+
<point x="444" y="-480" type="line"/>
14+
<point x="444" y="118" type="line" smooth="yes"/>
15+
<point x="444" y="318"/>
16+
<point x="548" y="324"/>
17+
<point x="788" y="488" type="curve" smooth="yes"/>
18+
<point x="946" y="596"/>
19+
<point x="1001" y="702"/>
20+
<point x="1001" y="894" type="curve" smooth="yes"/>
21+
<point x="1001" y="1210" type="line"/>
22+
<point x="1210" y="1210" type="line"/>
23+
<point x="919" y="1552" type="line"/>
24+
<point x="626" y="1210" type="line"/>
25+
<point x="835" y="1210" type="line"/>
26+
<point x="835" y="950" type="line" smooth="yes"/>
27+
<point x="835" y="825"/>
28+
<point x="789" y="735"/>
29+
<point x="669" y="662" type="curve" smooth="yes"/>
30+
<point x="425" y="514" type="line" smooth="yes"/>
31+
<point x="250" y="408"/>
32+
<point x="168" y="323"/>
33+
</contour>
34+
</outline>
35+
</glyph>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<glyph name="uniE0A3" format="2">
3+
<outline>
4+
<contour>
5+
<point x="177" y="1765" type="line"/>
6+
<point x="177" y="1765" type="line"/>
7+
<point x="177" y="788" type="line"/>
8+
<point x="797" y="788" type="line"/>
9+
<point x="797" y="930" type="line"/>
10+
<point x="370" y="930" type="line"/>
11+
<point x="367" y="1605" type="line"/>
12+
<point x="797" y="1605" type="line"/>
13+
<point x="797" y="1765" type="line"/>
14+
</contour>
15+
<contour>
16+
<point x="330" y="701" type="line"/>
17+
<point x="330" y="701" type="line"/>
18+
<point x="330" y="-267" type="line"/>
19+
<point x="528" y="-267" type="line"/>
20+
<point x="528" y="-57" type="line"/>
21+
<point x="504" y="362" type="line"/>
22+
<point x="812" y="-267" type="line"/>
23+
<point x="1023" y="-267" type="line"/>
24+
<point x="1023" y="701" type="line"/>
25+
<point x="822" y="701" type="line"/>
26+
<point x="822" y="531" type="line"/>
27+
<point x="849" y="70" type="line"/>
28+
<point x="538" y="701" type="line"/>
29+
</contour>
30+
</outline>
31+
</glyph>
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version='1.0' encoding='UTF-8'?>
2+
<glyph name="uniE0B5.stypo" format="2">
3+
<outline>
4+
<contour>
5+
<point x="0" y="-492" type="curve"/>
6+
<point x="238" y="-492" type="line"/>
7+
<point x="490" y="-401"/>
8+
<point x="706" y="-256"/>
9+
<point x="856" y="-91" type="curve" smooth="yes"/>
10+
<point x="1005" y="74"/>
11+
<point x="1113" y="268"/>
12+
<point x="1163" y="460" type="curve" smooth="yes"/>
13+
<point x="1187" y="556"/>
14+
<point x="1200" y="652"/>
15+
<point x="1200" y="747" type="curve" smooth="yes"/>
16+
<point x="1200" y="842"/>
17+
<point x="1187" y="938"/>
18+
<point x="1163" y="1035" type="curve" smooth="yes"/>
19+
<point x="1113" y="1227"/>
20+
<point x="1057" y="1386"/>
21+
<point x="697" y="1692" type="curve"/>
22+
<point x="727" y="1705"/>
23+
<point x="575" y="1804"/>
24+
<point x="238" y="1990" type="curve"/>
25+
<point x="0" y="1990" type="line"/>
26+
<point x="249" y="1898"/>
27+
<point x="465" y="1753"/>
28+
<point x="616" y="1587" type="curve" smooth="yes"/>
29+
<point x="690" y="1504"/>
30+
<point x="756" y="1415"/>
31+
<point x="808" y="1321" type="curve" smooth="yes"/>
32+
<point x="913" y="1132"/>
33+
<point x="962" y="938"/>
34+
<point x="962" y="747" type="curve" smooth="yes"/>
35+
<point x="962" y="508"/>
36+
<point x="878" y="262"/>
37+
<point x="721" y="41" type="curve" smooth="yes"/>
38+
<point x="563" y="-180"/>
39+
<point x="310" y="-377"/>
40+
</contour>
41+
</outline>
42+
</glyph>

0 commit comments

Comments
 (0)