commit | dd492a22e40e40bc8e07437506d986f877029ff1 | [log] [tgz] |
---|---|---|
author | Denys Smirnov <denis.smirnov.91@gmail.com> | Tue Oct 30 23:05:30 2018 +0200 |
committer | Nigel Tao <nigeltao@golang.org> | Fri Nov 16 02:46:09 2018 +0000 |
tree | bc4f96703836efb4d962ebac83e6e770fd19ca1c | |
parent | d9c2484c482e024a5de5ea73d456fb873fb7e8ac [diff] |
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.