3 # Create the Plane 1 unassigned.hex file, with filler glyphs.
4 # Create filler glyphs in areas where Unicode scripts are not assigned;
5 # these are placed in directory "all/" so they are not included with
6 # the main font build, which reads "plane01/*.hex".
8 all: plane01.hex plane01-nonprinting.hex plane01-unassigned.hex
9 if [ ! -d all ]; then \
12 grep "^[0-9A-Fa-f]" unassigned-ranges.txt | \
13 awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
14 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
15 /bin/sh -s > plane01-unassigned.hex
16 grep "^[0-9A-Fa-f]" noscript-ranges.txt | \
17 awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
18 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
19 /bin/sh -s > all/noscript.hex
20 sort -u all/noscript.hex *.hex > all/plane01-all.hex
27 .PHONY: all clean distclean