projects
/
h316.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
boot-maker: Fix warnings (missing header file)
[h316.git]
/
pc-tools
/
fontgen
/
data
/
hmpconvert.sh
diff --git
a/pc-tools/fontgen/data/hmpconvert.sh
b/pc-tools/fontgen/data/hmpconvert.sh
index eeb89607e7784dab095b832a090a32a725079343..4499f87b805856f48a14a6b2c9196019edc0b45a 100755
(executable)
--- a/
pc-tools/fontgen/data/hmpconvert.sh
+++ b/
pc-tools/fontgen/data/hmpconvert.sh
@@
-7,6
+7,8
@@
#infile="$1"
#infile="$1"
+FILES=hmp/*.hmp
+
cat <<EOF
/* Automatically generated Hershey font mappings */
cat <<EOF
/* Automatically generated Hershey font mappings */
@@
-48,7
+50,7
@@
block(){
echo "};"
}
echo "};"
}
-for n in
*.hmp
; do
+for n in
$FILES
; do
name=`basename $n .hmp`
cat $n | unmangle | block $name
done
name=`basename $n .hmp`
cat $n | unmangle | block $name
done
@@
-59,7
+61,7
@@
cat <<EOF
/* And now the ready to use fonts */
EOF
/* And now the ready to use fonts */
EOF
-for n in
*.hmp
; do
+for n in
$FILES
; do
name=`basename $n .hmp`
echo "pl_font font_$name;"
done
name=`basename $n .hmp`
echo "pl_font font_$name;"
done
@@
-72,7
+74,7
@@
cat <<EOF
void font_init(){
EOF
void font_init(){
EOF
-for n in
*.hmp
; do
+for n in
$FILES
; do
name=`basename $n .hmp`
mapname=`basename $n .hmp`_map
name=`basename $n .hmp`
mapname=`basename $n .hmp`_map