PostscriptCanvas crash with Carbon when drawing to the canvas
Original Reporter info from Mantis: pch
-
Reporter name: Patrick Chevalley
Original Reporter info from Mantis: pch
- Reporter name: Patrick Chevalley
Description:
PostscriptCanvas crash when using a drawing function with the Carbon widgetset. I not remark this problem with Win32 and Gtk2.
The example program: examples/postscript/samplepostscriptcanvas.lpr crash on the first RoundRect when drawing the title.
I traced the problem to be in Canvas.RealizeAntialiasing because of the dummy handle used by PostscriptCanvas.
The attached patch fix the problem by adding a dummy override for TPostScriptPrinterCanvas.RealizeAntialiasing as this is already done for other Canvas method.
Can someone review and apply this patch?
Mantis conversion info:
- Mantis ID: 23751
- Version: 1.0.4
- Fixed in version: 1.1 (SVN)
- Fixed in revision: 39975 (#9ae6ac78)
- Target version: 1.2.0
- LazTarget: 1.2