{"id":18438045,"url":"https://github.com/boxesandglue/textlayout","last_synced_at":"2025-04-07T20:34:55.722Z","repository":{"id":144424874,"uuid":"495723285","full_name":"boxesandglue/textlayout","owner":"boxesandglue","description":"Harfbuzz re-written in Go","archived":false,"fork":false,"pushed_at":"2024-10-16T08:53:25.000Z","size":2556,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-10-18T04:26:04.540Z","etag":null,"topics":["fonts","go","harfbuzz","opentype","subsetting","truetype"],"latest_commit_sha":null,"homepage":"","language":"Go","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/boxesandglue.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":"2022-05-24T07:54:07.000Z","updated_at":"2024-10-16T08:52:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"856d0d28-fd86-4461-b1b0-cf151a663e3d","html_url":"https://github.com/boxesandglue/textlayout","commit_stats":null,"previous_names":["boxesandglue/textlayout"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Ftextlayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Ftextlayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Ftextlayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxesandglue%2Ftextlayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxesandglue","download_url":"https://codeload.github.com/boxesandglue/textlayout/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223291672,"owners_count":17120991,"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":["fonts","go","harfbuzz","opentype","subsetting","truetype"],"created_at":"2024-11-06T06:18:01.985Z","updated_at":"2024-11-06T06:18:02.561Z","avatar_url":"https://github.com/boxesandglue.png","language":"Go","readme":"# Text layout library for Golang [![Go Reference](https://pkg.go.dev/badge/github.com/boxesandglue/textlayout.svg)](https://pkg.go.dev/github.com/boxesandglue/textlayout)\n\nThis module provides a chain of tools to layout text. It is mainly a port of the C libraries harfbuzz and graphite.\n\n## Project structure update\n\nThis repository is a shallow copy of https://github.com/benoitkugler/textlayout. All credits go to Benoit KUGLER and others (see the detailed history).\n\nAs of v0.1.0, the content of this repository has been split, with higher level, more experimental packages moved to [textprocessing](https://github.com/boxesandglue/textlayout).\n\nThe remaining packages are the more stable, low level logic used by [go-text](https://github.com/go-text/typesetting).\n\nAs of v0.1.1, the font files only used for internal tests have been moved in a [separate module](https://github.com/benoitkugler/textlayout-testdata), so that regular builds do not have to download these large files (this requires go1.17 for module lazy loading).\n\n## Overview\n\nThe package [fonts](fonts) provides the low level primitives to load and read font files. Once a font is selected, [harfbuzz](harfbuzz) is responsible for laying out a line of text, that is transforming a sequence of unicode points (runes) to a sequence of positioned glyphs. Graphite fonts are supported via the [graphite](graphite) package.\nSome higher level library may wrap these tools to provide an interface capable of laying out an entire text.\n\n## Status of the project\n\nThis project is a work in progress. Some parts of it are already usable : [fonts/truetype](fonts/truetype), [harfbuzz](harfbuzz) and [graphite](graphite), but breaking changes may be committed on the fly.\n\n## Licensing\n\nThis module is provided under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxesandglue%2Ftextlayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxesandglue%2Ftextlayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxesandglue%2Ftextlayout/lists"}