@hackage / msdf-atlas

Types and parser for the MSDF atlas layout

Latest0.1.1.0

About

Metadata

  • Last updated , by AlexanderBondarenko
  • License BSD-3-Clause
  • Categories Graphics
  • Maintained by: aenor.realm@gmail.com

  • Lottery factor: 1

Links

Installation

Readme

msdf-atlas

Hackage Version

Structures and aeson parsers for glyph atlases.

You may not want this when working with libfreetype/TTFs directly, but it can be useful for pre-rendered bitmap/sdf fonts.

Compatible generators:

The package also provides a compacted representation of the atlas which boils down to a pair of storable vectors of boxes (and some metadata). This allows you to e.g. upload them to GPU and shuttle just glyph ids and styles when rendering.