-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
1 parent
f4d9097
commit 4a099ee
Showing
1 changed file
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters