mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
875de1cea8
commit
c68bf1f3c9
2 files changed
+1
-2
No files matched your search
+1
-1
@@ -569,7 +569,7 @@ func shouldBuildCmapFormat12(mapping map[rune]uint16) bool {
|
||||
glyphIDCount++
|
||||
prev = curr
|
||||
}
|
||||
segCount++ // sentinel segment
|
||||
segCount++
|
||||
length := 16 + segCount*8 + glyphIDCount*2
|
||||
return length > 0xFFFF
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user