font/sfnt: fix uint16 overflow in Glyph{Advance,Index}
This CL builds on top of the patch provided by user @dejadejade.
Fixes golang/go#39577.
Change-Id: I6db1561df1c659b8b1678eb96522f406e6a5799b
Reviewed-on: https://go-review.googlesource.com/c/image/+/237900
Reviewed-by: Nigel Tao <[email protected]>
This repository holds supplementary Go image libraries.
The easiest way to install is to run go get -u golang.org/x/image/.... You can also manually git clone the repository to $GOPATH/src/golang.org/x/image.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the image repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/image:” in the subject line, so it is easy to find.