Skip to content

Commit

Permalink
Workaround for Private Use Area characters in Chrome on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
benbro committed Nov 16, 2012
1 parent ae62170 commit 9841bc3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/fonts.js
Original file line number Diff line number Diff line change
Expand Up @@ -6690,3 +6690,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;
}
})();

0 comments on commit 9841bc3

Please sign in to comment.