Project

tipo

0.0
No commit activity in last 3 years
No release in over 3 years
Pure Ruby OpenType font file reader
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

Tipo

Code Climate Build Status

This is very early work but Tipo is meant to be a pure ruby OpenType and TrueType font format reader. Support for more tables and information to come.

Installation

Add this line to your application's Gemfile:

gem 'tipo'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tipo

Usage

Very narrow interface:

info = Tipo.info 'path/to/font.{otf|ttf}'
info.naming.font   # => "Font Name"
info.naming.style  # => "Italic"

info.substitution.feature_list.map do |feature|
  feature.tag
end.uniq           # => ['aalt', 'dlig', 'liga' ... ]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request