Workaround for Private Use Area characters in Chrome on Windows

This commit is contained in:
benbro 2012-11-16 22:01:33 +02:00
parent ae621701c6
commit 9841bc3e8e

View File

@ -6690,3 +6690,11 @@ var CFFCompiler = (function CFFCompilerClosure() {
return CFFCompiler; 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;
}
})();