chiark
/
gitweb
/
~bjharris
/
bedstead.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cb534f
)
Don't generate BDF for non-default fonts.
author
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 7 Aug 2017 23:37:06 +0000
(
00:37
+0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 7 Aug 2017 23:37:06 +0000
(
00:37
+0100)
The other widths will generate terrible bitmaps, so just don't bother.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 2ad92ac88034cfd4b4902127d9e0e25bcfc134e6..a392688dbc1b64714c1a76773384389131e28014 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-36,9
+36,14
@@
bedstead-ultracondensed.sfd: bedstead
./bedstead --ultra-condensed > bedstead-ultracondensed.sfd
-%
.otf %
-10.bdf %-20.bdf: %.sfd
+%-10.bdf %-20.bdf: %.sfd
fontforge -lang=ff \
-c 'Open($$1); BitmapsAvail([10, 20]); Generate($$2, "bdf")' \
+ $< $*.
+
+%.otf: %.sfd
+ fontforge -lang=ff \
+ -c 'Open($$1); Generate($$2)' \
$< $*.otf
%.pfa %.afm: %.sfd