neo_font_editor
Edit alphasmart neo and neo 2 fonts
Edit font by dumping to text file, edit and encode back again
used together with neotools to extract and install fonts.
Workflow
- Build the project with cmake. After these commands there should be an executable
font_editor
in the build directory.
git submodule update --init --recursive
mkdir build
cd build
cmake ..
make
- Use neotools to extract your font applet
- Run
./font_editor your_font.os3kapp -f font-data.txt
- Create a remap-file with the characters you want to move
- Change appletname and id and other information in your font-data file
- Encode your app back to a applet
./font_editor --encode -f font-data.txt -o new-font-location.os3kapp --remap remap-scheme-uk-sv-dvorak.txt
- Install the new code on your neo with neotools
Example remap file
To find what character is what look inside the dumped text file
# define chearacters
( 40
) 41
, 44
# Define which keys should replace which
# First the key you want -> then what character it should replace
, -> )
) -> (
) -> ,
Example editable file:
appletname Neo Font - Small (6 lines)
appletinfo _opyright (c) 19?8-2005 by Alpha_mart, LLC
fontname Small (6 lines)
version 1.0
id 44800
height 11
char 0
width 5
height 11
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
xxxxx.
char 1
width 5
height 11
.
xx .
x x .
x .
x x .
x x .
x x .
xx .
.
.
.
char 2
width 8
height 11
.
x .
x x .
x x .
x x .
x x .
x x .
xxxxxxx .
.
.
.
... etc