File tree 1 file changed +10
-3
lines changed
1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
# 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)
3
7
4
8
Example usage:
5
9
6
10
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
9
13
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
+
10
17
The format of the 'ascii art' file is meant to be easy to edit in a text editor,
11
18
so you can change the glyphs around by simply changing the ascii content. Example:
12
19
You can’t perform that action at this time.
0 commit comments