{"id":20950447,"url":"https://github.com/colleagueriley/rfont","last_synced_at":"2025-10-05T19:49:09.829Z","repository":{"id":190539998,"uuid":"682855192","full_name":"ColleagueRiley/RFont","owner":"ColleagueRiley","description":"Simple-to-use single header modular font rendering library written in C.","archived":false,"fork":false,"pushed_at":"2025-09-23T02:32:52.000Z","size":2940,"stargazers_count":45,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-23T04:19:21.211Z","etag":null,"topics":["font-library","font-rendering","fonts","legacy-opengl","lightweight","linux","macos","modern-opengl","modular","opengl","rgfw","silicon","simple-to-use","single-header","ttf","windows"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColleagueRiley.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-25T03:11:09.000Z","updated_at":"2025-09-23T02:32:55.000Z","dependencies_parsed_at":"2023-08-25T05:53:23.856Z","dependency_job_id":"8cca30eb-69b0-4694-8270-f3f93ea1e89a","html_url":"https://github.com/ColleagueRiley/RFont","commit_stats":null,"previous_names":["colleagueriley/rfont"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ColleagueRiley/RFont","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRFont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRFont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRFont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRFont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColleagueRiley","download_url":"https://codeload.github.com/ColleagueRiley/RFont/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColleagueRiley%2FRFont/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278510914,"owners_count":25998996,"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-10-05T02:00:06.059Z","response_time":54,"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":["font-library","font-rendering","fonts","legacy-opengl","lightweight","linux","macos","modern-opengl","modular","opengl","rgfw","silicon","simple-to-use","single-header","ttf","windows"],"created_at":"2024-11-19T00:48:38.029Z","updated_at":"2025-10-05T19:49:09.778Z","avatar_url":"https://github.com/ColleagueRiley.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RFont\n![logo](logo.png)\n![image](Screenshot.png)\n\nSimple single header modular library for font rendering and atlas management.\\\nThe library is designed to be lightweight, `RFont.h` itself does not directly handle rendering calls, it passes raw data to the user defined renderer.\n\n`RFont_gl` and `RFont_gl1` serve as examples of user defined renderers.\n\nRFont is written in Pure C89. It uses `stdint.h` and `inline` by default.\n\nAdding `#define RFONT_C89` will use fallbacks for `stdint.h` and `inline`.\n\n## Build statuses\n![cplus workflow](https://github.com/ColleagueRiley/RFont/actions/workflows/linux.yml/badge.svg)\n![cplus workflow windows](https://github.com/ColleagueRiley/RFont/actions/workflows/windows.yml/badge.svg)\n![cplus workflow windows](https://github.com/ColleagueRiley/RFont/actions/workflows/macos.yml/badge.svg)\n\n# Contacts\n- email : ColleagueRiley@gmail.com\n- discord : ColleagueRiley\n- discord server : https://discord.gg/pXVNgVVbvh\n\n# Documentation\nFor documentation read the `RFont.h` file and check out the example in `./example`\n\n# uses\n\n[A Terminal emulator created using RFont by Noxomix](https://github.com/noxomix/vterm_test)\\\n[RSGL (my GUI library)](https://github.com/ColleagueRiley/RSGL)\n\n# Credits\n\n# stb_truetype\nRFont uses [stb_truetype](https://github.com/nothings/stb) for working with fonts.\n\nA modified version of stb_truetype is included in the RFont header.\\\nBut you can use an external copy by adding `#define RFONT_EXTERNAL_STB` to your code\n\n# Fontstash\n[Fontstash](https://github.com/memononen/fontstash) is another font rendering library with simular goals.\n\nFontash was used as a reference for some of this code.\n\nHowever, this library is intended to have better perfromance and be more lightweight than fontstash.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolleagueriley%2Frfont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolleagueriley%2Frfont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolleagueriley%2Frfont/lists"}