Don't map glyphs to Unicode "Dotted circle" combining mark (bug 1108301)
It seems that `0x25CC` is another bad spot for charCodes. Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1108301.
This commit is contained in:
parent
bc7a110743
commit
0a3341dadc
@ -2700,6 +2700,7 @@ var Font = (function FontClosure() {
|
||||
fontCharCode === 0x7F || // Control char
|
||||
fontCharCode === 0xAD || // Soft hyphen
|
||||
fontCharCode === 0xA0 || // Non breaking space
|
||||
fontCharCode === 0x25CC || // Dotted circle (combining mark)
|
||||
(fontCharCode >= 0x80 && fontCharCode <= 0x9F) || // Control chars
|
||||
// Prevent drawing characters in the specials unicode block.
|
||||
(fontCharCode >= 0xFFF0 && fontCharCode <= 0xFFFF) ||
|
||||
|
1
test/pdfs/.gitignore
vendored
1
test/pdfs/.gitignore
vendored
@ -30,6 +30,7 @@
|
||||
!bug847420.pdf
|
||||
!bug860632.pdf
|
||||
!bug894572.pdf
|
||||
!bug1108301.pdf
|
||||
!pdfjsbad1586.pdf
|
||||
!freeculture.pdf
|
||||
!pdfkit_compressed.pdf
|
||||
|
BIN
test/pdfs/bug1108301.pdf
Normal file
BIN
test/pdfs/bug1108301.pdf
Normal file
Binary file not shown.
@ -1113,6 +1113,13 @@
|
||||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "bug1108301",
|
||||
"file": "pdfs/bug1108301.pdf",
|
||||
"md5": "cc94cc7e5f5e281dfa7e21020dd90cc7",
|
||||
"rounds": 1,
|
||||
"link": false,
|
||||
"type": "eq"
|
||||
},
|
||||
{ "id": "issue1466",
|
||||
"file": "pdfs/issue1466.pdf",
|
||||
"md5": "8a8877432e5bb10cfd50d60488d947bb",
|
||||
|
Loading…
Reference in New Issue
Block a user