mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
07fdff36a4
commit
4dac0c0a08
@ -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 ')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user