Artifact [2534a8ee7e]
Not logged in

Artifact 2534a8ee7e83444b499de4e67819582c6288fbe2:

Wiki page [dotfonter] by Ross 2015-12-07 23:23:32.
D 2015-12-07T23:23:32.262
L dotfonter
N text/x-markdown
U Ross
W 1098
# What

Dotfonter creates a TTF font from a dot matrix description.

# How

Written in [Lua][].

Uses [TTX][] as an intermediate language since it is an [XML][] dialect that provides broad coverage of TrueType features through the TTX tool that can compile a TTF from a TTX description, and vice-versa.

Fonts will be described in several ways. Obvious candidates include hex dumps by rows (the format used by most LCD controller chips), and some sort of ASCII art flavored binary so that new characters can be edited in any source editor that can handle fixed-pitch text.


# References

 *  [TrueType Reference Manual](https://developer.apple.com/fonts/TrueType-Reference-Manual/)
 *  [SIL font scripts](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=iws-chapter08)
 *  [fonttools TTX][TTX]


# Story

See [blog posts][curiouser] for the ongoing story of why this came about and how it works.

[curiouser]: http://curiouser.cheshireeng.com/

[Lua]: http://www.lua.org/
[TTX]: https://github.com/behdad/fonttools/
[XML]: https://en.wikipedia.org/wiki/XML

Z 45c75102ce0d6e3b8137f6b061a7f2e5