s/ibm courier/og courier/g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
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")