[cairo] miter limits less than one

Behdad Esfahbod behdad at behdad.org
Mon Feb 4 12:51:05 PST 2008


On Tue, 2008-02-05 at 00:25 +1030, Adrian Johnson wrote:
> Behdad Esfahbod wrote:
> > Cause error in PS
> 
> The PS Language Reference requires the PS miter to be >= 1.
> 
> > (and PDF I guess).
> 
> The PDF Reference does not specify miter limits however acroread fails
> to display pages when the miter is < 1. Older versions of ghostscript
> crash when the PDF miter is < 1.
> 
> I've pushed out a fix for PS/PDF to ensure the emitted miter is
> always >= 1.

Either we should do UNSUPPORTED->fallback for that case, or enforce it
at gstate level.


-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list