Skip to content
explodiPublic

About

Gothic pixel font, probably cursed

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Anomancer

Cut from old menu buttons and lit by lightning, seven pixels of serif stand along the line like fence posts at midnight. They count sheep in Spanish, lose them in German, whisper in kana when the fields go dark, and keep their capitals for when something out there is listening.

ANOMANCER over a stormy plain: capitals, lowercase, digits, accents, Spanish, German and Japanese lines, and Anomancer Sans

ひつじが いない…: a dark field, a fence, a farmhouse with a lit window, red eyes by the fence. 野に 黒い かげ。家に もどれ!

Close-up of the drawn glyphs: ぁぃぅぇぉ ゎ beside ゃゅょっ, ヮヵヶ, 『』〜ー, 《》,:;, ẞ ß – — • ° ª º Æ Œ Ë Ï Ÿ æ œ ë ï ÿ Ą Ę Ł Ż Ğ İ Ş ą ę ł ż ğ ı ş and Б Г Д Ж З И Й Л П У Ч Ш Щ Ы Ю Я in both families, with the serif's Н

再来一局? under a red moon: 得分 12, 最高分 45, a sheep and the creature on the plain, 《游戏》 按下开始

UN ŒIL ROUGE: two red eyes in the maize beside a sheep. « Qui est là ? » Personne. Le maïs bouge. CADÊ AS OVELHAS? NÃO HÁ NINGUÉM AQUI. ÇA NE RESSEMBLE PAS À UN MOUTON

GDZIE SĄ OWCE? under a crescent moon: Coś łazi po łące. Żadna owca nie śpi. Işıklar söndü, ağıl boş. KİMSE YOK. CHI C'È LÀ FUORI? NESSUNO. The creature by the fence

CUÁNTAS OVEJAS: sheep jumping a fence, one dark shape with red eyes among them. UNA DOS TRES Y ÄRGER IM STALL

QUIÉN ANDA AHÍ: a farmer with a shotgun by a lit farmhouse, two red eyes in the dark. NADIE SOLO EL VIENTO

TORMENTA: lightning over the plain, SÜSSE TRÄUME SCHÄFCHEN, three sheep asleep

Español: Anomancer es la fuente de La Leyenda del Chupacabra: una serifa de 7 píxeles con minúsculas, cifras, acentos (Á É Í Ó Ú Ü Ñ Ä Ö ß ¡ ¿…), hiragana, katakana y kanji, y su hermana Anomancer Sans. Libre bajo la SIL Open Font License.

Français : Anomancer est la police de La Leyenda del Chupacabra, avec les accents, Æ Œ, « » et les espaces insécables du français.

Português: Anomancer é a fonte de La Leyenda del Chupacabra, com os acentos do português (Ã Õ Ç Â Ê Ô…).

Italiano: Anomancer è il font di La Leyenda del Chupacabra, con gli accenti dell'italiano (À È É Ì Ò Ù).

Polski: Anomancer to czcionka gry La Leyenda del Chupacabra, z polskimi literami (Ą Ć Ę Ł Ń Ó Ś Ź Ż) i cudzysłowami „ ”.

Türkçe: Anomancer, La Leyenda del Chupacabra oyununun piksel yazı tipidir ve Türkçenin bütün harflerini içerir (Ç Ğ İ Ö Ş Ü ve noktasız ı).

Русский: Anomancer — пиксельный шрифт игры La Leyenda del Chupacabra; в нём есть заглавные буквы кириллицы, которые нужны русским надписям игры (строчных пока нет).

Українська: Anomancer — піксельний шрифт гри La Leyenda del Chupacabra; у ньому є великі літери кирилиці, потрібні для українських написів гри (малих поки немає).

日本語: Anomancer は『La Leyenda del Chupacabra』のピクセルフォントです。 ひらがな・カタカナ・漢字と、セリフ体(Anomancer)とサンセリフ体(Anomancer Sans)の英字が入っています。

中文: Anomancer 是游戏《La Leyenda del Chupacabra》的像素字体,包含该游戏简体中文界面所用的汉字, 取自 Fusion Pixel Font 的 8 像素简体中文字形(来自 MisekiBitmap)。

What it is

Anomancer is the pixel font of La Leyenda del Chupacabra, from its original 8×8 sheet (upstream/anomancer.gif), in two families built from one source:

Anomancer Anomancer Sans
Capitals the serif capitals the game's menus use, 7 px plain capitals, 7 px
Lowercase serif lowercase, 5 px x-height maps to the capitals
Digits serif digits squarer digits
Both kana, kanji, hanzi, Japanese, Chinese and Latin punctuation

