2 Replies Latest reply: Jan 18, 2010 7:37 AM by joeln3 RSS

    PDEPath object removes some operators

    joeln3 Community Member

      Hello,

       

      I'm wondering what is the behavior of the PDEPath object when rendering the operators. Actually I have a path in the PDF which is written like this (at the operators level) : "m re ..." and the PDEPath removes the first operator "m" which is actually not necessary for the creation of the path because "re" will do the "m" operation.

       

      So when I'm parsing the content stream I can't match the PDEPath with the "real" path because they are different.

       

      Another statement. A path beginning with "m re m ..." will be transform in the PDEPath like this "re m ...". So I guess that some operators wich are useless are removed but how can I know which one?

       

      Thanks in advance,

      Joe