Ab Glyph Versions Save

Rust API for loading, scaling, positioning and rasterizing OpenType font glyphs

ab-glyph-rasterizer-0.1.7

1 year ago
  • Fix x86, x86_64 no_std builds, require std feature for runtime detected SIMD.

ab-glyph-0.2.17

1 year ago
  • Add VariableFont trait implemented by FontRef & FontVec. Provides variations & set_variation functions.
  • Add default enabled feature variable-fonts.

ab-glyph-rasterizer-0.1.6

1 year ago
  • Add runtime detected AVX2 or SSE4.2 line drawing. Improves performance on compatible x86_64 CPUs.

ab-glyph-0.2.16

1 year ago
  • Add Font::pt_to_px_scale to ease converting point size to PxScale.
  • Add PxScale::round.

ab-glyph-0.2.15

2 years ago
  • Fix some font outlines by always trying to "close" them at the end. Fixes Cantarell-VF.otf outlining.

ab-glyph-0.2.14

2 years ago
  • Update ttf-parser to 0.15.

ab-glyph-0.2.13

2 years ago
  • Update ttf-parser to 0.14.

ab-glyph-0.2.12

2 years ago
  • Update owned-ttf-parser to 0.13.2.
  • Pre-parse cmap & kern subtables on all Font variants at initialization. This provides much faster glyph_id & kern method performance, results in 25-30% faster layout benchmark performance.

ab-glyph-rasterizer-0.1.5

2 years ago
  • Remove cap of 1.0 for coverage values returned by for_each_pixel now >= 1.0 means fully covered. This allows a minor reduction in operations / performance boost.

ab-glyph-0.2.11

3 years ago
  • Font::outline will return None for rare invalid/empty glyph bounds instead of panicking.
  • Add Font::glyph_raster_image for color emoji fonts.