git clone https://git.lucas.co/Myna.git
add contextual alternate for pipe operator in #1
Myna-NerdFont.otf | Bin 2286932 -> 0 bytes
Myna.fea | 12 +++++
Myna.sfd | 91 +++++++++++++++++++++++-----------
build.py | 10 ++--
vert_compact.py => build_vert.py | 0
Myna-alt_l.otf => fonts/Myna-AltL.otf | Bin 202396 -> 202576 bytes
Myna-alt_l.ttf => fonts/Myna-AltL.ttf | Bin 94984 -> 95160 bytes
Myna.otf => fonts/Myna.otf | Bin 202404 -> 202584 bytes
Myna.ttf => fonts/Myna.ttf | Bin 94980 -> 95156 bytes
9 files changed, 81 insertions(+), 32 deletions(-)
diff --git a/Myna-NerdFont.otf b/Myna-NerdFont.otf
deleted file mode 100644
index eae075b..0000000
Binary files a/Myna-NerdFont.otf and /dev/null differ
diff --git a/Myna.fea b/Myna.fea
new file mode 100644
index 0000000..52d15b4
--- /dev/null
+++ b/Myna.fea
@@ -0,0 +1,12 @@
+languagesystem DFLT dflt;
+languagesystem latn dflt;
+
+feature kern {
+ pos uni003A <0 100 0 0> uni002A;
+ pos uni003A <0 100 0 0> uni002D;
+ pos uni003A <0 100 0 0> uni003D;
+} kern;
+
+feature calt {
+ sub uni007C' uni003E by alt_bar;
+} calt;
diff --git a/Myna.sfd b/Myna.sfd
index f44afa0..4185b87 100644
--- a/Myna.sfd
+++ b/Myna.sfd
@@ -28,7 +28,7 @@ OS2Version: 3
OS2_WeightWidthSlopeOnly: 0
OS2_UseTypoMetrics: 0
CreationTime: 1610046839
-ModificationTime: 1763206894
+ModificationTime: 1763401241
PfmFamily: 17
TTFWeight: 400
TTFWidth: 5
@@ -178,7 +178,7 @@ NameList: AGL For New Fonts
DisplaySize: -48
AntiAlias: 1
FitToEm: 0
-WinInfo: 0 78 31
+WinInfo: 1111734 78 31
BeginPrivate: 11
BlueValues 47 [-12 0 486 498 574 586 638 650 656 668 712 724]
OtherBlues 11 [-217 -205]
@@ -579,17 +579,25 @@ StartChar: period
Encoding: 46 46 15
Width: 486
GlyphClass: 2
-Flags: MW
+Flags: HMW
HStem: 3.14598 145.548
VStem: 171.513 142.974
LayerCount: 2
+Back
+SplineSet
+243 155.194335938 m 0
+ 203.733398438 155.194335938 171.512695312 122.296875 171.512695312 82.4208984375 c 0
+ 171.512695312 42.544921875 203.733398438 9.646484375 243 9.646484375 c 0
+ 282.267578125 9.646484375 314.487304688 42.544921875 314.487304688 82.4208984375 c 0
+ 314.487304688 122.296875 282.267578125 155.194335938 243 155.194335938 c 0
+EndSplineSet
Fore
SplineSet
-171.512695312 75.919921875 m 0
- 171.512695312 115.795898438 203.733398438 148.694335938 243 148.694335938 c 0
- 282.267578125 148.694335938 314.487304688 115.795898438 314.487304688 75.919921875 c 0
- 314.487304688 36.0439453125 282.267578125 3.1455078125 243 3.1455078125 c 0
- 203.733398438 3.1455078125 171.512695312 36.0439453125 171.512695312 75.919921875 c 0
+171.512695312 81.919921875 m 0
+ 171.512695312 121.795898438 203.733398438 154.694335938 243 154.694335938 c 0
+ 282.267578125 154.694335938 314.487304688 121.795898438 314.487304688 81.919921875 c 0
+ 314.487304688 42.0439453125 282.267578125 9.1455078125 243 9.1455078125 c 4
+ 203.733398438 9.1455078125 171.512695312 42.0439453125 171.512695312 81.919921875 c 0
EndSplineSet
EndChar
@@ -969,11 +977,11 @@ SplineSet
282.267578125 448.513671875 314.487304688 415.615234375 314.487304688 375.739257812 c 0
314.487304688 335.86328125 282.267578125 302.965820312 243 302.965820312 c 0
203.733398438 302.965820312 171.512695312 335.86328125 171.512695312 375.739257812 c 0
-243 155.194335938 m 0
- 203.733398438 155.194335938 171.512695312 122.296875 171.512695312 82.4208984375 c 0
- 171.512695312 42.544921875 203.733398438 9.646484375 243 9.646484375 c 0
- 282.267578125 9.646484375 314.487304688 42.544921875 314.487304688 82.4208984375 c 0
- 314.487304688 122.296875 282.267578125 155.194335938 243 155.194335938 c 0
+243 155.194335938 m 4
+ 203.733398438 155.194335938 171.512695312 122.296875 171.512695312 82.4208984375 c 4
+ 171.512695312 42.544921875 203.733398438 9.646484375 243 9.646484375 c 4
+ 282.267578125 9.646484375 314.487304688 42.544921875 314.487304688 82.4208984375 c 4
+ 314.487304688 122.296875 282.267578125 155.194335938 243 155.194335938 c 4
EndSplineSet
EndChar
@@ -981,10 +989,18 @@ StartChar: semicolon
Encoding: 59 59 28
Width: 486
GlyphClass: 2
-Flags: MW
+Flags: HMW
HStem: 297.594 145.548
VStem: 178.173 142.974
LayerCount: 2
+Back
+SplineSet
+171.512695312 375.739257812 m 0
+ 171.512695312 415.615234375 203.733398438 448.513671875 243 448.513671875 c 0
+ 282.267578125 448.513671875 314.487304688 415.615234375 314.487304688 375.739257812 c 0
+ 314.487304688 335.86328125 282.267578125 302.965820312 243 302.965820312 c 0
+ 203.733398438 302.965820312 171.512695312 335.86328125 171.512695312 375.739257812 c 0
+EndSplineSet
Fore
SplineSet
215.354492188 179.166015625 m 1
@@ -992,11 +1008,11 @@ SplineSet
241.904296875 -125.982421875 l 1
164.854492188 -112.375 l 1
215.354492188 179.166015625 l 1
-178.172851562 370.368164062 m 0
- 178.172851562 410.244140625 210.391601562 443.142578125 249.659179688 443.142578125 c 0
- 288.927734375 443.142578125 321.145507812 410.244140625 321.145507812 370.368164062 c 0
- 321.145507812 330.4921875 288.927734375 297.59375 249.659179688 297.59375 c 0
- 210.391601562 297.59375 178.172851562 330.4921875 178.172851562 370.368164062 c 0
+171.513671875 375.774414062 m 4
+ 171.513671875 415.650390625 203.732421875 448.548828125 243 448.548828125 c 4
+ 282.268554688 448.548828125 314.486328125 415.650390625 314.486328125 375.774414062 c 4
+ 314.486328125 335.8984375 282.268554688 303 243 303 c 4
+ 203.732421875 303 171.513671875 335.8984375 171.513671875 375.774414062 c 4
EndSplineSet
EndChar
@@ -1047,13 +1063,13 @@ Flags: W
LayerCount: 2
Fore
SplineSet
-400.698242188 330.40234375 m 1
- 95.736328125 11.4228515625 l 1
- 45.3017578125 66.4755859375 l 1
- 298.61328125 330.3984375 l 1
- 45.318359375 593.6953125 l 1
- 95.716796875 649.404296875 l 1
- 400.698242188 330.40234375 l 1
+400.698242188 330.40234375 m 5
+ 95.736328125 11.4228515625 l 5
+ 45.3017578125 66.4755859375 l 5
+ 298.61328125 330.3984375 l 5
+ 45.318359375 593.6953125 l 5
+ 95.716796875 649.404296875 l 5
+ 400.698242188 330.40234375 l 5
EndSplineSet
EndChar
@@ -29691,11 +29707,30 @@ SplineSet
EndSplineSet
EndChar
-StartChar: NameMe.1114116
+StartChar: alt_bar
Encoding: 1114116 -1 1160
Width: 486
-Flags: W
+Flags: HW
+VStem: 207.755 70.4895
LayerCount: 2
+Back
+SplineSet
+660.698242188 330.40234375 m 5
+ 355.736328125 11.4228515625 l 5
+ 305.301757812 66.4755859375 l 5
+ 558.61328125 330.3984375 l 5
+ 305.318359375 593.6953125 l 5
+ 355.716796875 649.404296875 l 5
+ 660.698242188 330.40234375 l 5
+EndSplineSet
+Fore
+SplineSet
+207.509765625 11 m 1
+ 207.509765625 651 l 1
+ 278 651 l 1
+ 278 11 l 1
+ 207.509765625 11 l 1
+EndSplineSet
EndChar
StartChar: NameMe.1114117
diff --git a/build.py b/build.py
index c9f126e..a3d8576 100644
--- a/build.py
+++ b/build.py
@@ -2,8 +2,10 @@
import fontforge
font = fontforge.open("Myna.sfd")
-font.generate("Myna.otf")
-font.generate("Myna.ttf")
+font.mergeFeature("Myna.fea")
+
+font.generate("fonts/Myna.otf")
+font.generate("fonts/Myna.ttf")
if "alt_l" in font:
font.selection.select("alt_l")
@@ -11,6 +13,6 @@ if "alt_l" in font:
font.selection.select("l")
font.paste()
-font.generate("Myna-alt_l.otf")
-font.generate("Myna-alt_l.ttf")
+font.generate("fonts/Myna-AltL.otf")
+font.generate("fonts/Myna-AltL.ttf")
font.close()
diff --git a/vert_compact.py b/build_vert.py
similarity index 100%
rename from vert_compact.py
rename to build_vert.py
diff --git a/Myna-alt_l.otf b/fonts/Myna-AltL.otf
similarity index 98%
rename from Myna-alt_l.otf
rename to fonts/Myna-AltL.otf
index fc04db9..79d4c03 100644
Binary files a/Myna-alt_l.otf and b/fonts/Myna-AltL.otf differ
diff --git a/Myna-alt_l.ttf b/fonts/Myna-AltL.ttf
similarity index 95%
rename from Myna-alt_l.ttf
rename to fonts/Myna-AltL.ttf
index 5536f20..d0a5692 100644
Binary files a/Myna-alt_l.ttf and b/fonts/Myna-AltL.ttf differ
diff --git a/Myna.otf b/fonts/Myna.otf
similarity index 98%
rename from Myna.otf
rename to fonts/Myna.otf
index 3119a10..b1c8354 100644
Binary files a/Myna.otf and b/fonts/Myna.otf differ
diff --git a/Myna.ttf b/fonts/Myna.ttf
similarity index 95%
rename from Myna.ttf
rename to fonts/Myna.ttf
index 5e3cc0e..8081dbc 100644
Binary files a/Myna.ttf and b/fonts/Myna.ttf differ