Changeset 272

Show
Ignore:
Timestamp:
10/06/05 13:21:48 (18 years ago)
Author:
jerome
Message:

Fixed some PS parsing issues

Location:
pkpgcounter/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/NEWS

    r269 r272  
    2222pkpgcounter News : 
    2323    
     24  * 1.71 : 
     25   
     26    - Now uses ghostscript as the parser when the PS stream was created by a 
     27      particular MSWindows driver. 
     28     
     29    - Only complains about Psyco missing at install time, and stays 
     30      quiet when running without Psyco. 
     31       
    2432  * 1.70 : 
    2533   
  • pkpgcounter/trunk/pkpgpdls/postscript.py

    r263 r272  
    8282        previousline = "" 
    8383        for line in self.infile.xreadlines() :  
    84             if line.startswith(r"%%Page: ") or line.startswith(r"(%%[Page: ") : 
     84            if line.startswith(r"%%Creator: PScript5.dll") : 
     85                return 0 # Let this stuff be managed by GhostScript, since nup and copies disturb us. 
     86            elif line.startswith(r"%%Page: ") or line.startswith(r"(%%[Page: ") : 
    8587                proceed = 1 
    8688                try : 
  • pkpgcounter/trunk/pkpgpdls/version.py

    r269 r272  
    2020# 
    2121 
    22 __version__ = "1.70" 
     22__version__ = "1.71" 
    2323 
    2424__doc__ = """pkpgcounter : a generic Page Description Languages parser."""