commit | ef4a1470e0dc5915f2f5fa04a28eeab72c6936a4 | [log] [tgz] |
---|---|---|
author | Oliver Tonnhofer <olt@bogosoft.com> | Fri Jan 25 12:57:31 2019 |
committer | Nigel Tao <nigeltao@golang.org> | Sat Feb 09 06:06:08 2019 |
tree | 59c9696ff00c4166aa27cd0dead70129d95240a9 | |
parent | 183bebdce1b249c42a7cf6772817e8c2e873b966 [diff] |
font/sfnt: support for kerning from GPOS tables This CL adds support for reading kerning information from GPOS tables. Most modern fonts like Noto or Roboto do not provide a kern table. Instead they use the GPOS table for kerning. This CL is limited to horizontal kerning and latin scripts. The proprietary_test was extended to check all supported variations. gpos.go has full test coverage (excluding error conditions). Additionally, the new TestBulkKern (opt-in) can be used to check parsing of large font collection. Fixes: golang/go#29528 Change-Id: I9f1ae142c9e26170dd836ccaca1526bbefe9698a Reviewed-on: https://go-review.googlesource.com/c/159638 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.