Skip to content

Commit 3ba4e61

Browse files
authored
Added some details to README ..
1 parent 71afc3a commit 3ba4e61

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
# fntdump
2-
A tool to convert binary 8x16 .FNT files to/from 'ASCII art' text file dumps to allow editing glyphs in a text editor
2+
A tool to convert binary 8x16 .FNT files to/from 'ASCII art' text file dumps to allow editing glyphs in a text editor.
3+
4+
This should be able to build on both linux (tested) and MS-DOS (Turbo C 3).
5+
Currently only 8x16 monospaced bitmap fonts are supported.
6+
(I believe 8xN fonts are also supported, where N <= 16, since they seem to just be padded out to 8x16)
37

48
Example usage:
59

610
fntdump SOMEFONT.FNT SOMEFONT.TXT -- convert font to an 'ascii art' .txt file
7-
vi SOMEFONT.TXT -- edit the 'ascii art' to make changes to the font's bitmap
8-
fntdump SOMEFONT.TXT NEWFONT.FNT -- convert the 'ascii art' back into a new .fnt file
11+
vi SOMEFONT.TXT -- edit the 'ascii art' .txt file to change font's bitmap
12+
fntdump SOMEFONT.TXT NEWFONT.FNT -- convert the 'ascii art' .txt back into a new .fnt file
913

14+
Basically you just change around the 'X's and '.'s to the way you want them, without
15+
changing the length of the line, or the number of lines per character (must be 16).
16+
1017
The format of the 'ascii art' file is meant to be easy to edit in a text editor,
1118
so you can change the glyphs around by simply changing the ascii content. Example:
1219

0 commit comments

Comments
 (0)