Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Chad Brokaw <[email protected]>
  • Loading branch information
cmyr and dfrg authored Aug 3, 2023
1 parent c54eb36 commit 9bfb7ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions write-fonts/src/tables/glyf/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,12 @@ impl SimpleGlyph {
/// The paths are expected to be preprocessed, and interpolation compatible
/// (i.e. they should have the same number and type of points, in the same
/// order.) They should contain only line and quadratic segments; the caller
/// is responsible for converting cubics to quadratics as needed.
/// is responsible for converting cubics to quadratics as needed.
///
/// This method is provided for use when compiling variable fonts.
/// The inputs are expected to be different instances of the same named
/// glyph, each corresponding to a different location in the designspace.
/// glyph, each corresponding to a different location in the variation
/// space.
pub fn interpolatable_glyphs_from_bezpaths(
paths: &[BezPath],
) -> Result<Vec<Self>, MalformedPath> {
Expand Down

0 comments on commit 9bfb7ba

Please sign in to comment.