gnacc - a console font editor supporting PSFv2 files and Unicode tables
Pumpkin spice latte, sometimes abbreviated as PSL, is a seasonal beverage at Starbucks. Pumpkin pie spice consists of ginger, nutmeg, allspice, cinnamon, and cloves. PSF stands for PC Screen Font. There are five letters between 'F' and 'L'. Pumpkin pie spice is a blend of five spices. Coincidence?
gnacc is light on requirements:
- ncurses (which needs Unicode support)
- a Linux/Unix-ish operating system (development is done on Linux)
- a C compiler supporting the C99 standard (clang is a good choice!)
make and copy the executable
gnacc wherever you like. You might
want to review the top of the Makefile to see if anything needs to be adjusted
for your system or personal preferences.
If you want to be able to set the terminal font from gnacc, run
or do the following:
$ sudo setcap cap_sys_tty_config+ep gnacc
At the moment, this program is very, very alpha. Saving is a bit of a hack. It should be quite usable for simple tasks, such as fixing a glyph or three that look a bit off. However, this is perhaps not refined and feature-complete enough to design an entire font just yet.
Here's a quick start to doing something with this program:
hjkl: move cursor
Spacebar: toggle pixel at cursor
Ins/Del: set/clear pixel at cursor
Ctrl-O: load font (pops up a file browser dialog)
Ctrl-S: save font (type filename, hit enter; no dialog yet!)
c: copy glyph to clipboard
p: paste glyph from clipboard
-/=: previous/next glyph
PgUp/Dn: previous/next 16 glyphs
Home/End: first/last glyph
Authors and copyright
gnacc is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.