Skip to content

Commit

Permalink
[fea-rs] Make non-existant feature in aalt a warning
Browse files Browse the repository at this point in the history
Instead of an error; this matches what fonttools does.
  • Loading branch information
cmyr committed Oct 3, 2024
1 parent 266624a commit d25d40b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion fea-rs/src/compile/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl<'a, V: VariationInfo> ValidationCtx<'a, V> {
.map(|(_, node)| node.clone())
.collect::<Vec<_>>();
for tag in bad {
self.error(tag.range(), "Referenced feature not found.");
self.warning(tag.range(), "Referenced feature not found.");
}
}

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit d25d40b

Please sign in to comment.