Unexpected-Keyboard/srcs/special_font/build.pe
Jules Aguillon 39952f8bdf Remove build dependency on Fontforge
The required version of fontforge (from 2020!) is not available in many
distros. This is an annoying for contributors and greatly complicated
the CI and F-Droid scripts.

The generated font file is now included in the sources. Fontforge is
still needed when adding new glyphs but this is not a common operation.
2022-04-24 20:52:36 +02:00

15 lines
316 B
Plaintext

# The special font is used for the symbols of some keys. It is built from SVG
# files, one for each glyph.
New()
# Imports glyphs, file name is position in the font.
i = 1
while (i < $argc)
Select(Strtol($argv[i]:t:r, 16))
Import($argv[i], 0, 0, 4.0, 0.1)
AutoWidth(150)
i++
endloop
Generate("result.ttf")