https://github.com/prawnpdf/ttfunk
Font Metrics Parser for Prawn
https://github.com/prawnpdf/ttfunk
Keywords
afm dfont fonts ruby ttc ttf
Keywords from Contributors
pdf-generator prawn activerecord activejob mvc rubygems static-analysis security-tools security-audit vulnerabilities
Last synced: about 20 hours ago
JSON representation
Repository metadata
Font Metrics Parser for Prawn
- Host: GitHub
- URL: https://github.com/prawnpdf/ttfunk
- Owner: prawnpdf
- License: other
- Created: 2008-10-30T22:41:01.000Z (over 17 years ago)
- Default Branch: master
- Last Pushed: 2026-02-04T13:31:56.000Z (27 days ago)
- Last Synced: 2026-02-10T04:39:55.354Z (21 days ago)
- Topics: afm, dfont, fonts, ruby, ttc, ttf
- Language: Ruby
- Homepage: http://prawnpdf.org
- Size: 12.9 MB
- Stars: 132
- Watchers: 34
- Forks: 86
- Open Issues: 14
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
README.md
TTFunk
TTFunk is a TrueType and OpenType font library written in pure ruby. It supports
both parsing and encoding of fonts. Also provides limited font subsetting.
Installation
The recommended installation method is via Rubygems.
gem install ttfunk
Usage
Basic usage:
require 'ttfunk'
file = TTFunk::File.open("some/path/myfont.ttf")
puts "name : #{file.name.font_name.join(', ')}"
puts "ascent : #{file.ascent}"
puts "descent : #{file.descent}"
For more detailed examples, explore the examples directory.
Licensing
Matz's terms for Ruby, GPLv2, or GPLv3. See LICENSE for details.
Authorship
This project is maintained by the same folks who run the Prawn PDF project.
Here's the full list of
Github users who have at least one patch accepted to TTFunk.
Community support
TTFunk is maintained as a dependency of Prawn, the ruby PDF generation library.
Any questions or feedback should be sent to the Prawn
Diccussions group.
Owner metadata
- Name: PrawnPDF
- Login: prawnpdf
- Email:
- Kind: organization
- Description:
- Website: https://prawnpdf.org/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1440292?v=4
- Repositories: 12
- Last ynced at: 2024-04-21T09:19:04.937Z
- Profile URL: https://github.com/prawnpdf
GitHub Events
Total
- Pull request event: 5
- Fork event: 7
- Watch event: 8
- Issue comment event: 24
- Pull request review event: 2
- Create event: 1
Last Year
- Pull request event: 5
- Fork event: 6
- Watch event: 5
- Issue comment event: 20
- Pull request review event: 2
- Create event: 1
Committers metadata
Last synced: 2 days ago
Total Commits: 271
Total Committers: 30
Avg Commits per committer: 9.033
Development Distribution Score (DDS): 0.716
Commits in past year: 3
Committers in past year: 1
Avg Commits per committer in past year: 3.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Alexander Mankuta | a****x@p****e | 77 |
| camertron | c****n@g****m | 58 |
| Gregory Brown | g****n@g****m | 35 |
| Jamis Buck | j****s@3****m | 24 |
| Matjaz Gregoric | m****a@g****m | 14 |
| Brad Ediger | b****r@m****m | 9 |
| James Healy | j****y@d****m | 7 |
| Evan Sharp | e****n@p****g | 6 |
| Javan Makhmali | j****n@j****s | 4 |
| Peter Goldstein | p****n@g****m | 4 |
| Jia Wu | w****3@y****m | 3 |
| Jesse Doyle | j****e@u****a | 3 |
| Katsuya HIDAKA | h****a@g****m | 3 |
| Steve Sloan | s****e@f****g | 3 |
| Dan Allen | d****n@g****m | 2 |
| Jon Burgess | j****s@g****m | 2 |
| Marcus Ramberg | m****s@n****m | 2 |
| Tom de Grunt | t****m@d****l | 2 |
| Daniel Nelson | d****t@b****m | 2 |
| Anton Rieder | 1****r | 1 |
| Cédric Boutillier | b****l@d****g | 1 |
| Jens Kutilek | w****l@k****e | 1 |
| Johnathon E Wright | jw@m****m | 1 |
| Keenan Brock | k****n@t****t | 1 |
| Lucas Florio | l****e@g****m | 1 |
| Pavel Lobashov | s****n@g****m | 1 |
| Serge Smetana | s****a@p****m | 1 |
| Thomas Leitner | t****r@g****t | 1 |
| Robert Pelkey | r****b@g****g | 1 |
| kokuyouwind | k****d@g****m | 1 |
Committer domains:
- ganesha.rob.intra.pelkey.org: 1
- gmx.at: 1
- pluron.com: 1
- thebrocks.net: 1
- mustmodify.com: 1
- kutilek.de: 1
- debian.org: 1
- bluejade.com: 1
- degrunt.nl: 1
- nordaaker.com: 1
- finagle.org: 1
- ualberta.ca: 1
- javan.us: 1
- packetmonkey.org: 1
- deefa.com: 1
- madriska.com: 1
- 37signals.com: 1
- pointless.one: 1
Issue and Pull Request metadata
Last synced: 3 days ago
Total issues: 36
Total pull requests: 79
Average time to close issues: about 1 year
Average time to close pull requests: 8 months
Total issue authors: 32
Total pull request authors: 40
Average comments per issue: 5.31
Average comments per pull request: 3.56
Merged pull request: 49
Bot issues: 0
Bot pull requests: 0
Past year issues: 1
Past year pull requests: 9
Past year average time to close issues: N/A
Past year average time to close pull requests: 15 days
Past year issue authors: 1
Past year pull request authors: 6
Past year average comments per issue: 2.0
Past year average comments per pull request: 2.22
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- camertron (2)
- practicingruby (2)
- mojavelinux (2)
- ghost (2)
- kokuyouwind (1)
- owst (1)
- louisatome (1)
- yob (1)
- TastyPi (1)
- jakoch (1)
- daniellAlgar (1)
- gl-yziquel (1)
- noraj (1)
- pointlessone (1)
- smetana (1)
Top Pull Request Authors
- camertron (12)
- pointlessone (8)
- mtyaka (7)
- packetmonkey (4)
- petergoldstein (4)
- hidakatsuya (2)
- mojavelinux (2)
- rrosenblum (2)
- dduugg (2)
- matsud224 (2)
- thatsmydoing (2)
- yoshoku (2)
- ShockwaveNN (2)
- aried3r (2)
- jessedoyle (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 12
-
Total downloads:
- rubygems: 286,079,273 total
- Total docker downloads: 128,667,250
- Total dependent packages: 25 (may contain duplicates)
- Total dependent repositories: 6,863 (may contain duplicates)
- Total versions: 46
- Total maintainers: 7
gem.coop: ttfunk
Font Metrics Parser for the Prawn PDF generator
- Homepage: http://prawnpdf.org/
- Documentation: http://www.rubydoc.info/gems/ttfunk/
- Licenses: Nonstandard,GPL-2.0-only,GPL-3.0-only
- Latest release: 1.8.0 (published almost 2 years ago)
- Last Synced: 2026-03-01T20:31:34.943Z (1 day ago)
- Versions: 18
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 143,037,868 Total
- Docker Downloads: 64,333,625
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Downloads: 0.176%
- Average: 0.188%
- Docker downloads count: 0.575%
- Maintainers (7)
rubygems.org: ttfunk
Font Metrics Parser for the Prawn PDF generator
- Homepage: http://prawnpdf.org/
- Documentation: http://www.rubydoc.info/gems/ttfunk/
- Licenses: Nonstandard,GPL-2.0-only,GPL-3.0-only
- Latest release: 1.8.0 (published almost 2 years ago)
- Last Synced: 2026-03-01T22:02:04.130Z (1 day ago)
- Versions: 18
- Dependent Packages: 25
- Dependent Repositories: 6,863
- Downloads: 143,041,405 Total
- Docker Downloads: 64,333,625
-
Rankings:
- Downloads: 0.192%
- Dependent repos count: 0.389%
- Docker downloads count: 0.715%
- Dependent packages count: 0.891%
- Average: 1.663%
- Forks count: 2.772%
- Stargazers count: 5.017%
- Maintainers (7)
debian-11: ruby-ttfunk
- Homepage: https://github.com/prawnpdf/ttfunk
- Documentation: https://packages.debian.org/bullseye/ruby-ttfunk
- Licenses:
- Latest release: 1.6.2.1-1 (published 20 days ago)
- Last Synced: 2026-02-13T08:25:53.651Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-10: ruby-ttfunk
- Homepage: https://github.com/prawnpdf/ttfunk
- Documentation: https://packages.debian.org/buster/ruby-ttfunk
- Licenses:
- Latest release: 1.5.1-1 (published 20 days ago)
- Last Synced: 2026-02-13T04:26:40.427Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-12: ruby-ttfunk
- Homepage: https://github.com/prawnpdf/ttfunk
- Documentation: https://packages.debian.org/bookworm/ruby-ttfunk
- Licenses:
- Latest release: 1.7.0-1 (published 18 days ago)
- Last Synced: 2026-02-12T23:43:08.461Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
debian-13: ruby-ttfunk
- Homepage: https://github.com/prawnpdf/ttfunk
- Documentation: https://packages.debian.org/trixie/ruby-ttfunk
- Licenses:
- Latest release: 1.7.0-1 (published 19 days ago)
- Last Synced: 2026-02-13T13:20:30.860Z (18 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- prawn-dev ~> 0.3.0 development
- actions/cache v2 composite
- actions/checkout v1 composite
- ruby/setup-ruby v1 composite
Score: 28.227999792351206