A summary of data about the Ruby ecosystem.

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

README.md

TTFunk

Maintained: yes
CI status

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


GitHub Events

Total
Last Year

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 Email 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:


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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/prawnpdf/ttfunk

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

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%
ubuntu-24.04: ruby-ttfunk

  • Homepage: https://github.com/prawnpdf/ttfunk
  • Licenses:
  • Latest release: 1.7.0-1 (published 25 days ago)
  • Last Synced: 2026-02-06T16:08:48.012Z (25 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-20.04: ruby-ttfunk

  • Homepage: https://github.com/prawnpdf/ttfunk
  • Licenses:
  • Latest release: 1.5.1-1 (published 18 days ago)
  • Last Synced: 2026-02-13T07:24:27.261Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.10: ruby-ttfunk

  • Homepage: https://github.com/prawnpdf/ttfunk
  • Licenses:
  • Latest release: 1.7.0-1 (published 18 days ago)
  • Last Synced: 2026-02-13T18:34:36.371Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-23.04: ruby-ttfunk

  • Homepage: https://github.com/prawnpdf/ttfunk
  • Licenses:
  • Latest release: 1.7.0-1 (published 20 days ago)
  • Last Synced: 2026-02-11T06:51:33.529Z (20 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: ruby-ttfunk

  • Homepage: https://github.com/prawnpdf/ttfunk
  • Licenses:
  • Latest release: 1.7.0-1 (published 22 days ago)
  • Last Synced: 2026-02-09T17:27:47.624Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
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%
ubuntu-22.04: ruby-ttfunk

  • Homepage: https://github.com/prawnpdf/ttfunk
  • Licenses:
  • Latest release: 1.7.0-1 (published 18 days ago)
  • Last Synced: 2026-02-13T13:27:46.794Z (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

ttfunk.gemspec rubygems
  • prawn-dev ~> 0.3.0 development
.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v1 composite
  • ruby/setup-ruby v1 composite
Gemfile rubygems

Score: 28.227999792351206