Sha256: 21f3f9be1d7949126c6873ead77e463e17b97ad6ba5a230ab3e36420559d643a

Contents?: true

Size: 806 Bytes

Versions: 2

Compression:

Stored size: 806 Bytes

Contents

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.

http://groups.google.com/group/prawn-ruby

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ttfunk-1.0.2 README.rdoc
ttfunk-1.0.1 README.rdoc