A downloadable tool for Windows and Linux

What is this?

Tool to automatically generate kerning pairs for Pixel Font Converter (itch.io link for offline downloads). This does not create the font itself, it just gives you the text to copy into Pixel Font Converter's kerning pair field. I made this for personal use, but maybe you need a really specific tool as well?


What is kerning?

Kerning (or in simpler terms), is used in fonts to change the spacing between certain characters.

Here's an example with the word "To":

No custom kerning.
Custom kerning pair used in Pixel Font Converter.
The format is this: [Left character] [Right character] [Amount to move the right character horizontally]
For this pair, it would be "T o -2" to shift the "o" 2 pixels to the left if it's after "T".

How to use:

Download the zip file and extract it. Run the executable, it should look like this:

Next, fill in all of the parameters in the top section. You will need to load an image of every symbol in the font, as well as specifying a bunch of other parameters. When entering the symbols as text, enter them in the order they are in the image: left-to-right and top-to-bottom. The "kerning space" isn't based on the input image, it's how much spacing you want between the letters in the final result. You can save and load your config for convenience; the config will be saved to the same folder as the executable.

Example font image:
Example config for that font:

Then, hit the big button! It will take a little bit to process, so expect the application to freeze (but it shouldn't take a whole minute). It will put the result text in the bottom area, which is automatically copied to your clipboard, so you can just paste that into Pixel Font Converter.

You will most likely need to do some manual cleanup, but this should get you mostly done with kerning. In the project files, I've included a Python 3.11.0 script which takes in all symbols in the font as input, and outputs every combination of those symbols. You can copy and paste the output into Pixel Font Converter's preview, and look over it to see if any symbols need to be fixed.


This was made in Godot Engine 3.5, which uses the MIT License, but anything made by me is licensed under CC0 1.0 (feel free to use/modify anything in the project files).

StatusReleased
CategoryTool
PlatformsWindows, Linux
AuthorGryyre
Made withGodot
Tagsfont-tool, kerning

Download

Download
auto-kerner-windows.zip 15 MB
Version 6 May 19, 2023
Download
auto-kerner-linux.zip 16 MB
Version 6 May 19, 2023
Download
auto-kerner-project-files.zip 223 kB
Version 6 May 19, 2023

Leave a comment

Log in with itch.io to leave a comment.