Skip to content
/ ttfunk Public
forked from prawnpdf/ttfunk

Get Ya TrueType Funk On! (Font Metrics Parser for Prawn)

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

ryenski/ttfunk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TTFunk is a TrueType font parser written in pure ruby.

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.

Maintainers

  • Brad Ediger

  • Daniel Nelson

  • Jonathan Greenberg

  • James Healy

Licensing

Matz’s terms for Ruby, GPLv2, or GPLv3. See LICENSING for details.

Mailing List

TTFunk is maintained as a dependency of prawn, the ruby PDF generation library.

Any questions or feedback should be sent to the Prawn google group.

groups.google.com/group/prawn-ruby

About

Get Ya TrueType Funk On! (Font Metrics Parser for Prawn)

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Packages

No packages published