## "Fossies" - the Fresh Open Source Software Archive

### Source code changes of the file "font/Makefile" betweenunifont-13.0.01.tar.gz and unifont-13.0.02.tar.gz

About: GNU Unifont is a bitmap font that completely covers the Unicode Basic Multilingual Plane (BMP), using an intermediate bitmapped font format.

Makefile  (unifont-13.0.01):Makefile  (unifont-13.0.02)
skipping to change at line 19 skipping to change at line 19
# #
# Paul Hardy, 7 July 2008 # Paul Hardy, 7 July 2008
# #
# commands will be interpreted with the Bourne Shell # commands will be interpreted with the Bourne Shell
# #
SHELL = /bin/sh SHELL = /bin/sh
INSTALL = install INSTALL = install
GZFLAGS = -f -9 -n GZFLAGS = -f -9 -n
FONTFORGE = fontforge FONTFORGE = fontforge
# #
VERSION = 13.0.0 VERSION = 13.0.02
Qianqian Fang, Andrew Miller, Johnnie Weaver, David Corbett, et al. \ Qianqian Fang, Andrew Miller, Johnnie Weaver, David Corbett, et al. \
with the GNU Font Embedding Exception." with the GNU Font Embedding Exception."
# #
# Path to local unifont-bin utilities. If your system doesn't # Path to local unifont-bin utilities. If your system doesn't
# use GNU's version of "make", use the first BINDIR definition. # use GNU's version of "make", use the first BINDIR definition.
# If using GNU's "make", use the second BINDIR definition. # If using GNU's "make", use the second BINDIR definition.
skipping to change at line 195 skipping to change at line 195
> $(COMPILED_DIR)/csur_combining.txt >$(COMPILED_DIR)/csur_combining.txt
sort plane0[1-F]csur/plane0[1-F]csur-combining.txt \ sort plane0[1-F]csur/plane0[1-F]csur-combining.txt \
>> $(COMPILED_DIR)/csur_combining.txt >>$(COMPILED_DIR)/csur_combining.txt
$(BINDIR)/unigencircles \$(BINDIR)/unigencircles \
$(COMPILED_DIR)/csur_combining.txt \$(COMPILED_DIR)/csur_combining.txt \
plane00/plane00-nonprinting.hex \ plane00/plane00-nonprinting.hex \
< $(COMPILED_DIR)/unifont_csur-$(VERSION).hex \ < $(COMPILED_DIR)/unifont_csur-$(VERSION).hex \
> $(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex > $(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex
# Build Japanese version with glyphs from JIS X 0213:2004 # Build Japanese version with glyphs from JIS X 0213:2004
awk -F: -f unipatch-hex.awk $(COMPILED_DIR)/unifont-$(VERSION).hex \ awk -F: -f unipatch-hex.awk $(COMPILED_DIR)/unifont-$(VERSION).hex \
plane00/izmg16-plane00.hex plane00/izmg16-plane00.hex | sort |\
sort $(COMPILED_DIR)/unifont_jp-$(VERSION).hex tee $(COMPILED_DIR)/unifont_jp-$(VERSION).hex | \
$(BINDIR)/unigencircles$(COMBINING) plane00/plane00-nonprinting.hex \
> $(COMPILED_DIR)/unifont_jp_sample-$(VERSION).hex
cat $(PLANE_2_HEX) \ cat$(PLANE_2_HEX) \
>> $(COMPILED_DIR)/unifont_jp-$(VERSION).hex >> $(COMPILED_DIR)/unifont_jp-$(VERSION).hex
# #
# Build a BDF font file from the final .hex file. # Build a BDF font file from the final .hex file.
# #
bdf: hex bdf: hex
# First make the default BDF font. The font name will be "unifont". # First make the default BDF font. The font name will be "unifont".
$(BINDIR)/hex2bdf --version "$(VERSION)" --copyright $(COPYRIGHT) \$(BINDIR)/hex2bdf --version "$(VERSION)" --copyright$(COPYRIGHT) \
$(COMPILED_DIR)/unifont-$(VERSION).hex \ $(COMPILED_DIR)/unifont-$(VERSION).hex \
skipping to change at line 328 skipping to change at line 330
if [ ! -d $(PNGDIR)/plane00 ] ; then \ if [ ! -d$(PNGDIR)/plane00 ] ; then \
mkdir -p $(PNGDIR)/plane00 ; \ mkdir -p$(PNGDIR)/plane00 ; \
fi fi
for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
$(BINDIR)/unihex2png -p 00$$i$$j \$(BINDIR)/unihex2png -p 00$$i$$j \
-i $(COMPILED_DIR)/unifont_sample-$(VERSION).hex \ -i $(COMPILED_DIR)/unifont_sample-$(VERSION).hex \
-o $(PNGDIR)/plane00/uni00$$i$$j.png ; \ -o$(PNGDIR)/plane00/uni00$$i$$j.png ; \
done ; \ done ; \
done done
if [ ! -d $(PNGDIR)/plane00-jp ] ; then \ mkdir -p$(PNGDIR)/plane00-jp ; \
fi
for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
$(BINDIR)/unihex2png -p 00$$i$$j \ -i$(COMPILED_DIR)/unifont_jp_sample-$(VERSION).hex \ -o$(PNGDIR)/plane00-jp/uni00$$i$$j-jp.png ; \
done ; \
done
if [ ! -d $(PNGDIR)/plane01 ] ; then \ if [ ! -d$(PNGDIR)/plane01 ] ; then \
mkdir -p $(PNGDIR)/plane01 ; \ mkdir -p$(PNGDIR)/plane01 ; \
fi fi
for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
$(BINDIR)/unihex2png -p 01$$i$$j \$(BINDIR)/unihex2png -p 01$$i$$j \
-i $(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \ -i $(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \
-o $(PNGDIR)/plane01/uni01$$i$$j.png ; \ -o$(PNGDIR)/plane01/uni01$$i$$j.png ; \
done ; \ done ; \
done done
if [ ! -d ] ; then \ if [ ! -d $(PNGDIR)/plane02-jp ] ; then \ mkdir -p ; \ mkdir -p$(PNGDIR)/plane02-jp ; \
fi fi
for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
$(BINDIR)/unihex2png -p 02$$i$$j \$(BINDIR)/unihex2png -p 02$$i$$j \
-i $(PLANE_2_HEX) \ -i$(PLANE_2_HEX) \
-o $(PNGDIR)/plane02/uni02$$i$$j.png ; \ -o$(PNGDIR)/plane02-jp/uni02$$i$$j.png ; \
done ; \ done ; \
done done
if [ ! -d $(PNGDIR)/plane0E ] ; then \ if [ ! -d$(PNGDIR)/plane0E ] ; then \
mkdir -p $(PNGDIR)/plane0E ; \ mkdir -p$(PNGDIR)/plane0E ; \
fi fi
for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \
$(BINDIR)/unihex2png -p 0E$$i$$j \$(BINDIR)/unihex2png -p 0E$$i$$j \
-i $(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \ -i $(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \
-o $(PNGDIR)/plane0E/uni0E$$i$$j.png ; \ -o$(PNGDIR)/plane0E/uni0E$$i$$j.png ; \
skipping to change at line 375 skipping to change at line 387
-o $(PNGDIR)/csur/uni00$$i.png ; \ -o (PNGDIR)/csur/uni00$$i.png ; \ done done for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2png -p 0F$$i$$j \ $(BINDIR)/unihex2png -p 0F$$i$$j \ -i$(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex \ -i$(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex \ -o$(PNGDIR)/csur/uni0F$$i$$j.png ; \ -o $(PNGDIR)/csur/uni0F$$i$$j.png ; \ done ; \ done ; \ done done # Create HTML table showing color-coded percent coverage in Plane 0. # Create HTML table showing color-coded percent coverage in Plane 0.$(BINDIR)/unipagecount -h < $(COMPILED_DIR)/unifont-$(VERSION).hex \ $(BINDIR)/unipagecount -h <$(COMPILED_DIR)/unifont-$(VERSION).hex | \ sed -e 's/<a /<a target="blank" /g' \ >$(COMPILED_DIR)/plane00.html > $(COMPILED_DIR)/plane00.html # Create HTML table showing color-coded percent coverage in Japanese Plan e 0.$(BINDIR)/unipagecount -h < $(COMPILED_DIR)/unifont_jp_sample-$(VERSION).
hex | \
sed -e 's/Glyphs/Glyphs \&mdash; Japanese Version/' | \
sed -e 's/<a /<a target="blank" /g' | \
sed -e 's/plane00/plane00-jp/g' | \
sed -e 's/\.png/-jp.png/g' \
> $(COMPILED_DIR)/plane00-jp.html # Create HTML table showing color-coded percent coverage in Plane 1. # Create HTML table showing color-coded percent coverage in Plane 1. ../bin/unipagecount -P1 -h < plane01/all/plane01-all.hex \ ../bin/unipagecount -P1 -h < plane01/all/plane01-all.hex | \ > compiled/plane01.html sed -e 's/<a /<a target="blank" /g' > compiled/plane01.html # Copy Plane 2 HTML table, specially formatted to show empty # Copy Plane 2 HTML table, specially formatted to show empty # ranges as gray because there are so many empty ranges. # ranges as gray because there are so many empty ranges. cp plane02.html$(COMPILED_DIR) cp plane02-jp.html $(COMPILED_DIR) @echo "Done creating$(PNGDIR)" @echo "Done creating $(PNGDIR)" # # # Create the .bmp (Bitmap Graphics) versions of the glyphs. # Create the .bmp (Bitmap Graphics) versions of the glyphs. # # bmp: hex$(BINDIR)/unihex2bmp bmp: hex $(BINDIR)/unihex2bmp if [ ! -d$(BMPDIR) ] ; then \ if [ ! -d $(BMPDIR) ] ; then \ mkdir -p$(BMPDIR) ; \ mkdir -p $(BMPDIR) ; \ fi fi if [ ! -d$(BMPDIR)/plane00 ] ; then \ if [ ! -d $(BMPDIR)/plane00 ] ; then \ mkdir -p$(BMPDIR)/plane00 ; \ mkdir -p $(BMPDIR)/plane00 ; \ fi fi for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2bmp -p00$$i$$j \ $(BINDIR)/unihex2bmp -p00$$i$$j \ <$(COMPILED_DIR)/unifont_sample-$(VERSION).hex \ <$(COMPILED_DIR)/unifont_sample-$(VERSION).hex \ >$(BMPDIR)/plane00/uni00$$i$$j.bmp ; \ > $(BMPDIR)/plane00/uni00$$i$$j.bmp ; \ done ; \ done ; \ done done if [ ! -d$(BMPDIR)/plane00-jp ] ; then \
mkdir -p $(BMPDIR)/plane00-jp ; \ fi for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2bmp -p00$$i$$j \
< $(COMPILED_DIR)/unifont_jp_sample-$(VERSION).hex \
> $(BMPDIR)/plane00-jp/uni00$$i$$j-jp.bmp ; \ done ; \ done if [ ! -d$(BMPDIR)/plane01 ] ; then \ if [ ! -d $(BMPDIR)/plane01 ] ; then \ mkdir -p$(BMPDIR)/plane01 ; \ mkdir -p $(BMPDIR)/plane01 ; \ fi fi for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2bmp -p01$$i$$j \ $(BINDIR)/unihex2bmp -p01$$i$$j \ <$(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \ <$(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \ >$(BMPDIR)/plane01/uni01$$i$$j.bmp ; \ > $(BMPDIR)/plane01/uni01$$i$$j.bmp ; \ done ; \ done ; \ done done if [ ! -d ] ; then \ if [ ! -d$(BMPDIR)/plane02-jp ] ; then \
mkdir -p ; \ mkdir -p $(BMPDIR)/plane02-jp ; \ fi fi for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2bmp -p02$$i$$j \ $(BINDIR)/unihex2bmp -p02$$i$$j \ <$(PLANE_2_HEX) \ < $(PLANE_2_HEX) \ >$(BMPDIR)/plane02.bmp ; \ > $(BMPDIR)/plane02-jp/uni02$$i$$j-jp.bmp ; \ done ; \ done ; \ done done if [ ! -d$(BMPDIR)/plane0E ] ; then \ if [ ! -d $(BMPDIR)/plane0E ] ; then \ mkdir -p$(BMPDIR)/plane0E ; \ mkdir -p $(BMPDIR)/plane0E ; \ fi fi for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2bmp -p0E$$i$$j \ $(BINDIR)/unihex2bmp -p0E$$i$$j \ <$(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \ <$(COMPILED_DIR)/unifont_upper_sample-$(VERSION).hex \ >$(BMPDIR)/plane0E/uni0E$$i$$j.bmp ; \ > $(BMPDIR)/plane0E/uni0E$$i$$j.bmp ; \ skipping to change at line 450 skipping to change at line 480 done done for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for i in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \ for j in 0 1 2 3 4 5 6 7 8 9 A B C D E F; do \$(BINDIR)/unihex2bmp -p0F$$i$$j \ $(BINDIR)/unihex2bmp -p0F$$i$$j \ <$(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex \ <$(COMPILED_DIR)/unifont_csur_sample-$(VERSION).hex \ >$(BMPDIR)/csur/uni0F$$i$$j.bmp ; \ > $(BMPDIR)/csur/uni0F$$i$$j.bmp ; \ done ; \ done ; \ done done # Create HTML table showing color-coded percent coverage in Plane 0. # Create HTML table showing color-coded percent coverage in Plane 0.$(BINDIR)/unipagecount -h < $(COMPILED_DIR)/unifont-$(VERSION).hex | \ $(BINDIR)/unipagecount -h <$(COMPILED_DIR)/unifont-$(VERSION).hex | \ sed -e 's/<a /<a target="blank" /g' | \ sed -e 's/png/bmp/g' >$(COMPILED_DIR)/plane00.html sed -e 's/png/bmp/g' > $(COMPILED_DIR)/plane00.html # Create HTML table showing color-coded percent coverage in Japanese Plan e 0.$(BINDIR)/unipagecount -h < $(COMPILED_DIR)/unifont_jp_sample-$(VERSION).
hex | \
sed -e 's/Glyphs/Glyphs \&mdash; Japanese Version/' | \
sed -e 's/<a /<a target="blank" /g' | \
sed -e 's/plane00/plane00-jp/g' | \
sed -e 's/png/bmp/g' | \
sed -e 's/\.bmp/-jp.bmp/g' \
> $(COMPILED_DIR)/plane00-jp.html # Create HTML table showing color-coded percent coverage in Plane 1. # Create HTML table showing color-coded percent coverage in Plane 1.$(BINDIR)/unipagecount -P1 -h < plane01/all/plane01-all.hex | \ $(BINDIR)/unipagecount -P1 -h < plane01/all/plane01-all.hex | \ sed -e 's/<a /<a target="blank" /g' | \ sed -e 's/png/bmp/g' >$(COMPILED_DIR)/plane01.html sed -e 's/png/bmp/g' > $(COMPILED_DIR)/plane01.html # Copy Plane 2 HTML table, specially color coded to show empty # Copy Plane 2 HTML table, specially color coded to show empty # ranges as gray because there are so many empty ranges in Plane 2.. # ranges as gray because there are so many empty ranges in Plane 2.. sed -e 's/png/bmp/g' < plane02.html sed -e 's/png/bmp/g' < plane02-jp.html >$(COMPILED_DIR)/plane02-jp.html
echo "Done creating $(BMPDIR)" echo "Done creating$(BMPDIR)"
# #
# Build one bitmap of the entire Unifont Plane 0 set of glyphs. # Build one bitmap of the entire Unifont Plane 0 set of glyphs.
# Use all the .hex files in $(HEXDIR) so we add the contents of # Use all the .hex files in$(HEXDIR) so we add the contents of
# omit.hex (FFFE & FFFF). Those two glyphs aren't included in the # omit.hex (FFFE & FFFF). Those two glyphs aren't included in the
# unifont_sample font because they cause problems with MS Windows, # unifont_sample font because they cause problems with MS Windows,
# but we can put them in the picture. Also add the Plane 0 # but we can put them in the picture. Also add the Plane 0
# ConScript Unicode Registry (CSUR) glyphs in the Private Use Area. # ConScript Unicode Registry (CSUR) glyphs in the Private Use Area.
# The CSUR glyphs are optional, appearing in the unifont_csur font # The CSUR glyphs are optional, appearing in the unifont_csur font
skipping to change at line 583 skipping to change at line 623
# Copy the newly created files from $(COMPILED_DIR) to the precompiled/ # Copy the newly created files from$(COMPILED_DIR) to the precompiled/
# directory. This has to be called manually, because the precompiled/ # directory. This has to be called manually, because the precompiled/
# directory usually remains untouched. # directory usually remains untouched.
# #
precompiled: all precompiled: all
\rm -rf precompiled \rm -rf precompiled
install -m0755 -d precompiled install -m0755 -d precompiled
install -m0644 -p $(COMPILED_DIR)/unifont-$(VERSION).hex \ install -m0644 -p $(COMPILED_DIR)/unifont-$(VERSION).hex \
$(COMPILED_DIR)/unifont-$(VERSION).bdf.gz \ $(COMPILED_DIR)/unifont-$(VERSION).bdf.gz \
$(COMPILED_DIR)/unifont-$(VERSION).pcf.gz \ $(COMPILED_DIR)/unifont-$(VERSION).pcf.gz \
$(COMPILED_DIR)/unifont_jp-$(VERSION).hex \
$(COMPILED_DIR)/unifont_jp_sample-$(VERSION).hex \
$(COMPILED_DIR)/Unifont-APL8x16-$(VERSION).psf.gz \ $(COMPILED_DIR)/Unifont-APL8x16-$(VERSION).psf.gz \
$(COMPILED_DIR)/unifont-$(VERSION).ttf \ $(COMPILED_DIR)/unifont-$(VERSION).ttf \
$(COMPILED_DIR)/unifont_csur-$(VERSION).pcf.gz \ $(COMPILED_DIR)/unifont_csur-$(VERSION).pcf.gz \
$(COMPILED_DIR)/unifont_csur-$(VERSION).ttf \ $(COMPILED_DIR)/unifont_csur-$(VERSION).ttf \
$(COMPILED_DIR)/unifont_jp-$(VERSION).bdf.gz \ $(COMPILED_DIR)/unifont_jp-$(VERSION).bdf.gz \
$(COMPILED_DIR)/unifont_jp-$(VERSION).ttf \ $(COMPILED_DIR)/unifont_jp-$(VERSION).ttf \
$(COMPILED_DIR)/unifont_sample-$(VERSION).hex \ $(COMPILED_DIR)/unifont_sample-$(VERSION).hex \
$(COMPILED_DIR)/unifont_sample-$(VERSION).bdf.gz \ $(COMPILED_DIR)/unifont_sample-$(VERSION).bdf.gz \
$(COMPILED_DIR)/unifont_sample-$(VERSION).pcf.gz \ $(COMPILED_DIR)/unifont_sample-$(VERSION).pcf.gz \
$(COMPILED_DIR)/unifont_sample-$(VERSION).ttf \ $(COMPILED_DIR)/unifont_sample-$(VERSION).ttf \
End of changes. 17 change blocks.
14 lines changed or deleted 60 lines changed or added