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 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>
- Loading branch information