mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 09:37:26 +08:00
1 parent
1104f0fdd1
commit
012569dbc0
15 files changed
+390
-50
No files matched your search
@@ -147,6 +147,10 @@ func parseType1Program(data []byte) (type1Program, error) {
|
||||
section = "subrs"
|
||||
case "/CharStrings":
|
||||
section = "glyphs"
|
||||
case "def", "ND", "|-":
|
||||
if section == "subrs" {
|
||||
section = ""
|
||||
}
|
||||
case "dup":
|
||||
if section != "subrs" {
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user