mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-29 15:47:57 +02:00
Merge remote branch 'upstream/master'
This commit is contained in:
commit
b4f3ceef85
8 changed files with 133 additions and 16 deletions
5
fonts.js
5
fonts.js
|
@ -220,7 +220,7 @@ var FontLoader = {
|
|||
}
|
||||
src += ' var fontNames=[' + fontNamesArray + '];\n';
|
||||
src += ' window.onload = function () {\n';
|
||||
src += ' top.postMessage(JSON.stringify(fontNames), "*");\n';
|
||||
src += ' parent.postMessage(JSON.stringify(fontNames), "*");\n';
|
||||
src += ' }';
|
||||
src += '</script></head><body>';
|
||||
for (var i = 0; i < names.length; ++i) {
|
||||
|
@ -1868,7 +1868,8 @@ CFF.prototype = {
|
|||
return null;
|
||||
},
|
||||
|
||||
getOrderedCharStrings: function cff_getOrderedCharStrings(glyphs, properties) {
|
||||
getOrderedCharStrings: function cff_getOrderedCharStrings(glyphs,
|
||||
properties) {
|
||||
var charstrings = [];
|
||||
var missings = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue