This font generator was created to bring my vision of a blocky digital font to life, for the sole purpose further customizing my Linux setup. You can see it in action here.
To compile and run this program it'll be necessary to have the GNU Compiler Collection installed, or to reconfigure the Makefile to use your preferred compiler suite.
All GNU/Linux distributions include packages for GCC in their package managers.
Debian/Ubuntu:
sudo apt-get install build-essentialFedora:
sudo dnf install @development-toolsArch:
pacman -Sy gccIts easy enough to find the install instructions for any other package managers online. During compilation GCC may ask you to install other dependencies. This program only uses the C standard library, so it shouldn't need much.
After cloning this repository you will need to build it using the make command.
All Unix systems come with make, whether its Linux, BSD, MacOS or WSL. To compile this program from a Unix terminal:
- Enter the program directory, ie.
cd ./DigitalSegmentedFont - Build with
make
Right now this generator only accepts one argument, or no arguments.
-t Runs in test mode, program will output glyphs and debug text
Default: Generates a bdf file in the same directory as the program.
The program will output instructions on what to do next with this file, however there is an easier way if you're using KDE Plasma. After using bdftopcf and gzip to convert the bdf font file into a pcf.gz, you can right-click it and push install and the system will do it for you. Try this out on other desktop environments, it may be possible!
After following these steps, the font should appear in your appearance settings and when you use the fc-list command.
Bitmap fonts like this one are not always supported by default, on Debian based systems you will need to:
sudo rm /etc/fonts/conf.d/70-no-bitmaps*
sudo fc-cache -fvIf that does not work, you should also do this:
sudo ln -s /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/
sudo fc-cache -fvIn modern Windows and MacOS there is no way to natively render bitmap fonts. You will have to use a third-party program like Gimp or open an XWindow session via WSL on Windows. If you'd like you can try converting this generator's output into a TTF or OTF for cross-platform compatibility. Such a contribution would be appreciated.