Artifact Content
Not logged in

Artifact 8621e7184c7730d02a37181fd4613b988a1ce7d4:

Wiki page [dotfonter] by rberteig 2015-12-24 00:57:56.
D 2015-12-24T00:57:56.155
L dotfonter
N text/x-markdown
P 2534a8ee7e83444b499de4e67819582c6288fbe2
U rberteig
W 1126
# 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/category/projects/dotfonter/

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

Z de257eb33a4b00b9f62da6c6879fe2cf