1 import sys
; sys
.path
.insert(0, "../..")
6 d
= document
.document()
7 for i
, f
in enumerate(glob('suite/svg/shapes-*.svg') +
8 glob('suite/svg/paths-data-*.svg')):
9 #if i + 1 != 15: continue
12 i
= Image
.open(f
.replace('svg', 'png'))
13 b
= bitmap
.bitmap(0, 0, i
)
15 c
.insert(svgfile
.svgfile(b
.bbox().width(), 0, f
, parsed
=True, resolution
=i
.info
["dpi"][0]))
16 d
.append(document
.page(c
))