From 36b333499127d56c531343c913de729549b40a3d Mon Sep 17 00:00:00 2001 From: Kirill Pertsev Date: Mon, 21 Nov 2016 18:57:17 -0800 Subject: [PATCH] Added long right arrow --> (closes #4) Added "less or equal" and "greater or equal" ligatures Added support for conditional compilation using C preprocessor Default compilation enables =< and >= ligatures for the above Alt compilation enables <= (used to be fat arrow) and >= (closes #3) --- FSEX.ttx | 173 +++++++++++++++++++++++++++++++++++++++++++++++++- Makefile | 19 +++++- ligatures.txt | 4 +- 3 files changed, 192 insertions(+), 4 deletions(-) diff --git a/FSEX.ttx b/FSEX.ttx index 33c7c7c..ec31e37 100644 --- a/FSEX.ttx +++ b/FSEX.ttx @@ -6023,6 +6023,9 @@ + + + @@ -12159,6 +12162,9 @@ + + + @@ -39536,6 +39542,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -42194,6 +42260,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -48702,6 +48829,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -247742,7 +247904,7 @@ found in the 'post' table. Since these names might not be unique, we have to invent artificial names in case of clashes. In order to be able to retain the original information, we need a name to - ps name mapping for those cases where they differ. That's what + ps name mapping for those cases where they differ. Thats what you see below. --> @@ -259451,6 +259613,7 @@ + @@ -259462,7 +259625,11 @@ +#ifdef ALT_LESSEQUAL + +#else +#endif @@ -259475,6 +259642,9 @@ +#ifndef ALT_LESSEQUAL + +#endif @@ -259498,6 +259668,7 @@ + diff --git a/Makefile b/Makefile index 87f9cba..4350976 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,20 @@ -FSEX302.ttf: FSEX.ttx - ttx -f -o $@ $< +COMPILE=ttx -f --recalc-timestamp +CPP=cpp + +all: FSEX302.ttf FSEX302-alt.ttf + +FSEX302.ttf: FSEX-default.ttx + $(COMPILE) -o $@ $< cp $@ ~/Library/Fonts atsutil databases -remove + rm $< +FSEX302-alt.ttf: FSEX-alt.ttx + $(COMPILE) -o $@ $< + rm $< + +FSEX-default.ttx: FSEX.ttx + $(CPP) $< |grep -v "^#" > $@ + +FSEX-alt.ttx: FSEX.ttx + $(CPP) -DALT_LESSEQUAL $< |grep -v "^#" > $@ diff --git a/ligatures.txt b/ligatures.txt index 87eb9ea..bd8d382 100644 --- a/ligatures.txt +++ b/ligatures.txt @@ -30,5 +30,7 @@ a/\b a<==>b a<|>b - +a-->b +a>=b +a=