Releases: alexheretic/ab-glyph
Releases · alexheretic/ab-glyph
ab-glyph-0.2.29
- Update ttf-parser to
0.25
.
ab-glyph-0.2.28
- Update ttf-parser to
0.24
. - Clarify
OutlinedGlyph::px_bounds
,Font::glyph_bounds
documentation,
describe how they relate to drawing and each other.
ab-glyph-0.2.27
- Add
Font
glyph layout concept documentation demonstrating "ascent", "descent", "h_side_bearing",
"h_advance", "height", "line_gap", "baseline".
ab-glyph-0.2.26
- Update ttf-parser to
0.21
.
ab-glyph-0.2.25
- Add
Font::glyph_svg_image
for accessing glyph svg data.
ab-glyph-0.2.24
- Add
Font::font_data
for accessing underlying raw font data.
ab-glyph-0.2.23
- Update ttf-parser to
0.20
.
ab-glyph-0.2.22
- Add
v2::GlyphImage
andFont::glyph_raster_image2
to expose width and height info. - Deprecate
Font::glyph_raster_image
&GlyphImage
. - Improve
OutlinedGlyph::draw
documentation.
ab-glyph-0.2.21
- Update ttf-parser to
0.19
. - Add
GlyphImageFormat
variantsBitmapMono
,BitmapMonoPacked
,BitmapGray2
,BitmapGray2Packed
,
BitmapGray4
,BitmapGray4Packed
,BitmapGray8
,BitmapPremulBgra32
. Font::h_advance_unscaled
,h_side_bearing_unscaled
,v_advance_unscaled
,v_side_bearing_unscaled
and relatedScaleFont
methods now return0.0
if the font does not define that value.
Previously calls would panic when fonts lacked support.- Use edition 2021.
ab-glyph-0.2.20
- Add
FontVec::as_slice
,FontVec::into_vec
.