{"id":27761066,"url":"https://github.com/tsoding/domsson-fontgen","last_synced_at":"2025-08-26T03:06:26.717Z","repository":{"id":91698044,"uuid":"365190158","full_name":"tsoding/domsson-fontgen","owner":"tsoding","description":"A simple tool that compresses bitmap fonts created by @domsson with a simple custom compression algorithm.","archived":false,"fork":false,"pushed_at":"2021-05-26T09:19:35.000Z","size":81,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-29T12:24:58.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsoding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-05-07T09:58:40.000Z","updated_at":"2025-01-03T12:04:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"15d0c257-4d8d-4121-9b1f-3fe1d26e541f","html_url":"https://github.com/tsoding/domsson-fontgen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsoding/domsson-fontgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fdomsson-fontgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fdomsson-fontgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fdomsson-fontgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fdomsson-fontgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsoding","download_url":"https://codeload.github.com/tsoding/domsson-fontgen/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsoding%2Fdomsson-fontgen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272164943,"owners_count":24884625,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-26T02:00:07.904Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-04-29T12:24:02.073Z","updated_at":"2025-08-26T03:06:26.710Z","avatar_url":"https://github.com/tsoding.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fontgen\n\nA simple tool that compresses bitmap fonts created by\n[domsson](https://opengameart.org/users/domsson) with a simple custom\ncompression algorithm. Compresses those specific fonts better than PNG.\n\nOriginally created for my experimental [rust-browser-game](https://github.com/tsoding/rust-browser-game).\n\n## Expected parameters of the font\n\n- A png image file 128x64 pixels\n- Monochrome image with black for the background and white for the foreground\n\n## Compression comparison with PNG\n\n| File Name                                                          | Original PNG size (bytes) | Size of `./fontgen -f bin` output (bytes) |\n| ---                                                                | ---                       | ---                                       |\n| [charmap-cellphone_white_0.png](./charmap-cellphone_white_0.png)   | 1103                      | 623                                       |\n| [charmap-futuristic_black_0.png](./charmap-futuristic_black_0.png) | 1070                      | 621                                       |\n| [charmap-oldschool_white.png](./charmap-oldschool_white.png)       | 1026                      | 622                                       |\n\n\n## Compression/Decompression Algorithms\n\n\u003c!-- TODO: Document Compression/Decompression Algorithms --\u003e\nTBD\n\n## Quick Start\n\n```console\n$ make\n$ ./fontgen ./charmap-oldschool_white.png\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Fdomsson-fontgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsoding%2Fdomsson-fontgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsoding%2Fdomsson-fontgen/lists"}