pub(crate) fn convert(
text: &mut Text,
resolver: &FontResolver<'_>,
fontdb: &mut Arc<Database>,
) -> Option<()>
Expand description
Convert a text into its paths. This is done in two steps:
- We convert the text into glyphs and position them according to the rules specified in the SVG specification. While doing so, we also calculate the text bbox (which is not based on the outlines of a glyph, but instead the glyph metrics as well as decoration spans).
- We convert all of the positioned glyphs into outlines.