{"id":21088905,"url":"https://github.com/iolanguage/font","last_synced_at":"2025-03-14T05:44:58.662Z","repository":{"id":66367847,"uuid":"124751521","full_name":"IoLanguage/Font","owner":"IoLanguage","description":null,"archived":false,"fork":false,"pushed_at":"2018-06-13T12:04:18.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T00:49:18.376Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IoLanguage.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":"2018-03-11T11:54:36.000Z","updated_at":"2018-06-13T12:04:20.000Z","dependencies_parsed_at":"2023-02-21T21:45:15.329Z","dependency_job_id":null,"html_url":"https://github.com/IoLanguage/Font","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/IoLanguage%2FFont","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IoLanguage%2FFont/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IoLanguage%2FFont/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IoLanguage%2FFont/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IoLanguage","download_url":"https://codeload.github.com/IoLanguage/Font/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532525,"owners_count":20306152,"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":[],"created_at":"2024-11-19T21:21:32.802Z","updated_at":"2025-03-14T05:44:58.651Z","avatar_url":"https://github.com/IoLanguage.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Font \nThe Font object can be used to load and render TrueType fonts. Example use:\n```Io\n// within a GLUT display callback...\n\ntimesFont = Font clone open(\\\"times.ttf\\\")\nif (timesFont error, write(\\\"Error loading font: \\\", timesFont error, \\\"\\n\\\"); return)\ntimesFont setPointSize(16)\nglColor(0,0,0,1)\ntimesFont draw(\\\"This is a test.\\\")\n```\n\n\u003cb\u003eRendering fonts using OpenGL textures\u003c/b\u003e\n\nSmaller fonts (those having a point size around 30 or smaller, depending on the font) will automatically be cached in and rendered from a texture. This technique is very fast and should support rendering speeds as fast (or faster than) those of typical desktop font rendering systems. Larger font sizes(due to texture memory constraints) will be rendered to a pixelmap when displayed. Thanks to Mike Austin for implementing the font texturing system.\n\n# Installation\n`freetype` should be install and foundable in your system. Then:\n\n```\neerie install https://github.com/IoLanguage/Font.git\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiolanguage%2Ffont","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiolanguage%2Ffont","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiolanguage%2Ffont/lists"}