Revision 490, 0.8 kB
(checked in by jerome, 17 years ago)
|
Added some notes about what needs to be done to :
1 - Simplify the code and increase portability by
removing mmap calls wherever practical (without
having to rewrite some parsers entirely)
2 - Accept print jobs size > available memory.
|
Line | |
---|
1 | Programmer's notes : |
---|
2 | ==================== |
---|
3 | |
---|
4 | As per their respective specifications, both PS and PDF formats must |
---|
5 | accept the following EOL markers which should be treated equally |
---|
6 | (like with Universal Newline opening mode) : |
---|
7 | |
---|
8 | \r\n |
---|
9 | \r |
---|
10 | \n |
---|
11 | |
---|
12 | For obvious reasons, the plain text format should also accept |
---|
13 | these three forms of EOL markers. |
---|
14 | |
---|
15 | The PJL statements MUST end with \n, so \r being present or not, |
---|
16 | we are only interested in \n as the EOL marker. |
---|
17 | |
---|
18 | We can't currently remove mmap calls for file formats which |
---|
19 | don't need it (e.g. zjstream, lidil, ...) until we have removed |
---|
20 | the universal newline opening mode. We can't remove this |
---|
21 | opening mode until we have written some replacement, or |
---|
22 | have a way for a parser to specify the mode in which |
---|
23 | the file must be re-opened. |
---|