mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
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
4 changed files with 9 additions and 0 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue