{"id":23060322,"url":"https://github.com/quard/u8g2_font_render","last_synced_at":"2025-04-28T13:43:28.492Z","repository":{"id":139470077,"uuid":"316605370","full_name":"Quard/u8g2_font_render","owner":"Quard","description":"platform and display agnostic library for render fonts from u8g2 project","archived":false,"fork":false,"pushed_at":"2024-05-11T19:54:40.000Z","size":902,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-30T10:11:18.213Z","etag":null,"topics":["display","font","mcu","microcontroller","stm32","u8g2"],"latest_commit_sha":null,"homepage":"","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/Quard.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}},"created_at":"2020-11-27T21:42:03.000Z","updated_at":"2025-02-13T05:47:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"802e8c79-ef26-4b81-8d7d-c2892e1d0e28","html_url":"https://github.com/Quard/u8g2_font_render","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quard%2Fu8g2_font_render","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quard%2Fu8g2_font_render/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quard%2Fu8g2_font_render/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Quard%2Fu8g2_font_render/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Quard","download_url":"https://codeload.github.com/Quard/u8g2_font_render/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251321452,"owners_count":21570742,"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":["display","font","mcu","microcontroller","stm32","u8g2"],"created_at":"2024-12-16T03:11:56.287Z","updated_at":"2025-04-28T13:43:28.466Z","avatar_url":"https://github.com/Quard.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# U8G2FontRender\n\nPlatform and display agnostic library for render fonts from [u8g2](https://github.com/olikraus/u8g2/) project.\n\n\u003e Basically, for now, it's a one-day build project. That's why it very simple and probably doesn't have all features. Don't hesitate to create PRs with changes that you need or issues.\n\nU8g2 is a great project that has many fonts out of the box. As well as a set of scripts to generate new fonts from fonts for your system.\n\n![](examples/example.jpg)\n\n## How to use\n\nAs library platform and display agnostic, you should create two functions with `void fn(uint8_t x, uint8_t y)` signature, one for render foreground pixel and another for render background pixel. It gives you the opportunity to control colors, inversion, and other different parameters on text rendering.\n\nAnd get font(s) from [u8g2](https://github.com/olikraus/u8g2/) library (`csrc/u8g2_fonts.c` file).\n\n```c\n#include \"u8g2_font_render.h\"\n...\n  \nU8G2FontRender_t font = U8G2FontRender(u8g2_font_arr, \u0026fnDrawFgPixel, \u0026fnDrawBgPixel);\nU8G2FontRender_Print(\u0026font, 0, 0, \"Hello, World!\");\n```\n\n## Tested using\n\nDev boards / MCUs:\n\n* STM32F103C8 (BluePill)\n\nDisplays:\n\n* SSD1306\n* Nokia 1202\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquard%2Fu8g2_font_render","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquard%2Fu8g2_font_render","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquard%2Fu8g2_font_render/lists"}