Working towards embedded image support
This commit is contained in:
parent
cc17707da6
commit
eca8f6b80b
2 changed files with 47 additions and 4 deletions
|
@ -50,6 +50,20 @@ var handler = new MessageHandler("worker", {
|
|||
|
||||
// TODO: Handle images here.
|
||||
|
||||
console.log("about to send page", pageNum);
|
||||
|
||||
// Make a copy of the fnArray and show all cmds it has.
|
||||
var fnArray = preCompilation.fnArray.slice(0).sort();
|
||||
for (var i = 0; i < fnArray.length; true) {
|
||||
if (fnArray[i] == fnArray[i + 1]) {
|
||||
fnArray.splice(i, 1);
|
||||
} else {
|
||||
i++;
|
||||
}
|
||||
}
|
||||
console.log("cmds", fnArray);
|
||||
|
||||
|
||||
handler.send("page", {
|
||||
pageNum: pageNum,
|
||||
fonts: fontsMin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue