Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ BDFS += ctrld-fixed-13r.bdf ctrld-fixed-13b.bdf ctrld-fixed-13r-i.bdf ctrld-fixe
BDFS += ctrld-fixed-10r.bdf ctrld-fixed-10b.bdf

PCFS := ${BDFS:.bdf=.pcf}
OTBS := ${BDFS:.bdf=.otb}

all: fonts.dir fonts.scale ${PCFS}
all: fonts.dir fonts.scale ${PCFS} ${OTBS}
xset fp default
xset +fp `pwd`
xset fp rehash
Expand All @@ -17,12 +18,15 @@ fonts.scale: ${PCFS}
mkfontscale

clean:
rm -rf *.bak *-2x.bdf *.pcf fonts.dir fonts.scale
rm -rf *.bak *-2x.bdf *.pcf *.otb fonts.dir fonts.scale

2x:
for i in ${BDFS}; do bdfresize -f 2 "$$i" > $$(basename $$i .bdf)-2x.bdf; done

.SUFFIXES: .bdf .pcf
.SUFFIXES: .bdf .pcf .otb

.bdf.pcf:
bdftopcf -o $@ $<

.bdf.otb:
fonttosfnt -v -c -b -g 2 -m 1 -o $@ $<
Binary file added ctrld-fixed-10b.otb
Binary file not shown.
Binary file added ctrld-fixed-10r.otb
Binary file not shown.
Binary file added ctrld-fixed-13b-i.otb
Binary file not shown.
Binary file added ctrld-fixed-13b.otb
Binary file not shown.
Binary file added ctrld-fixed-13r-i.otb
Binary file not shown.
Binary file added ctrld-fixed-13r.otb
Binary file not shown.
Binary file added ctrld-fixed-16b-i.otb
Binary file not shown.
Binary file added ctrld-fixed-16b.otb
Binary file not shown.
Binary file added ctrld-fixed-16r-i.otb
Binary file not shown.
Binary file added ctrld-fixed-16r.otb
Binary file not shown.