Commit a99bbc8a4d8290a1a3643835bf07ba8c60d9e941

Darren Embry 2023-11-24T13:49:18

s/ibm courier/og courier/g

diff --git a/Makefile b/Makefile
index c7dca5c..790380f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 .PHONY: FORCE
 
-SFD_SOURCES    := sfd/IBMCourier.sfd sfd/IBMCourier-Italic.sfd sfd/IBMCourier-Bold.sfd sfd/IBMCourier-BoldItalic.sfd
-SFD_ZERO_SLASH := $(patsubst sfd/IBMCourier%sfd,sfd/zero-slash/IBMCourierZeroSlash%sfd,$(SFD_SOURCES))
-SFD_ZERO_DOT   := $(patsubst sfd/IBMCourier%sfd,sfd/zero-dot/IBMCourierZeroDot%sfd,$(SFD_SOURCES))
+SFD_SOURCES    := sfd/OGCourier.sfd sfd/OGCourier-Italic.sfd sfd/OGCourier-Bold.sfd sfd/OGCourier-BoldItalic.sfd
+SFD_ZERO_SLASH := $(patsubst sfd/OGCourier%sfd,sfd/zero-slash/OGCourierZeroSlash%sfd,$(SFD_SOURCES))
+SFD_ZERO_DOT   := $(patsubst sfd/OGCourier%sfd,sfd/zero-dot/OGCourierZeroDot%sfd,$(SFD_SOURCES))
 SFD            := $(SFD_SOURCES) $(SFD_ZERO_SLASH) $(SFD_ZERO_DOT)
 
 TTF     := $(patsubst sfd/%.sfd,fonts/%.ttf,$(SFD))
@@ -29,11 +29,11 @@ fonts/%.svg: sfd/%.sfd Makefile bin/convert.py
 fonts/%.otf: sfd/%.sfd Makefile bin/convert.py
 	bin/convert.py "$<" "$@"
 
-sfd/zero-dot/IBMCourierZeroDot%sfd: sfd/IBMCourier%sfd Makefile bin/zeroslash.py
+sfd/zero-dot/OGCourierZeroDot%sfd: sfd/OGCourier%sfd Makefile bin/zeroslash.py
 	mkdir -p $(<D)
 	bin/zeroslash.py --char zerodot "$<" "$@.tmp.sfd"
 	mv "$@.tmp.sfd" "$@"
-sfd/zero-slash/IBMCourierZeroSlash%sfd: sfd/IBMCourier%sfd Makefile bin/zeroslash.py
+sfd/zero-slash/OGCourierZeroSlash%sfd: sfd/OGCourier%sfd Makefile bin/zeroslash.py
 	mkdir -p $(<D)
 	bin/zeroslash.py --char zeroslash "$<" "$@.tmp.sfd"
 	mv "$@.tmp.sfd" "$@"
diff --git a/bin/zeroslash.py b/bin/zeroslash.py
index 0ff9c46..2ee95ef 100755
--- a/bin/zeroslash.py
+++ b/bin/zeroslash.py
@@ -34,13 +34,13 @@ def zeroSlashFont(source, dest):
     copyChar(font, "asciitilde.coding", "asciitilde", 126)
 
     if charName == "zerodot":
-        font.familyname = "IBM Courier Zero Dot"
-        font.fontname = font.fontname.replace("IBMCourier", "IBMCourierZeroDot")
-        font.fullname = font.fullname.replace("IBM Courier", "IBM Courier Zero Dot")
+        font.familyname = "OG Courier Zero Dot"
+        font.fontname = font.fontname.replace("OGCourier", "OGCourierZeroDot")
+        font.fullname = font.fullname.replace("OG Courier", "OG Courier Zero Dot")
     elif charName == "zeroslash":
-        font.familyname = "IBM Courier Zero Slash"
-        font.fontname = font.fontname.replace("IBMCourier", "IBMCourierZeroSlash")
-        font.fullname = font.fullname.replace("IBM Courier", "IBM Courier Zero Slash")
+        font.familyname = "OG Courier Zero Slash"
+        font.fontname = font.fontname.replace("OGCourier", "OGCourierZeroSlash")
+        font.fullname = font.fullname.replace("OG Courier", "OG Courier Zero Slash")
     else:
         raise Exception("no --char specified or unsupported --char")