/truetype_metrics

Extracts metadata from TrueType fonts and compiles terms for use with font_metrics

Primary LanguageElixirApache License 2.0Apache-2.0

TruetypeMetrics

Build Status

Parses a TrueType font and builds a %FontMetrics{} term.

Meant to be used with the FontMetrics package.

Installation

If available in Hex, the package can be installed by adding truetype_metrics to your list of dependencies in mix.exs:

def deps do
  [
    {:truetype_metrics, "~> 0.5"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/truetype_metrics.