commit | 0694c2d4d067f97ebef574d63a763ee8ab559da7 | [log] [tgz] |
---|---|---|
author | Oliver Tonnhofer <olt@bogosoft.com> | Fri Jan 25 10:41:42 2019 |
committer | Nigel Tao <nigeltao@golang.org> | Wed Feb 27 22:21:17 2019 |
tree | 640da1a261da273c6700e0dfb478a73c573a3249 | |
parent | 31aff87c08e9a5e5d524279a564f96968336f886 [diff] |
font/sfnt: support for large kern tables The subtable length from the kern table is only uint16. Fonts like Cambria, Calibri or Corbel have more then 10k kerning pairs and the encoded length is truncated to uint16. Validate length with truncated values as well. Change-Id: I788b709e913790b936d928e7b1e92f628b9c0adf Reviewed-on: https://go-review.googlesource.com/c/159637 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.