I'm building a web-based browser game based on Maya culture (with vast liberties, so far it's just a trigonometry problem). To make my job easier I build a hand-drawn font stub, using Calligraphr. There's supposed to already be Unicode support, but I couldn't be bothered figuring it out. If this is helpful to anybody feel free to download the TrueType or OpenType versions.
In order to use this font in a website you can just upload it to your website and use an @font-face, like this:
@font-face{
font-family: 'mayanumerals';
src: url('Mayanumerals-Regular.ttf') format('truetype');
font-weight: 100;
font-style: normal;
font-display: swap;
}
The Maya numeral system is very intersting, it is a base-20 system with some irregularities, which I'll utterly ignore in my game.
Decimal | Maya | Character |
---|---|---|
0 | 0 | 0 |
1 | 1 | 1 |
2 | 2 | 2 |
3 | 3 | 3 |
4 | 4 | 4 |
5 | 5 | 5 |
6 | 6 | 6 |
7 | 7 | 7 |
8 | 8 | 8 |
9 | 9 | 9 |
10 | a | a |
11 | b | b |
12 | c | c |
13 | d | d |
14 | e | e |
15 | f | f |
16 | g | g |
17 | h | h |
18 | i | i |
19 | j | j |
0123456789abcdefghij
20^2 | 20^1 | 20^0 |
---|---|---|
0 | 0 | 0 |
1 |
1 |
1 |
5 |
5 |
5 |