feta

Crates.iofeta
lib.rsfeta
version0.0.0
sourcesrc
created_at2023-01-12 02:58:35.699768
updated_at2023-01-12 02:58:35.699768
descriptionHigh level parsing of metadata from OpenType font files.
homepage
repositoryhttps://github.com/dfrg/fount
max_upload_size
id756843
size2,617
Chad Brokaw (dfrg)

documentation

README

feta

This crate provides a high level interface for reading font metadata. It is built on top of the read-fonts low level parsing library.

This is still in very early stages and not yet ready for use.

Features

The first cut of the library intends to expose the following metadata:

  • Variation axes and named instances
    • Conversion to normalized coordinates
  • Global font metrics with variation support (units per em, ascender, descender, etc)
  • Glyph metrics with variation support (advance width, left side-bearing, etc)
  • Codepoint to nominal glyph identifier mapping
    • Unicode variation selectors

Future goals include:

  • Localized strings
  • Layout feature enumeration
    • Coverage (is a particular glyph processed by a feature?)
  • Color palettes
  • Bitmap strikes

Non-goals

This library is not intended to support glyph scaling (loading and hinting of outlines) or shaping (processing of subsitution and positioning features).

Commit count: 30

cargo fmt