fn read_points_and_phantom<C: PointCoord>(
glyph: &SimpleGlyph<'_>,
dest: &mut [Point<C>],
flags: &mut [PointFlags],
phantom: &[Point<C>; 4],
) -> Result<(), ReadError>Expand description
Reads a simple glyph’s points into dest and appends the phantom points
after them.
dest and flags cover the glyph’s points plus the four phantom points.
The staging type differs by scale – font units for 26.6, the output
coordinates themselves for the floating point one – so this is generic over
it, with the caller supplying phantom points already in that form.