This commit is contained in:
Kovid Goyal 2014-02-06 21:33:12 +05:30
parent 07fdff36a4
commit 4dac0c0a08

View File

@ -410,7 +410,7 @@ class Graphics(object):
try: try:
w /= sqrt(t.m11()**2 + t.m22()**2) w /= sqrt(t.m11()**2 + t.m22()**2)
except ZeroDivisionError: except ZeroDivisionError:
w = 0 pass
pdf.serialize(w) pdf.serialize(w)
pdf.current_page.write(' w ') pdf.current_page.write(' w ')