Re: Preliminary patch for preserving clip path lists - bug 686885

"Igor V. Melichev" <[email protected]>
Newsgroups gmane.comp.printing.ghostscript.patches
Message-ID <[email protected]>
Raph,

Attaching a patch for writing high level paths to PDF.
It has 2 problems :

1. pdfwrite with 012-05.ps pdf_put_clip_path_list_elem recieves a path with
no segments. This causes a regression with this and many other files.

2. See the log message in the patch about an useful optimization.

An additional question :
Is the recursive pdf_put_clip_path_list_elem fine, or it should convert to
an iteration with a local modification of pointers ? I know that streams do
so, but I don't like. It should be const. Do you think to add

struct gx_cpath_path_list_s {
    ...
    gx_cpath_path_list *prev;
};

? Not sure that 'prev' is fine with local/global.

Igor.

_______________________________________________
gs-code-review mailing list
[email protected]
http://www.ghostscript.com/mailman/listinfo/gs-code-review
patch.txt .dat (application/octet-stream, 8.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.