{"id":16916937,"url":"https://github.com/althonos/embedded-picofont","last_synced_at":"2025-04-11T16:24:43.865Z","repository":{"id":49514357,"uuid":"194934871","full_name":"althonos/embedded-picofont","owner":"althonos","description":"The PICO-8 font to use with embedded-graphics.","archived":false,"fork":false,"pushed_at":"2021-06-16T04:26:14.000Z","size":82,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T12:22:24.663Z","etag":null,"topics":["embedded","embedded-rust","font","graphics","no-std","pico-8","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/althonos.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-02T21:05:33.000Z","updated_at":"2021-10-21T18:56:49.000Z","dependencies_parsed_at":"2022-09-09T15:10:43.981Z","dependency_job_id":null,"html_url":"https://github.com/althonos/embedded-picofont","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/althonos%2Fembedded-picofont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/althonos%2Fembedded-picofont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/althonos%2Fembedded-picofont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/althonos%2Fembedded-picofont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/althonos","download_url":"https://codeload.github.com/althonos/embedded-picofont/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248190506,"owners_count":21062282,"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","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":["embedded","embedded-rust","font","graphics","no-std","pico-8","rust"],"created_at":"2024-10-13T19:31:31.187Z","updated_at":"2025-04-11T16:24:43.833Z","avatar_url":"https://github.com/althonos.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `embedded-picofont` [![Star me](https://img.shields.io/github/stars/althonos/embedded-picofont.svg?style=social\u0026label=Star\u0026maxAge=3600)](https://github.com/althonos/embedded-picofont/stargazers)\n\n*The PICO-8 font to use with [`embedded-graphics`](https://crates.io/crates/embedded-graphics).*\n\n[![TravisCI](https://img.shields.io/travis/com/althonos/embedded-picofont/master.svg?maxAge=600\u0026style=flat-square)](https://travis-ci.com/althonos/embedded-picofont/branches)\n[![Codecov](https://img.shields.io/codecov/c/gh/althonos/embedded-picofont/master.svg?style=flat-square\u0026maxAge=600)](https://codecov.io/gh/althonos/embedded-picofont)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\u0026maxAge=2678400)](https://choosealicense.com/licenses/mit/)\n[![Source](https://img.shields.io/badge/source-GitHub-303030.svg?maxAge=2678400\u0026style=flat-square)](https://github.com/althonos/embedded-picofont)\n[![Crate](https://img.shields.io/crates/v/embedded-picofont.svg?maxAge=600\u0026style=flat-square)](https://crates.io/crates/embedded-picofont)\n[![Documentation](https://img.shields.io/badge/docs.rs-latest-4d76ae.svg?maxAge=2678400\u0026style=flat-square)](https://docs.rs/embedded-picofont)\n[![Changelog](https://img.shields.io/badge/keep%20a-changelog-8A0707.svg?maxAge=2678400\u0026style=flat-square)](https://github.com/althonos/embedded-picofont/blob/master/CHANGELOG.md)\n[![GitHub issues](https://img.shields.io/github/issues/althonos/embedded-picofont.svg?style=flat-square)](https://github.com/althonos/embedded-picofont/issues)\n\n## Overview\n\nThis crate provides the super tiny 4x6 font of the PICO-8 fantasy console as\nan [`embedded_graphics::fonts::Font`](https://docs.rs/embedded-graphics/0.6.2/embedded_graphics/fonts/trait.Font.html):\n\n![Font](https://www.lexaloffle.com/gfx/pico8_font.png)\n\nPlease note the PICO-8 itself only use the uppercase characters, as the lowercase\nchars can get *really* hard to read if the display is not upscaled. As such, it\nis advised to only use this font to display uppercase characters.\n\n## Usage\n\nUse [`TextStyle`](https://docs.rs/embedded-graphics/0.6.2/embedded_graphics/style/struct.TextStyle.html)\nto attach the PICO-8 font to a text:\n```rust\nuse embedded_picofont::FontPico;\nlet text = Text::new(\"Hello world!\", Point::new(0, 0))\n    .into_styled(TextStyle::new(FontPico, Gray8::WHITE));\n```\n![Hello world](https://github.com/althonos/embedded-picofont/raw/master/static/helloworld.png)\n\nThe PICO-8 also has wide characters: these can be displayed using two smaller\ncharacters in the `128..255` char range:\n```rust\nuse embedded_picofont::{text_pico, FontPico};\nlet text = Text::new(\"PRESS \\u{96}\\u{97} TO GO BACK\", Point::new(0, 0))\n    .into_styled(TextStyle::new(FontPico, Gray8::WHITE));\n```\n![Press left to go back](https://github.com/althonos/embedded-picofont/raw/master/static/goback.png)\n\nSee the [`embedded-graphics` documentation](https://docs.rs/embedded-graphics/)\nfor more information on how to use this crate.\n\n## License\n\n* The [original PICO-8 font](https://www.lexaloffle.com/pico-8.php?page=faq)\n  is available under the [CC-0 license](https://creativecommons.org/share-your-work/public-domain/cc0/).\n* This crate is released under the [MIT License](https://opensource.org/licenses/mit-license.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falthonos%2Fembedded-picofont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falthonos%2Fembedded-picofont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falthonos%2Fembedded-picofont/lists"}