{"id":43787020,"url":"https://github.com/tryashtar/minecraft-ttf","last_synced_at":"2026-02-05T19:07:00.224Z","repository":{"id":297135647,"uuid":"995761278","full_name":"tryashtar/minecraft-ttf","owner":"tryashtar","description":"Pixel-accurate and complete TrueType fonts from Minecraft: Java Edition, generated automatically from the latest version of the game","archived":false,"fork":false,"pushed_at":"2026-01-05T20:54:14.000Z","size":53,"stargazers_count":29,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-20T19:35:47.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tryashtar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-06-04T01:15:03.000Z","updated_at":"2026-01-13T20:41:32.000Z","dependencies_parsed_at":"2025-06-04T08:48:44.525Z","dependency_job_id":"067c19c9-4176-4bdf-bc6f-0f8600ea907c","html_url":"https://github.com/tryashtar/minecraft-ttf","commit_stats":null,"previous_names":["tryashtar/minecraft-ttf"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/tryashtar/minecraft-ttf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryashtar%2Fminecraft-ttf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryashtar%2Fminecraft-ttf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryashtar%2Fminecraft-ttf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryashtar%2Fminecraft-ttf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tryashtar","download_url":"https://codeload.github.com/tryashtar/minecraft-ttf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tryashtar%2Fminecraft-ttf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29130119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T18:55:47.139Z","status":"ssl_error","status_checked_at":"2026-02-05T18:55:04.010Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-05T19:06:59.644Z","updated_at":"2026-02-05T19:07:00.211Z","avatar_url":"https://github.com/tryashtar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minecraft TTF\n\nThis Python script converts Minecraft: Java Edition [font definition files](https://minecraft.wiki/w/Font#Providers) to [TrueType Fonts (TTFs)](https://en.wikipedia.org/wiki/TrueType).\n\nThe script downloads the latest snapshot jar and reads the following font definitions:\n* [Default](https://minecraft.wiki/w/Mojangles) (`minecraft:default`): The default game text font\n* [Enchanting](https://minecraft.wiki/w/Standard_Galactic_Alphabet) (`minecraft:alt`): The font used in enchanting table spells\n* [Illager Runes](https://minecraft.wiki/w/Illageralt) (`minecraft:illageralt`): An unused font added in 1.18, inspired by *Minecraft Dungeons*\n\nIt creates regular, bold, italic, and bold italic variants of each, matching the `bold` and `italic` styles as they appear in-game.\n\nOther Minecraft TTFs floating around the internet tend to be outdated (using the pre-1.13 bitmap) or don't contain the complete set of characters. Using this script will ensure you have a set that perfectly matches the vanilla game.\n\n## Font Downloads\n\nFonts generated by this script can be downloaded on [the releases page](https://github.com/tryashtar/minecraft-ttf/releases).\n\nIf you use Arch Linux, I have an [AUR package](https://aur.archlinux.org/packages/minecraft-ttf-git) that uses this script to install the generated fonts to your system.\n\n## Running the Script\n\n1. [Download and extract the repo](https://github.com/tryashtar/minecraft-ttf/archive/refs/heads/master.zip) or clone it (`git clone https://github.com/tryashtar/minecraft-ttf`)\n2. Install [`uv`](https://docs.astral.sh/uv/#installation)\n3. `uv run main.py`\n4. Fonts will be created in the `out` folder\n\n## Notes\n\n### Extended Characters\n\nMinecraft has a [`uniform`](https://minecraft.wiki/w/GNU_Unifont) font that provides thousands of characters that aren't in the regular game font, such as [CJK characters](https://en.wikipedia.org/wiki/CJK_characters). This massive font comes from [GNU Unifont](https://en.wikipedia.org/wiki/GNU_Unifont), and its characters are **not included** in the fonts generated by this script. This font is [available for download on its website](https://unifoundry.com/unifont/index.html).\n\n### Resource Pack Fonts\n\nThis script can turn any `bitmap` and `space` font provider into a TTF, so it could work with custom user-created fonts from resource packs too. Code would have to be written to allow the user to select which mode to use (vanilla jar or resource pack), and handle reading from unzipped sources. I have no use for this right now, so it's not implemented. But I'd be happy to help anyone who would like to see this functionality added.\n\n### Display Tips\n\nThese fonts are very accurate, and should look good at any scale in programs that use vector graphics to draw text. When rasterizing text in programs like [GIMP](https://en.wikipedia.org/wiki/GIMP), the font will be pixel-perfect accurate when its height is set to a multiple of 12 pixels, and the line and letter spacing are whole integers.\n\nThese TTFs can be imported back into Minecraft with a `ttf` provider, and perfectly match the vanilla fonts. The `size` property should be set to 12 instead of the default 11. Italic text will be antialiased; you can increase `oversample` to around 4 to make it a closer match:\n\n`assets/custom_font/font/default.json`:  \n```json\n{\n   \"providers\": [\n      {\n         \"type\": \"ttf\",\n         \"file\": \"custom_font:default.ttf\",\n         \"size\": 12\n      },\n      {\n         \"type\": \"ttf\",\n         \"file\": \"custom_font:italic.ttf\",\n         \"size\": 12,\n         \"oversample\": 4\n      }\n   ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryashtar%2Fminecraft-ttf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftryashtar%2Fminecraft-ttf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftryashtar%2Fminecraft-ttf/lists"}