Skip to content

Commit

Permalink
fix up unclosed brace in previous merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Oct 15, 2024
1 parent 31f0ee4 commit d119a73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions glyphs-reader/src/font.rs
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ impl CustomParameters {
return None;
};
Some(bits)
}

fn panose(&self) -> Option<&Vec<i64>> {
let Some(CustomParameterValue::Panose(values)) = self.get("panose") else {
Expand Down Expand Up @@ -567,6 +568,7 @@ impl FromPlist for CustomParameters {
};
value =
Some(CustomParameterValue::CodepageRange(tokenizer.parse()?));
}
_ if name == Some(String::from("panose")) => {
let Token::OpenParen = peek else {
return Err(Error::UnexpectedChar('('));
Expand Down

0 comments on commit d119a73

Please sign in to comment.