let mut builder = OutlineBuilder::new();
let c = f.glyph_for_char(c).unwrap();
font.outline(c, HintingOptions::None, &mut builder).unwrap();
for i in builder.into_outline().contours {
...
}
I can only get the coordinate points of all the outlines by doing this. I want to get the coordinate points of the internal path of the font. How should I do it?
I now use the following code
I can only get the coordinate points of all the outlines by doing this. I want to get the coordinate points of the internal path of the font. How should I do it?