зеркало из https://github.com/golang/image.git
0694c2d4d0
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> |
||
---|---|---|
.. | ||
cmap.go | ||
data.go | ||
example_test.go | ||
gen.go | ||
gpos.go | ||
kern_test.go | ||
postscript.go | ||
proprietary_test.go | ||
sfnt.go | ||
sfnt_test.go | ||
truetype.go |