[MacRuby] #248: HotCocoa Graphics - creates corrupt PDF files
#248: HotCocoa Graphics - creates corrupt PDF files ----------------------------------------+----------------------------------- Reporter: dave.baldwin@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: HotCocoa Graphics PDF ----------------------------------------+----------------------------------- 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. -- Ticket URL: <http://www.macruby.org/trac/ticket/248> MacRuby <http://macruby.org/>
#248: HotCocoa Graphics - creates corrupt PDF files ----------------------------------------+----------------------------------- Reporter: dave.baldwin@… | Owner: rich@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: HotCocoa Graphics PDF ----------------------------------------+----------------------------------- Changes (by lsansonetti@…): * owner: lsansonetti@… => rich@… Comment: Assigning to Rich for screening. -- Ticket URL: <http://www.macruby.org/trac/ticket/248#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby