font/sfnt: support fonts with "true" apple version tag OpenType specification mentions that fonts might contain Apple version tag that is equal to "true" (see note in [1]). Currently, the library returns a parsing error for those fonts. CL adds Apple this version tag to the validation code and allows fonts to omit OS/2 table, as mentioned in the TrueType spec [2]. [1] https://docs.microsoft.com/en-us/typography/opentype/spec/otff#organization-of-an-opentype-font [2] https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6OS2.html Change-Id: I13406fe97b091f24aaabf9b477df9c8fc8df883c Reviewed-on: https://go-review.googlesource.com/c/146078 Reviewed-by: Nigel Tao <nigeltao@golang.org>
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.