A typographical Submodule for Weaver Game Engine
This project is part of Weaver Game Engine. It implements WeaveFont, a language to desing and control typographical fonts strongly based on Knuth's METAFONT.
Each WeaveFont source file can generate an infinity of different typographical fonts, just changing some parameters. For example, with a single source file, you could set the described font size to 13pt, set 75% of bold, 10% of italics and toggle monospace mode. The typographical font could also define other customized parameters, like randomness or slanting, for example. The font designer can create any number of variables that could be customized on real time. Each WeaveFont source file describes an entire typographical font family, with a set of parameters that could be changed. And each one uses WeaveFont language, a complete interpreted language to describe the font.
Despite similar syntax, WeaveFont has several differences to METAFONT. Some of them are:
x1
and x2
are two unrelated and valid variable names,
for example. a=b+c
is equal a:=b+c
.