dd492a22e4
OpenType specification mentions that fonts might contain Apple version tag that is equal to "true" (see note in [1]). Currently, the library returns a parsing error for those fonts. CL adds Apple this version tag to the validation code and allows fonts to omit OS/2 table, as mentioned in the TrueType spec [2]. [1] https://docs.microsoft.com/en-us/typography/opentype/spec/otff#organization-of-an-opentype-font [2] https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6OS2.html Change-Id: I13406fe97b091f24aaabf9b477df9c8fc8df883c Reviewed-on: https://go-review.googlesource.com/c/146078 Reviewed-by: Nigel Tao <nigeltao@golang.org> |
||
---|---|---|
.. | ||
basicfont | ||
gofont | ||
inconsolata | ||
opentype | ||
plan9font | ||
sfnt | ||
testdata | ||
font_test.go | ||
font.go |