Ticket #248 (closed defect: invalid)
HotCocoa Graphics - creates corrupt PDF files
| Reported by: | dave.baldwin@… | Owned by: | rich@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | MacRuby | Keywords: | HotCocoa Graphics PDF |
| Cc: |
Description
The save method in canvas.rb needs a
if @filetype == :pdf
CGContextFlush(@ctx) # <<< benign but redundant
CGPDFContextEndPage(@ctx)
CGPDFContextClose(@ctx) # <<<< new
return
The GContextFlush(@ctx) is also unnecessary in the newpage method as well.
Dave.
Change History
Note: See
TracTickets for help on using
tickets.

