{"id":28450214,"url":"https://github.com/tangrams/fontstash-es","last_synced_at":"2025-09-02T17:21:44.801Z","repository":{"id":21642953,"uuid":"24963628","full_name":"tangrams/fontstash-es","owner":"tangrams","description":"Text rendering and text shaping for OpenGL ES","archived":false,"fork":false,"pushed_at":"2016-01-27T20:30:39.000Z","size":27255,"stargazers_count":61,"open_issues_count":4,"forks_count":10,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-09-01T08:28:05.980Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tangrams.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-08T22:23:34.000Z","updated_at":"2025-05-27T11:01:03.000Z","dependencies_parsed_at":"2022-08-21T22:20:59.525Z","dependency_job_id":null,"html_url":"https://github.com/tangrams/fontstash-es","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tangrams/fontstash-es","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangrams%2Ffontstash-es","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangrams%2Ffontstash-es/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangrams%2Ffontstash-es/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangrams%2Ffontstash-es/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tangrams","download_url":"https://codeload.github.com/tangrams/fontstash-es/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tangrams%2Ffontstash-es/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273319079,"owners_count":25084327,"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-09-02T02:00:09.530Z","response_time":77,"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-06-06T15:06:49.743Z","updated_at":"2025-09-02T17:21:44.789Z","avatar_url":"https://github.com/tangrams.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"fontstash-es\n============\n\n![00](img/particles.gif)\n\nThis project is based on [fontstash](https://github.com/memononen/fontstash), it is using OpenGL ES 2.0 in order to be used on mobile devices.\n\nYou can use the following features:\n\n+ Text-shaping using the [Harfbuzz](https://github.com/behdad/harfbuzz) text-shaping engine: this lets you render text in several directions (left-to-right, top-to-bottom...), compatible only by using the FreeType rasterizer.\n+ Signed distance field rendering: for high quality anti-aliased text rendering.\n+ Gl-backend: if you're not familiar with OpenGL, simply use the provided rendering system.\n\nActivating features\n-------------------\n\nEnabling text-shaping using the freetype rasterizer:\n```c++\n#define FONS_USE_FREETYPE\n#define GLFONTSTASH_IMPLEMENTATION\n#define FONS_USE_HARFBUZZ\n#import \"glfontstash.h\"\n```\n\nAdding fontstash-es to your project\n-----------------------------------\n\nThe text-shaping feature creates a lot of dependencies and uses some static libraries in order to be used. \n\nIf you're not planning to use the text-shaping engine, simply add the fontstash-es/include headers in your project. \n\nIf you want to use the text-shaping engine you would need the header files from harfbuzz, freetype2 and the static libraries for these two + [ucdn](https://github.com/grigorig/ucdn) for unicode database and normalization; this for each of the different architectures you would be targetting. This project has these static libraries only for the iPhone simulator architecture (i386, x86_64).\n\nBuilding examples\n-----------------\n\nFor iOS, simply use the provided X-code project.\n\nIf you want to build the GLFW examples, you will need to install _GLFW_ and _CMake_, you can download it [here](http://www.cmake.org/download/) or use [homebrew](http://brew.sh/) to download everything.\n\n```bash\nbrew install cmake\nbrew tap homebrew/versions\nbrew install glfw3 pkg-config\n```\n\nThen build and run the examples:\n```\ncd examples/glfw\ncmake . \u0026\u0026 make\n./glfw.out\n./particles.out\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangrams%2Ffontstash-es","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftangrams%2Ffontstash-es","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftangrams%2Ffontstash-es/lists"}