Skip to content

Commit

Permalink
Sync with harfbuzz 2.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RazrFalcon committed Jun 27, 2021
1 parent ae22d1f commit 306b76d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `GlyphInfo::unsafe_to_break` thanks to [@glowcoil](https://github.com/glowcoil).

### Changed
- Sync with harfbuzz 2.7.1
- Rename `GlyphInfo.codepoint` into `GlyphInfo.glyph_id` to remove confusion.

## [0.3.0] - 2020-12-05
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
`rustybuzz` is a complete [harfbuzz](https://github.com/harfbuzz/harfbuzz)'s
shaping algorithm port to Rust.

Matches `harfbuzz` v2.7.0
Matches `harfbuzz` v2.7.1

## Why?

Expand Down
2 changes: 2 additions & 0 deletions scripts/gen-shaping-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
'collections_006',
# no `hhea` table.
'indic_decompose_001',
# ttf-parser doesn't support phantom points
'variations_space_001',

# text-rendering-tests tests
# Unknown issue. Investigate.
Expand Down
Binary file not shown.
12 changes: 12 additions & 0 deletions tests/shaping_in_house.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12013,6 +12013,18 @@ fn variations_rvrn_100() {
);
}

#[test]
fn variations_space_002() {
assert_eq!(
shape(
"tests/fonts/in-house/ab40c89624a6104e5d0a2308e448a989302f515b.ttf",
"\u{0020}",
"--variations=wdth=402",
),
"space=0+639"
);
}

#[test]
fn vertical_001() {
assert_eq!(
Expand Down

0 comments on commit 306b76d

Please sign in to comment.