mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #2392 from benbro/master
Workaround for Private Use Area characters in Chrome on Windows
This commit is contained in:
commit
033545cc16
1 changed files with 8 additions and 0 deletions
|
@ -6694,3 +6694,11 @@ var CFFCompiler = (function CFFCompilerClosure() {
|
|||
return CFFCompiler;
|
||||
})();
|
||||
|
||||
// Workaround for Private Use Area characters in Chrome on Windows
|
||||
// http://code.google.com/p/chromium/issues/detail?id=122465
|
||||
// https://github.com/mozilla/pdf.js/issues/1689
|
||||
(function checkChromeWindows() {
|
||||
if (/Windows.*Chrome/.test(navigator.userAgent)) {
|
||||
SYMBOLIC_FONT_GLYPH_OFFSET = 0xF100;
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue