Omnicalc Font Editor for GTK+ v1.01
0. About
Omnicalc Font Editor is a program which is able to edit and compile the Omnicalc Font File.
This program was written based on Windows version of Omnicalc Font Editor.
You need GTK+1.xx or GTK+2.xx to compile this program [Donwload GTK+].
1. Compiling and Running
Unzip downloaded file and put any directory. Run Console/Terminal, move to that directory with "cd" and run one of following commands.
- GTK+1.xx:
- gcc main.c -o ocfe `gtk-config --cflags --libs`
- gcc main.c -o ocfe `pkg-config --cflags --libs gtk+`
- GTK+2.xx:
- gcc main.c -o ocfe `pkg-config --cflags --libs gtk+-2.0`
Then, run "ocfe" from Console/Terminal or Window Manager.
2. How to use
- Mouse:
- Left click - Edit the pixel
- Right click:
- In left area - Set the cursor
- In right area - Edit the pixel
- Keys:
- Allow keys - Move the cursor
- A,S,D,W key - Move the cursor
- Ctrl+X - Cut
- Ctrl+C - Copy
- Ctrl+V - Paste
- Ctrl+D - Default
- Ctrl+R - Inverse
- Ctrl+Q - Clear
- Ctrl+H - Flip Horizontal
- Ctrl+T - Flip Vertical
- Ctrl+Y - Rotate 180
- Menu:
- File(F):
- Open(O)... - Load from 8xfont file (*.8xfont)
- Save As(S)... - Save as 8xfont file (*.8xfont)
- -
- Compile(C)... - Compile to 8xp file (*.8xp)
- Decompile(D)... - Load from 8xp file (*.8xp)
- -
- Save As Image(I):
- XPM(X)... - Save as XPM file (*.xpm)
- BMP(B)... - Save as Bitmap file (*.bmp)
- Save As ASM(A):
- Right Aligned(R)... - Save as ASM format of right aligned (*.z80)
- Left Aligned(L)... - Save as ASM format of left aligned (*.z80)
- Save As Font(F):
- BDF[Beta](B)... - Save as BDF file (*.bdf)
- -
- Exit(X)
- Edit(E):
- Cut(X) - The selected letter is cut
- Copy(C) - The selected letter is copied
- Paste(V) - Pasted on the selected letter
- -
- Default(D) - The selected letter is set to a default
- Clear(Q) - The selected letter is cleared
- Inverse(R) - The selected letter is inversed
- -
- Flip Horizontal(H) - The selected letter is flipped horizontal
- Flip Vertical(T) - The selected letter is flipped vertical
- Rotate 180(Y) - The selected letter is rotated 180 degree
- -
- ALL(A):
- Default... - All letters are set to a default
- Clear... - All letters are cleared
- Inverse... - All letters are inversed
- -
- Flip Horizontal... - All letters are flipped horizontal
- Flip Vertical... - All letters are flipped vertical
- Rotate 180... - All letters are rotated 180 degree
- -
- Dots size(S):
- 2 px - Change the size of dots to 2 pixels
- 3 px - Change the size of dots to 3 pixels
- 4 px - Change the size of dots to 4 pixels
- 5 px - Change the size of dots to 5 pixels
- 6 px - Change the size of dots to 6 pixels
- 7 px - Change the size of dots to 7 pixels
- 8 px - Change the size of dots to 8 pixels
- Help(H):
- Help(H)... - Show the help message
- Version(A)... - Show the version information
3. Known bugs/Specification
- "Save as BDF" is Beta version (I'm not familiar with Linux)
- Accelarator keys are not implemented
4. Version info
- v1.00 : First released version.
- v1.01 : Shortcut keys were fixed.
5. Appendix
- bdf_default.8xfont
- A default font file for BDF.
- util\8xf2c.c
- This program can convert 8xfont to C-Style array (unsigned char[]).
- util\8xf2bmp.c
- This program can convert 8xfont to Bitmap with String.
- util\gdk_draw_string_by_tifont.h
- This function can draw string by font data generated by 8xf2c.
This program was compiled and tested under Vine Linux 3.1/Knoppix 3.7 with GTK+-1.2/GTK+-2.0,
And Windows XP with GTK+ for Windows.

Program and document were written by Yuki Mio.