Show
Ignore:
Timestamp:
08/26/06 23:55:03 (18 years ago)
Author:
jerome
Message:

The computation of ink coverage now works for the DVI file format.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/pkpgpdls/dvi.py

    r356 r373  
    3333class Parser(pdlparser.PDLParser) : 
    3434    """A parser for DVI documents.""" 
     35    totiffcommand = 'cat >%(fname)s && dvips -q -o - %(fname)s | gs -sDEVICE=tiff24nc -dPARANOIDSAFER -dNOPAUSE -dBATCH -dQUIET -r%(dpi)i -sOutputFile="%(fname)s" -' 
    3536    def isValid(self) :         
    3637        """Returns 1 if data is DVI, else 0."""