Update & reformat changelog

parent 7d2a1418
Pipeline #1109 passed with stages
in 4 minutes and 12 seconds
##0.2.2
## master
* Add `is_collection(&[u8]) -> bool`.
Merge a number of bugfixes, update documentation links, add new debugging features
## 0.2.2
* Merge a number of bugfixes, update documentation links, add new debugging features.
##0.2.1
## 0.2.1
* Fix `attempt to subtract with overflow` error in get_glyph_kern_advance.
Fix `attempt to subtract with overflow` error in get_glyph_kern_advance
## 0.2
* `FontInfo` is now generic in the storage for the font data, allowing flexible management of font data lifetimes. This is a breaking change.
#0.2.0
## 0.1.2
* Fix for edge case behaviour for `get_glyph_pair_kern_advance` by switching to `i32` instead of `u32` to match stb_truetype.h (see issue #3).
`FontInfo` is now generic in the storage for the font data, allowing flexible
management of font data lifetimes. This is a breaking change.
## 0.1.1
* Fix for glyf table format 12 and 13 handling to match implementation in stb_truetype.h (see issue #2).
##0.1.2
Fix for edge case behaviour for `get_glyph_pair_kern_advance` by switching to
`i32` instead of `u32` to match stb_truetype.h (see issue #3)
##0.1.1
Fix for glyf table format 12 and 13 handling to match implementation in
stb_truetype.h (see issue #2)
#0.1.0
Initial release
## 0.1
* Initial release.
......@@ -261,7 +261,7 @@ pub fn is_font(data: &[u8]) -> bool {
/// in a single file, allowing them to share data for glyphs they have in
/// common.
pub fn is_collection(data: &[u8]) -> bool {
return data.len() >= 4 && &data[0..4] == b"ttcf";
data.len() >= 4 && &data[0..4] == b"ttcf"
}
fn find_table(data: &[u8], fontstart: usize, tag: &[u8]) -> u32 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment