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 \
13 grep "^[0-9A-Fa-f]" unassigned-ranges.txt | \
14 awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
15 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
16 /bin/sh -s > plane01-unassigned.hex
18 grep "^[0-9A-Fa-f]" noscript-ranges.txt | \
19 awk 'NF == 1 {print "../../bin/unihexgen " $$1 " " $$1;} \
20 NF == 2 {print "../../bin/unihexgen " $$1 " " $$2;}' | \
21 /bin/sh -s > all/noscript.hex
22 sort -u all/noscript.hex *.hex > all/plane01-all.hex
29 .PHONY: all clean distclean