Projects

Ticket #248 (closed defect: invalid)

Opened 3 years ago

Last modified 18 months ago

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

Changed 2 years ago by lsansonetti@…

  • owner changed from lsansonetti@… to rich@…

Assigning to Rich for screening.

Changed 18 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to invalid

HotCocoa is no longer developed here. Please report the problem to  http://github.com/richkilmer/hotcocoa.

Note: See TracTickets for help on using tickets.