font/sfnt: flip the Y axis for LoadGlyph's Segments.
The underlying font format's Y axis increases up. The Go standard
graphics libraries' Y axis increases down. This change makes the Go API
consistent with the other Go libraries.
Also change Segment.Args from fixed.Int26_6 to fixed.Point26_6 to
emphasize that the Args are consistent with other fixed.Point26_6 use.
Reviewed-by: David Crawshaw <firstname.lastname@example.org>
5 files changed