Both families have:

  • Latin accents for Spanish, German, French, Portuguese, Italian, Polish and Turkish: Á É Í Ó Ú Ü Ñ Ä Ö À È Ì Ò Ù Â Ê Î Ô Û Ç Ã Õ Ë Ï Ÿ Ą Ć Ę Ł Ń Ś Ź Ż Ğ Ş and their lowercase, İ and the dotless ı, ß, ¡ ¿, and the ligatures Æ Œ æ œ.
  • Cyrillic capitals for La Leyenda del Chupacabra's Russian and Ukrainian labels (charsets/ru-labels.txt, charsets/uk-labels.txt; not a full Cyrillic font, and no Cyrillic lowercase yet): Б Г Д Ж З И Л П У Ч Ш Щ Ы Ю Я drawn from each family's own capitals, all within the capitals' 7 pixels (Д stands on its feet, Щ ends in a spur), Й composed with Ğ's breve, and А В Е Ё К М О Р С Т Х drawn by the Latin A B E Ë K M O P C T X. The serif draws its own Н, with a crossbar joining both stems (the game's H joins it to one); the sans Н is its H.
  • ASCII, every printable character, its full-width forms (U+FF01–U+FF5E, drawn as ASCII), ẞ ª º ° • and “ ” ‘ ’ „ ‚ « » – — · … © ® ™.
  • Hiragana and katakana, with the small kana (ぁぃぅぇぉ ゃゅょっ ゎ ァィゥェォ ャュョッ ヮ ヵ ヶ), ー, ゛ ゜ and every voiced kana precomposed (が–ぽ, ガ–ポ, ゔ, ヴ), the marks set in the row above the kana as the sheet sets them; 、。・…「」『』〜!?.
  • About 55 kanji from the sheet (生 目 平 古 世 王 黒 野 血 神 …).
  • The hanzi of La Leyenda del Chupacabra's Simplified Chinese labels (charsets/zh-hans.txt, not a full Chinese font), copied pixel for pixel from Fusion Pixel Font's 8 px Simplified Chinese, whose hanzi come from MisekiBitmap (both SIL OFL 1.1), and the full-width ,:;《》 drawn in the sheet's style. The sheet's kanji stay as they are.

specimens/chart.png shows every cell of the sheet with the character it maps to, and every glyph drawn or composed for the fonts. A few sheet cells have no known character yet and sit on private-use code points (U+E000, U+E001); so do the sheet's own versions of J Q V X Z (U+E010–U+E014), which the game redrew: Anomancer's J Q V X Z are the game's.

Metrics

Font units Pixels
Units per em 1000 10 (one pixel = 100 units)
Cap height 700 7
x-height (serif) 500 5
Kana, kanji and hanzi -100 to 700 an 8×8 cell, its last row below the baseline
Accents over capitals up to 1000 3 rows above the capitals
Voicing marks over kana up to 1100 in the row above the kana
Ascent / descent / line gap 1100 / 300 / 0 11 / 3 / 0: a 14-pixel line
Advance Latin: glyph width + 100; kana: 800 (900 where the ink reaches the cell's edge)
Space 400 5 blank pixels between words; the no-break space (U+00A0) too, the narrow no-break space (U+202F) 200

Using it as a pixel font

  • Draw it at 10 px or a multiple of it (20, 30, 40…). At 10 px one font pixel is one screen pixel.
  • Turn antialiasing and hinting off, and use nearest filtering when the text is drawn into a texture that gets scaled.
  • Put text at whole-pixel positions, and give lines with voiced kana the full 14-pixel line.

In Godot, import the TTF with Antialiasing None, Hinting None and Subpixel Positioning Disabled. In a browser:

@font-face { font-family: Anomancer; src: url(Anomancer.woff2) format("woff2"); }
@font-face { font-family: "Anomancer Sans"; src: url(AnomancerSans.woff2) format("woff2"); }
.menu { font: 20px/28px Anomancer; -webkit-font-smoothing: none; font-smooth: never; }

Files

File What
fonts/Anomancer.ttf, .woff2 Anomancer
fonts/AnomancerSans.ttf, .woff2 Anomancer Sans
fonts/*-sheet.png Every glyph of each family, at 4×
upstream/anomancer.gif The original sheet
src/sheet-map.txt Every cell of the sheet and its character
src/game.txt The serif capitals exactly as the game draws them
src/drawn.txt Glyphs drawn for characters the sheet lacks
src/hanzi.txt Hanzi from Fusion Pixel Font, written by tools/import_hanzi.py

To rebuild:

python3 -m venv .venv && .venv/bin/pip install fonttools brotli pillow freetype-py
.venv/bin/python build.py            # fonts/, with the checks below
.venv/bin/python specimens/make.py   # specimen.png and specimens/, rendered from the TTFs
.venv/bin/python specimens/chart.py  # specimens/chart.png

build.py fails if any cell of the sheet is missing from the fonts or drawn differently, if either family lacks a character of charsets/en-es-de-ja.txt (everything English, Spanish, German and Japanese text needs, kanji aside), charsets/fr.txt (French: Æ Œ Ë Ï Ÿ, « » and the no-break spaces), charsets/pt.txt (Portuguese), charsets/it.txt (Italian), charsets/pl.txt (Polish: Ą Ć Ę Ł Ń Ó Ś Ź Ż and „ ”), charsets/tr.txt (Turkish: Ç Ğ İ Ö Ş Ü and ı), charsets/zh-hans.txt (Chinese punctuation and the hanzi the game's labels use) or of charsets/ru-labels.txt and charsets/uk-labels.txt (the Cyrillic capitals the game's Russian and Ukrainian labels use), if a hanzi leaves the 8×8 cell, if any point or advance is off the pixel grid, or if the game's glyphs differ from v1.000. tools/check_coverage.py checks the characters of the game's labels.

A new hanzi comes from Fusion Pixel Font's fusion-pixel-8px-proportional-zh_hans.ttf (its release's fusion-pixel-font-8px-proportional-ttf-*.zip); add it to charsets/zh-hans.txt, then:

.venv/bin/python tools/import_hanzi.py path/to/fusion-pixel-8px-proportional-zh_hans.ttf path/to/locales/zh-Hans/labels.json

License

Anomancer is licensed under the SIL Open Font License, Version 1.1 (FAQ: https://openfontlicense.org). You can use it in games and other software, commercial or not, embed it, modify it and redistribute it; you can't sell the font on its own. Include OFL.txt when you ship it, or credit it like this:

Font: Anomancer (https://github.com/explodi/anomancer)
Copyright (c) explodi
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is available with a FAQ at: https://openfontlicense.org

The build scripts are offered under the same license.

About

Gothic pixel font, probably cursed

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages