Unexpected-Keyboard/srcs/special_font/build.pe

16 lines
357 B
Plaintext
Raw Permalink Normal View History

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