diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-09-20 08:07:51 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-09-20 08:07:51 +0000 |
commit | bed3d3f7e06c6582f9677ab6222cd89c84a9c8c7 (patch) | |
tree | 59ef1faa129f0813071d5e81b2e55b5d04886202 /tools/bdf2fnt | |
parent | eb5cc653dba373f2d2ce48f8efbc0b19a424971e (diff) |
New full ISO-8859-1 system font.
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/bdf2fnt')
-rwxr-xr-x | tools/bdf2fnt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tools/bdf2fnt b/tools/bdf2fnt deleted file mode 100755 index 2793d11764..0000000000 --- a/tools/bdf2fnt +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/bash -# -# bdf2fnt - shell script to convert a BDF file to RBF format -# -# usage: bdf2fnt bdffile (don't use .bdf extension!) -# -# Example: bdf2fnt courB08 -# creates ./courB08.fnt and /tmp/courB08.c -# the .fnt file can be renamed /system.fnt for loading -# the .c file can be moved to firmware dir to compile-in font -# - -# convert from bdf to C source -./bdf2c $1.bdf > /tmp/$1.c - -# compile writerbf with linked C source font -gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -I../firmware/common -o /tmp/writerbf writerbf.c /tmp/$1.c - -# run writerbf, will write linked incore font to .rbf format -/tmp/writerbf -rm /tmp/writerbf - -# load .rbf font and display it for test -gcc -DARCHOS_RECORDER -DMAX_FONT_SIZE=500000 -I../firmware/common -o /tmp/loadrbf loadrbf.c -/tmp/loadrbf $1.fnt > /tmp/$1.1 -rm /tmp/loadrbf - -# link .c font and diff with .fnt load for test -gcc -DARCHOS_RECORDER -DFONT=font_$1 -I../firmware -I../firmware/common -o /tmp/loadrbf loadrbf.c /tmp/$1.c -/tmp/loadrbf > /tmp/$1.2 -rm /tmp/loadrbf - -# -# we diff the output to ensure correctness -diff /tmp/$1.1 /tmp/$1.2 - -# clean up -rm /tmp/$1.1 /tmp/$1.2 -#rm /tmp/$1.c |