image/font
Oliver Tonnhofer 0694c2d4d0 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>
2019-02-27 22:21:17 +00:00
..
basicfont image/font: expose caret slope 2018-09-26 01:56:37 +00:00
gofont font/gofont: new Smallcaps; update other Go Fonts. 2017-03-30 00:58:26 +00:00
inconsolata font/inconsolata: new package. 2016-06-30 01:20:08 +00:00
opentype image/font: expose caret slope 2018-09-26 01:56:37 +00:00
plan9font image/font: expose caret slope 2018-09-26 01:56:37 +00:00
sfnt font/sfnt: support for large kern tables 2019-02-27 22:21:17 +00:00
testdata font/sfnt: implement flagWeHaveATwoByTwo. 2017-03-22 21:43:44 +00:00
font.go image/font: expose caret slope 2018-09-26 01:56:37 +00:00
font_test.go font: fix rectangle-union for empty rectangles. 2016-12-28 23:11:51 +00:00