abouttreesummaryrefslogcommitdiff
path: root/srcs/special_font/build.pe
blob: 355a330489f13a3f0eeeb8018e75cbbba1f8e405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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])