GithubHelp home page GithubHelp logo

isabella232 / ttfunk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prawnpdf/ttfunk

0.0 0.0 0.0 13.08 MB

Font Metrics Parser for Prawn

Home Page: http://prawnpdf.org

License: Other

Ruby 100.00%

ttfunk's Introduction

TTFunk

Maintained: yes CI status

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

ttfunk's People

Contributors

camertron avatar pointlessone avatar practicingruby avatar jamis avatar mtyaka avatar packetmonkey avatar bradediger avatar yob avatar javan avatar codemonkeysteve avatar petergoldstein avatar hidakatsuya avatar jessedoyle avatar mojavelinux avatar marcusramberg avatar tdegrunt avatar aried3r avatar boutil avatar lucasefe avatar shockwavenn avatar smetana avatar gettalong avatar kokuyouwind avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.