mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-23 08:38:06 +02:00
Don't map glyphs to unicode non breaking space.
This commit is contained in:
parent
fb6d87c77b
commit
2fc5e6a9ad
3 changed files with 9 additions and 0 deletions
|
@ -2679,6 +2679,7 @@ var Font = (function FontClosure() {
|
|||
fontCharCode <= 0x1f || // Control chars
|
||||
fontCharCode === 0x7F || // Control char
|
||||
fontCharCode === 0xAD || // Soft hyphen
|
||||
fontCharCode === 0xA0 || // Non breaking space
|
||||
(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