mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-29 18:53:15 +01:00
39952f8bdf
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.
15 lines
316 B
Plaintext
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")
|