{"id":43893149,"url":"https://github.com/skycoin/gltext","last_synced_at":"2026-02-06T17:11:02.552Z","repository":{"id":57536397,"uuid":"228724303","full_name":"skycoin/gltext","owner":"skycoin","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-25T00:27:33.000Z","size":156,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-14T23:30:08.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/skycoin.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}},"created_at":"2019-12-18T00:18:31.000Z","updated_at":"2020-12-04T12:24:27.000Z","dependencies_parsed_at":"2022-08-29T00:41:46.805Z","dependency_job_id":null,"html_url":"https://github.com/skycoin/gltext","commit_stats":null,"previous_names":["skycoinproject/gltext"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skycoin/gltext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fgltext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fgltext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fgltext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fgltext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skycoin","download_url":"https://codeload.github.com/skycoin/gltext/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skycoin%2Fgltext/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29169389,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T16:33:35.550Z","status":"ssl_error","status_checked_at":"2026-02-06T16:33:30.716Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-02-06T17:11:00.047Z","updated_at":"2026-02-06T17:11:02.539Z","avatar_url":"https://github.com/skycoin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## gltext\n\n**Note**: This package is experimental and subject to change.\nUse at your own discretion.\n\nThe gltext package offers a simple set of text rendering utilities for OpenGL\nprograms. It deals with TrueType and Bitmap (raster) fonts. Text can be\nrendered in various directions (Left-to-right, right-to-left and top-to-bottom).\nThis allows for correct display of text for various languages.\n\nThe package supports the full set of unicode characters, provided the loaded\nfont does as well.\n\n\n### TODO\n\n* Have a look at Valve's 'Signed Distance Field` techniques to render\n  sharp font textures are different zoom levels.\n\n  * [SIGGRAPH2007_AlphaTestedMagnification.pdf](http://www.valvesoftware.com/publications/2007/SIGGRAPH2007_AlphaTestedMagnification.pdf)\n  * [Youtube video](http://www.youtube.com/watch?v=CGZRHJvJYIg)\n  \n  More links to info in the youtube video description.\n  An alternative might be a port of [GLyphy](http://code.google.com/p/glyphy/)\n\n\n### Known bugs\n\n* Determining the height of truetype glyphs is not entirely accurate.\n  It is unclear at this point how to get to this information reliably.\n  Specifically the parts in `LoadTruetype` at truetype.go#L54+.\n  The vertical glyph bounds computed by freetype-go are not correct for\n  certain fonts. Right now we manually offset the value by added `4` to\n  the height. This is an unreliable hack and should be fixed.\n* `freetype-go` does not expose `AdvanceHeight` for vertically rendered fonts.\n  This may mean that the Advance size for top-to-bottom fonts is incorrect.\n\n\n### Dependencies\n\nThis packages uses [freetype-go](https://code.google.com/p/freetype-go) which is licensed \nunder GPLv2 e FTL licenses. You can choose which one is a better fit for your \nuse case but FTL requires you to give some form of credit to Freetype.org\n\nYou can read the [GPLv2](https://code.google.com/p/freetype-go/source/browse/licenses/gpl.txt)\nand [FTL](https://code.google.com/p/freetype-go/source/browse/licenses/ftl.txt)\nlicenses for more information about the requirements.\n\n### Usage\n\n    go get github.com/go-gl/gltext\n\nRefer to [go-gl/examples/gltext][ex] for usage examples.\n\n[ex]: https://github.com/go-gl/examples/tree/64b743f99c4e9151c09563e9be3339441eb9296b/gltext\n\n\n### License\n\nCopyright 2012 The go-gl Authors. All rights reserved.\nUse of this source code is governed by a BSD-style\nlicense that can be found in the LICENSE file.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskycoin%2Fgltext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskycoin%2Fgltext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskycoin%2Fgltext/lists"}