separate DC out of pdf.c and djvu.c (cleanup)

This commit is contained in:
HW
2012-03-19 18:59:36 +01:00
parent 929ea1e703
commit 9ee7afa86d
8 changed files with 160 additions and 222 deletions

View File

@@ -1,15 +1,6 @@
require "unireader"
PDFReader = UniReader:new{
newDC = function()
print("pdf.newDC")
return pdf.newDC()
end,
}
function PDFReader:init()
self.nulldc = self.newDC();
end
PDFReader = UniReader:new{}
-- open a PDF file and its settings store
function PDFReader:open(filename, password)