go-image/font
Erik Agsjö 240a51ac9f font/sfnt: support early version 0 OS/2 tables
Version 0 OS/2 tables can be as small as 68 bytes.

See https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6OS2.html.

This works is taken over from https://go.dev/cl/510055 by Erik Agsjö.

Fixes golang/go#41658

Change-Id: If6fb961943b5563ed21fe5148252005743c17168
Reviewed-on: https://go-review.googlesource.com/c/image/+/533495
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Reviewed-by: Nigel Tao (INACTIVE; USE @golang.org INSTEAD) <nigeltao@google.com>
2023-10-07 04:08:05 +00:00
..
basicfont go.mod: update go directive to 1.18 2023-09-08 23:15:45 +00:00
gofont font/gofont: upgrade to version 2.010 2022-06-17 04:31:17 +00:00
inconsolata font/inconsolata: new package. 2016-06-30 01:20:08 +00:00
opentype font: have Glyph return !ok for U+FFFD substitute 2023-03-21 11:35:05 +00:00
plan9font font/plan9font: limit the font image's dimensions 2022-12-19 10:52:04 +00:00
sfnt font/sfnt: support early version 0 OS/2 tables 2023-10-07 04:08:05 +00:00
testdata font/sfnt: implement flagWeHaveATwoByTwo. 2017-03-22 21:43:44 +00:00
font.go font: have Glyph return !ok for U+FFFD substitute 2023-03-21 11:35:05 +00:00
font_test.go font: fix rectangle-union for empty rectangles. 2016-12-28 23:11:51 +00:00