Debian Codegraph @

CHANGELOG.md

raw symbols SCIP
1 # 0.2.32
2 * Add `FontArc` support for no_std targets with cfg(target_has_atomic = "ptr").
3
4 # 0.2.31
5 * Add "gvar-alloc" feature enabled by default (activates _ttf-parser_ "gvar-alloc" feature).
6 Provides full gvar table support.
7
8 # 0.2.30
9 * Add `Font::italic_angle` for accessing the slant angle.
10
11 # 0.2.29
12 * Update _ttf-parser_ to `0.25`.
13
14 # 0.2.28
15 * Update _ttf-parser_ to `0.24`.
16 * Clarify `OutlinedGlyph::px_bounds`, `Font::glyph_bounds` documentation,
17 describe how they relate to drawing and each other.
18
19 # 0.2.27
20 * Add `Font` glyph layout concept documentation demonstrating "ascent", "descent", "h_side_bearing",
21 "h_advance", "height", "line_gap", "baseline".
22
23 # 0.2.26
24 * Update _ttf-parser_ to `0.21`.
25
26 # 0.2.25
27 * Add `Font::glyph_svg_image` for accessing glyph svg data.
28
29 # 0.2.24
30 * Add `Font::font_data` for accessing underlying raw font data.
31
32 # 0.2.23
33 * Update _ttf-parser_ to `0.20`.
34
35 # 0.2.22
36 * Add `v2::GlyphImage` and `Font::glyph_raster_image2` to expose width and height info.
37 * Deprecate `Font::glyph_raster_image` & `GlyphImage`.
38 * Improve `OutlinedGlyph::draw` documentation.
39
40 # 0.2.21
41 * Update _ttf-parser_ to `0.19`.
42 * Add `GlyphImageFormat` variants `BitmapMono`, `BitmapMonoPacked`, `BitmapGray2`, `BitmapGray2Packed`,
43 `BitmapGray4`, `BitmapGray4Packed`, `BitmapGray8`, `BitmapPremulBgra32`.
44 * `Font::h_advance_unscaled`, `h_side_bearing_unscaled`, `v_advance_unscaled`, `v_side_bearing_unscaled`
45 and related `ScaleFont` methods now return `0.0` if the font does not define that value.
46 Previously calls would panic when fonts lacked support.
47 * Use edition 2021.
48
49 # 0.2.20
50 * Add `FontVec::as_slice`, `FontVec::into_vec`.
51
52 # 0.2.19
53 * Update _ttf-parser_ to `0.18`.
54
55 # 0.2.18
56 * Update _ttf-parser_ to `0.17`.
57
58 # 0.2.17
59 * Add `VariableFont` trait implemented by `FontRef` & `FontVec`.
60 Provides `variations` & `set_variation` functions.
61 * Add default enabled feature `variable-fonts`.
62
63 # 0.2.16
64 * Add `Font::pt_to_px_scale` to ease converting point size to `PxScale`.
65 * Add `PxScale::round`.
66
67 # 0.2.15
68 * Fix some font outlines by always trying to "close" them at the end. Fixes _Cantarell-VF.otf_ outlining.
69
70 # 0.2.14
71 * Update _ttf-parser_ to `0.15`.
72
73 # 0.2.13
74 * Update _ttf-parser_ to `0.14`.
75
76 # 0.2.12
77 * Update _owned-ttf-parser_ to `0.13.2`.
78 * Pre-parse cmap & kern subtables on all `Font` variants at initialization. This provides
79 much faster `glyph_id` & `kern` method performance, results in 25-30% faster layout
80 benchmark performance.
81
82 # 0.2.11
83 * `Font::outline` will return `None` for rare invalid/empty glyph bounds instead of panicking.
84 * Add `Font::glyph_raster_image` for color emoji fonts.
85
86 # 0.2.10
87 * Update _ttf-parser_ to `0.12`.
88
89 # 0.2.9
90 * Update _ttf-parser_ to `0.11`.
91
92 # 0.2.8
93 * Add fallback bounding box calculation for malformed font glyphs with zero sized boxes.
94 * Update _ttf-parser_ to `0.10`.
95
96 # 0.2.7
97 * Update _ttf-parser_ to `0.9`.
98
99 # 0.2.6
100 * Add `Font::codepoint_ids` method for iterating over `(GlyphId, char)` pairs.
101 * Clarify documentation.
102
103 # 0.2.5
104 * Add `Font::units_per_em` + documentation on unscaled font units.
105 * Update _ttf-parser_ to `0.8`.
106
107 # 0.2.4
108 * Update _ttf-parser_ to `0.7` adding CID font support.
109
110 # 0.2.3
111 * Add `v_advance` & `v_side_bearing` methods to `ScaleFont` + `_unscaled` variants to `Font`.
112
113 # 0.2.2
114 * Add `Font::glyph_bounds` method, similar to glyph_brush's `glyph_bounds` but for a single glyph.
115 * Rename `OutlinedGlyph::bounds` to `OutlinedGlyph::px_bounds` for clarity.
116
117 # 0.2.1
118 * Update _ttf-parser_ to `0.6`.
119
120 # 0.2
121 * Add `_unscaled` suffix to `Font` trait methods that deal with unscaled metrics.
122 This helps distinguish `ScaleFont`'s scaled metrics and can avoid unintended behaviour.
123 * Rename "libm-math" -> "libm" for consistency with _ab_glyph_rasterizer_.
124
125 # 0.1
126 * Implement fast glyph layout, outline & drawing primitives.