From a812d7ed8ef1e9cb8a0d7db5209ec9636fb4178a Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Tue, 13 Oct 2026 20:49:13 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=AD=97=E4=BD=93=E5=A4=84=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=97=E4=BD=93=E8=A3=81=E5=89=AA=E7=BA=B5?= =?UTF-8?q?=E5=90=91=E5=BA=A6=E9=87=8F=E4=B8=A2=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ofdgo_font_resource_sfnt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofdgo_font_resource_sfnt.go b/ofdgo_font_resource_sfnt.go index 170c180..26fa06f 100644 --- a/ofdgo_font_resource_sfnt.go +++ b/ofdgo_font_resource_sfnt.go @@ -193,7 +193,7 @@ func subsetSFNTFont(data []byte, glyphs []uint16, mapped bool) ([]byte, error) { } } tables := make(map[string][]byte) - for _, tag := range []string{"cmap", "head", "hhea", "hmtx", "maxp", "OS/2", "post", "name", "glyf", "loca", "cvt ", "fpgm", "prep", "gasp"} { + for _, tag := range []string{"cmap", "head", "hhea", "hmtx", "vhea", "vmtx", "maxp", "OS/2", "post", "name", "glyf", "loca", "cvt ", "fpgm", "prep", "gasp"} { if table := sfnt.Tables[tag]; table != nil { tables[tag] = table }