{"id":20596545,"url":"https://github.com/tcoppex/ofxfontsampler","last_synced_at":"2026-04-19T12:37:31.426Z","repository":{"id":146232459,"uuid":"357865539","full_name":"tcoppex/ofxFontSampler","owner":"tcoppex","description":":ab: TrueType font glyph sampler addon for OpenFrameworks.","archived":false,"fork":false,"pushed_at":"2021-06-14T08:49:54.000Z","size":460,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T00:50:54.507Z","etag":null,"topics":["font","glyphs","openframeworks-addon","truetype-font","ttf"],"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/tcoppex.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":"2021-04-14T10:31:25.000Z","updated_at":"2024-10-22T09:14:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"a68caa08-aedf-49fc-9842-9c8f80a85d91","html_url":"https://github.com/tcoppex/ofxFontSampler","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/tcoppex%2FofxFontSampler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcoppex%2FofxFontSampler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcoppex%2FofxFontSampler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcoppex%2FofxFontSampler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcoppex","download_url":"https://codeload.github.com/tcoppex/ofxFontSampler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242231439,"owners_count":20093636,"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":["font","glyphs","openframeworks-addon","truetype-font","ttf"],"created_at":"2024-11-16T08:17:32.156Z","updated_at":"2026-04-19T12:37:26.370Z","avatar_url":"https://github.com/tcoppex.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ofxFontSampler\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n![Stage: alpha](https://img.shields.io/badge/-alpha-red)\n\n![fontsampler](fontsampler.png)\n\n**ofxFontSampler** is a *TrueType Font* (TTF) glyph path extractor and renderer designed to finely sample glyphes from a font.\n\nIt was somewhat inspired by Ken Perlin's blog post [*\"Unfont Design\"*](http://blog.kenperlin.com/?p=16961).\n\n### Overview\n\nThe project consist of two parts : \n\n* **FontSampler**, a *TrueType Font* (TTF) file parser and a glyph path extractor designed to handle type 4 CMAP format and working as a standalone c++ library.\n* **ofxFontSampler**, an openframework addons interfacing with *FontSampler*.\n\n### Example\n\nThe example consists of two demos you can switch using the mouse left-click. It relies on the [ofxTriangleMesh](https://github.com/tcoppex/ofxTriangleMesh) addon to triangulate meshes.\n\n#### Demo 1 : Latin charset letters\n\nDisplay iteratively the 26 uppercase letters of the latin charset (*A to Z*) with different animated contour sampling.\n\n#### Demo 2 : ofxRenderFont\n\nDisplay a 3d text with dynamic extrusion on the z-axis using the *ofxRenderFont* utility class.\n\n### Limitations\n\n* **FontSampler** is intended to be used at the glyph (*ie. character*) level, you can certainly write text with it but no support is given.\n* It was designed to handle TTF using **type 4 CMAP** (*cf. TrueType Reference*). Most TrueType fonts support it, but some don't.\n* Composites glyphes, like letters with accent (*eg. \"é\"*), are not supported.\n* It is more of a working prototype which would need work on the memory management side to be production ready.\n\n### References\n\n- [Apple's TrueType Reference Manual](https://developer.apple.com/fonts/TrueType-Reference-Manual/)\n- [The OpenType Font File](https://www.microsoft.com/typography/otspec/otff.htm)\n- [An Introduction to TrueType Fonts: A look inside the TTF format](http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi\u0026id=iws-chapter08)\n\n### Acknowledgement\n\nThe example is distributed with a typeface from *GNU FreeFont* used under the **GNU General Public License**. You can read more about it and obtain a free copy [here](https://www.gnu.org/software/freefont/index.html).\n\n## License\n\n*ofxFontSampler* is released under the **MIT License**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcoppex%2Fofxfontsampler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcoppex%2Fofxfontsampler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcoppex%2Fofxfontsampler/lists"}