Next: , Previous: , Up: fontopia   [Contents][Index]


1 fontopia: the console font editor

1.1 About fontopia

Fontopia is an easy-to-use, text-based, console font editor. What this means in simple English is that you can edit the fonts that your GNU/Linux kernel is using to display your text on text-based (vs graphical) terminals.

Unlike other console text editors which usually work on one PSF version, or work on unicode tables only, or allow very minimal glyph editing, fontopia provides all these functions together:

Console font files are commonly of PSF type (of which there are two versions), or of CP type (legacy fonts). Fontopia works with PSF files of both versions, as well as CP fonts, BDF files and raw font files.

1.2 What’s new:

1.3 Supported formats:

1.4 WARNING:

  1. There is a major downside currently: fontopia doesn’t work with unicode sequences properly (at least not in all cases). If you export a unicode table, edit it, and then import it to a font file, you should be safe.
  2. Note that if you changed the font version from CP to any other version, only the ACTIVE font will be changed, as the other font formats (PSF, Raw, BDF) don’t support multiple fonts inside the same font file. In this case, you will need to open the original CP file multiple times, every time select a different font size (by using ’1’-’4’ number keys) and convert to the new font version, then reopen the original CP file, select another font size, convert it, and so on.

1.5 Package dependencies

Fontopia needs the GnuDOS and ncurses packages in order to run. Furthermore, if you are going to compile Fontopia from the source, you will need the following header files: dialogs.h, kbd.h and screen.h. These files are part of the GnuDOS package. If you don’t have GnuDOS installed on your system, you can download the sources from https://ftp.gnu.org/gnu/gnudos/, compile and install them, then retry running or compiling Fontopia.

Alternatively, if you are using an RPM-based distro, you can download and install the RPM from places like: https://pkgs.org/download/gnudos. Additionally, Fedora, CentOS and RHEL users can use yum/dnf to install GnuDOS from the official repos. (Note: if you are installing GnuDOS from an RPM repo, and you want to compile Fontopia from the source, you will need to install the ’gnudos-devel’ package in addition to the ’gnudos’ package. The former package includes the above header files, which are needed to compile Fontopia from the source).

1.7 Buffer mode

We know editing font files is a delicate and error-prone task, more so when working with small tiny fragile things like console fonts. For this we added buffering functionality to fontopia.

What the buffer is, simply, a way to do all your work on your font, editing and cutting and scaling and whatsoever, and saving the font with the same name you intended to, but adding a tilde ’~’ to the end, same like backup files used by other programs (like gedit for example).

When you are happy with your work and you want to transfer it to the final font file, turn off buffering mode and hit ^S and your file will be saved.


Next: GNU Free Documentation License, Previous: fontopia, Up: fontopia   [Contents][Index]