{"id":13994811,"url":"https://github.com/prawnpdf/ttfunk","last_synced_at":"2025-04-07T23:13:30.075Z","repository":{"id":447226,"uuid":"69899","full_name":"prawnpdf/ttfunk","owner":"prawnpdf","description":"Font Metrics Parser for Prawn","archived":false,"fork":false,"pushed_at":"2024-08-15T07:10:46.000Z","size":13537,"stargazers_count":126,"open_issues_count":11,"forks_count":76,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-03-20T21:26:47.379Z","etag":null,"topics":["afm","dfont","fonts","ruby","ttc","ttf"],"latest_commit_sha":null,"homepage":"http://prawnpdf.org","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"aschelch/cakephp-notification-plugin","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prawnpdf.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"COPYING","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":"2008-10-30T22:41:01.000Z","updated_at":"2025-03-19T09:46:34.000Z","dependencies_parsed_at":"2024-06-18T12:30:56.172Z","dependency_job_id":"65698ba1-bffa-4bfb-a25b-d765b010e3fd","html_url":"https://github.com/prawnpdf/ttfunk","commit_stats":{"total_commits":268,"total_committers":32,"mean_commits":8.375,"dds":0.7350746268656716,"last_synced_commit":"885061ed7fd0d1397ff40b3c67fb9d93dc30dcd0"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawnpdf%2Fttfunk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawnpdf%2Fttfunk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawnpdf%2Fttfunk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prawnpdf%2Fttfunk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prawnpdf","download_url":"https://codeload.github.com/prawnpdf/ttfunk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759958,"owners_count":20505716,"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":["afm","dfont","fonts","ruby","ttc","ttf"],"created_at":"2024-08-09T14:03:07.006Z","updated_at":"2025-03-24T21:14:07.353Z","avatar_url":"https://github.com/prawnpdf.png","language":"Ruby","readme":"# TTFunk\n\n![Maintained: yes](https://img.shields.io/badge/maintained-yes-brightgreen.svg)\n![CI status](https://github.com/prawnpdf/ttfunk/workflows/CI/badge.svg)\n\nTTFunk is a TrueType and OpenType font library written in pure ruby. It supports\nboth parsing and encoding of fonts. Also provides limited font subsetting.\n\n## Installation\n\nThe recommended installation method is via Rubygems.\n\n```shell\ngem install ttfunk\n```\n\n## Usage\n\nBasic usage:\n\n```ruby\nrequire 'ttfunk'\n\nfile = TTFunk::File.open(\"some/path/myfont.ttf\")\nputs \"name    : #{file.name.font_name.join(', ')}\"\nputs \"ascent  : #{file.ascent}\"\nputs \"descent : #{file.descent}\"\n```\n\nFor more detailed examples, explore the examples directory.\n\n## Licensing\n\nMatz's terms for Ruby, GPLv2, or GPLv3. See LICENSE for details.\n\n##  Authorship\n\nThis project is maintained by the same folks who run the Prawn PDF project.\n\nHere's the [full list](https://github.com/prawnpdf/ttfunk/contributors) of\nGithub users who have at least one patch accepted to TTFunk.\n\n## Community support\n\nTTFunk is maintained as a dependency of Prawn, the ruby PDF generation library.\n\nAny questions or feedback should be sent to the [Prawn\nDiccussions](https://github.com/orgs/prawnpdf/discussions) group.\n","funding_links":[],"categories":["Ruby"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprawnpdf%2Fttfunk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprawnpdf%2Fttfunk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprawnpdf%2Fttfunk/lists"}