mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
...
This commit is contained in:
parent
0fb4e8e4dc
commit
2dfaa893c4
@ -241,10 +241,9 @@ class PdfEngine(QPaintEngine):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def features(self):
|
def features(self):
|
||||||
return (QPaintEngine.Antialiasing | QPaintEngine.AlphaBlend |
|
return (self.Antialiasing | self.AlphaBlend | self.ConstantOpacity |
|
||||||
QPaintEngine.ConstantOpacity | QPaintEngine.PainterPaths |
|
self.PainterPaths | self.PaintOutsidePaintEvent |
|
||||||
QPaintEngine.PaintOutsidePaintEvent |
|
self.PrimitiveTransform)
|
||||||
QPaintEngine.PrimitiveTransform)
|
|
||||||
|
|
||||||
def begin(self, device):
|
def begin(self, device):
|
||||||
if not hasattr(self, 'pdf'):
|
if not hasattr(self, 'pdf'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user