Sha256: 661ee070535e5d61a2401df2bdc2d0be84c2a30464b3285cdf560580d5b2f050

Contents?: true

Size: 1.11 KB

Versions: 5

Compression:

Stored size: 1.11 KB

Contents

# TTFunk

![Maintained: yes](https://img.shields.io/badge/maintained-yes-brightgreen.svg)
![CI status](https://github.com/prawnpdf/ttfunk/workflows/CI/badge.svg)

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.

## 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.

You can find the full list of Github users who have at least one patch accepted
to ttfunk at:

  https://github.com/prawnpdf/ttfunk/contributors

## 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.

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ttfunk-1.7.0 README.md
ttfunk-1.6.2.1 README.md
ttfunk-1.6.2 README.md
ttfunk-1.6.1 README.md
ttfunk-1.6.0 README.md