This commit is contained in:
Kovid Goyal 2013-01-03 16:21:07 +05:30
parent 19a80e1d28
commit a2578335c8

View File

@ -110,7 +110,7 @@ def main():
app
tdir = os.path.abspath('.')
pdf = os.path.join(tdir, 'painter.pdf')
func = text
func = full
dpi = 100
with open(pdf, 'wb') as f:
dev = PdfDevice(f, xdpi=dpi, ydpi=dpi, compress=False)