Changeset 269
- Timestamp:
- 09/29/05 12:05:32 (19 years ago)
- Location:
- pkpgcounter/trunk
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
pkpgcounter/trunk/NEWS
r267 r269 22 22 pkpgcounter News : 23 23 24 * 1.70 : 25 26 - Fixed some PJL escaping issue in the PCLXL and PCL3/4/5 parsers. 27 24 28 * 1.69 : 25 29 -
pkpgcounter/trunk/pkpgpdls/pcl345.py
r267 r269 150 150 if minfile[pos : pos+8] == r"%-12345X" : 151 151 endpos = pos + 9 152 while (minfile[endpos] not in endmark) and (minfile[endpos] < asciilimit) : 152 quotes = 0 153 while (minfile[endpos] not in endmark) and \ 154 ((minfile[endpos] < asciilimit) or (quotes % 2)) : 155 if minfile[endpos] == '"' : 156 quotes += 1 153 157 endpos += 1 154 158 self.setPageDict(pages, pagecount, "escaped", minfile[pos : endpos]) -
pkpgcounter/trunk/pkpgpdls/pclxl.py
r266 r269 259 259 endmark = chr(0x0c) + chr(0x00) + chr(0x1b) 260 260 asciilimit = chr(0x80) 261 while (self.minfile[endpos] not in endmark) and (self.minfile[endpos] < asciilimit) : 261 quotes = 0 262 while (self.minfile[endpos] not in endmark) and \ 263 ((self.minfile[endpos] < asciilimit) or (quotes % 2)) : 264 if self.minfile[endpos] == '"' : 265 quotes += 1 262 266 endpos += 1 263 267 -
pkpgcounter/trunk/pkpgpdls/version.py
r267 r269 20 20 # 21 21 22 __version__ = "1. 69"22 __version__ = "1.70" 23 23 24 24 __doc__ = """pkpgcounter : a generic Page Description Languages parser."""