golang-image/font
Denys Smirnov dd492a22e4 font/sfnt: support fonts with "true" apple version tag
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>
2018-11-16 02:46:09 +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 fonts with "true" apple version tag 2018-11-16 02:46:09 +00:00
testdata font/sfnt: implement flagWeHaveATwoByTwo. 2017-03-22 21:43:44 +00:00
font_test.go font: fix rectangle-union for empty rectangles. 2016-12-28 23:11:51 +00:00
font.go image/font: expose caret slope 2018-09-26 01:56:37 +00:00