Closed run4flat closed 10 years ago
Hi David,
Can you forward me examples of code , or PS itself, that is being produced? I'll test on other clients and see what's the problem? I'm feeling reluctant adding v3 qualifiers without understanding what is means
Dmitry, it turns out we don't need to jump to v3 of postscript, version 2 works just fine. What I am suggesting, then, is that we add an option to Prima::PS::Drawable called is_eps
or some such. Then, on line 380 of Prima::PS::Drawable (https://github.com/dk/Prima/blob/master/Prima/PS/Drawable.pm#L380), add something that would include the optional EPS declaration.
The actual implementation could look something like this. At line 378, add these two lines:
my $eps_version = '';
$eps_version = 'EPSF-2.0' if $self->{is_eps};
Then on the (what was) line 380 of the heredoc, change
%!PS-Adobe-2.0
to
%!PS-Adobe-2.0 $eps_version
Here is an example of an offending postscript file generated from one of the PDL::Graphics::Prima example scripts. Without the EPSF-2.0
, it gets rendered (for me) as a full 8.5 x 11 page. With the EPSF-2.0
, it renders properly.
%!PS-Adobe-2.0
%%Title: Prima
%%Creator: Prima::PS::Drawable
%%CreationDate: Sat Jun 7 13:08:30 2014
%%Pages: (atend)
%%BoundingBox: 0 0 289.08 289.08
%%LanguageLevel: 2
%%DocumentNeededFonts: (atend)
%%DocumentSuppliedFonts: (atend)
%%EndComments
/d/def load def/,/load load d/~/exch , d/S/show , d/:/gsave , d/;/grestore ,
d/N/newpath , d/M/moveto , d/L/rlineto , d/X/closepath , d/C/clip ,
d/T/translate , d/R/rotate , d/P/showpage , d/Z/scale , d/I/imagemask ,
d/@/dup , d/G/setgray , d/A/setrgbcolor , d/l/lineto , d/F/fill ,
d/FF/findfont , d/XF/scalefont , d/SF/setfont ,
d/O/stroke , d/SD/setdash , d/SL/setlinecap , d/SW/setlinewidth ,
d/SJ/setlinejoin , d/E/eofill ,
d/SS/setcolorspace , d/SC/setcolor , d/SM/setmatrix , d/SPD/setpagedevice ,
d/SP/setpattern , d/CP/currentpoint , d/MX/matrix , d/MP/makepattern ,
d/b/begin , d/e/end , d/t/true , d/f/false , d/?/ifelse , d/a/arc ,
d/dummy/_dummy
%%BeginSetup
%%EndSetup
%%Page: 1 1
/reencode_font { ~ /enco ~ d
@ @ FF @ length dict b { 1 index
/FID ne{d}{pop pop}?} forall /Encoding
enco d currentdict e definefont } bind d
/Encoding_Latin1 [
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/space/exclam/quotedbl/numbersign/dollar/percent/ampersand/quotesingle/parenleft/parenright/asterisk/plus/comma/minus/period/slash
/zero/one/two/three/four/five/six/seven/eight/nine/colon/semicolon/less/equal/greater/question
/at/A/B/C/D/E/F/G/H/I/J/K/L/M/N/O
/P/Q/R/S/T/U/V/W/X/Y/Z/bracketleft/backslash/bracketright/asciicircum/underscore
/quoteleft/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o
/p/q/r/s/t/u/v/w/x/y/z/braceleft/bar/braceright/asciitilde/.notdef
/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef/.notdef
/dotlessi/grave/acute/circumflex/tilde/macron/breve/dotaccent/dieresis/.notdef/ring/cedilla/.notdef/hungarumlaut/ogonek/caron
/.notdef/exclamdown/cent/sterling/currency/yen/brokenbar/section/dieresis/copyright/ordfeminine/guillemotleft/logicalnot/hyphen/registered/macron
/degree/plusminus/twosuperior/threesuperior/acute/mu/paragraph/periodcentered/cedilla/onesuperior/ordmasculine/guillemotright/onequarter/onehalf/threequarters/questiondown
/Agrave/Aacute/Acircumflex/Atilde/Adieresis/Aring/AE/Ccedilla/Egrave/Eacute/Ecircumflex/Edieresis/Igrave/Iacute/Icircumflex/Idieresis
/Eth/Ntilde/Ograve/Oacute/Ocircumflex/Otilde/Odieresis/multiply/Oslash/Ugrave/Uacute/Ucircumflex/Udieresis/Yacute/Thorn/germandbls
/agrave/aacute/acircumflex/atilde/adieresis/aring/ae/ccedilla/egrave/eacute/ecircumflex/edieresis/igrave/iacute/icircumflex/idieresis
/eth/ntilde/ograve/oacute/ocircumflex/otilde/odieresis/divide/oslash/ugrave/uacute/ucircumflex/udieresis/yacute/thorn/ydieresis
] d
0 0 T
N 0 0 M 0 289.08 L 289.08 0 L 0 -289.08 L X C
:
1 1 Z
;
:
N 28.91 19.51 M 0 227.65 L 247.16 0 L 0 -227.65 L X C
1 1 Z
0 0 0 A
N 36.3 144.38 M 32.54 148.14 l 28.77 144.38 l 32.54 140.61 l 36.3 144.38 l X E
N 38.72 155.27 M 34.96 159.04 l 31.2 155.27 l 34.96 151.51 l 38.72 155.27 l X E
N 41.15 165.95 M 37.38 169.71 l 33.62 165.95 l 37.38 162.19 l 41.15 165.95 l X E
N 43.57 176.3 M 39.81 180.07 l 36.04 176.3 l 39.81 172.54 l 43.57 176.3 l X E
N 46 186.22 M 42.23 189.99 l 38.47 186.22 l 42.23 182.46 l 46 186.22 l X E
N 48.42 195.62 M 44.65 199.38 l 40.89 195.62 l 44.65 191.85 l 48.42 195.62 l X E
N 50.84 204.39 M 47.08 208.15 l 43.31 204.39 l 47.08 200.63 l 50.84 204.39 l X E
N 53.27 212.45 M 49.5 216.22 l 45.74 212.45 l 49.5 208.69 l 53.27 212.45 l X E
N 55.69 219.73 M 51.93 223.49 l 48.16 219.73 l 51.93 215.96 l 55.69 219.73 l X E
N 58.11 226.14 M 54.35 229.9 l 50.58 226.14 l 54.35 222.37 l 58.11 226.14 l X E
N 60.54 231.62 M 56.77 235.38 l 53.01 231.62 l 56.77 227.85 l 60.54 231.62 l X E
N 62.96 236.12 M 59.2 239.88 l 55.43 236.12 l 59.2 232.36 l 62.96 236.12 l X E
N 65.38 239.59 M 61.62 243.36 l 57.86 239.59 l 61.62 235.83 l 65.38 239.59 l X E
N 67.81 242.01 M 64.04 245.77 l 60.28 242.01 l 64.04 238.24 l 67.81 242.01 l X E
N 70.23 243.34 M 66.47 247.1 l 62.7 243.34 l 66.47 239.57 l 70.23 243.34 l X E
N 72.65 243.56 M 68.89 247.33 l 65.13 243.56 l 68.89 239.8 l 72.65 243.56 l X E
N 75.08 242.69 M 71.31 246.46 l 67.55 242.69 l 71.31 238.93 l 75.08 242.69 l X E
N 77.5 240.73 M 73.74 244.49 l 69.97 240.73 l 73.74 236.96 l 77.5 240.73 l X E
N 79.93 237.69 M 76.16 241.46 l 72.4 237.69 l 76.16 233.93 l 79.93 237.69 l X E
N 82.35 233.61 M 78.58 237.38 l 74.82 233.61 l 78.58 229.85 l 82.35 233.61 l X E
N 84.77 228.53 M 81.01 232.3 l 77.24 228.53 l 81.01 224.77 l 84.77 228.53 l X E
N 87.2 222.5 M 83.43 226.26 l 79.67 222.5 l 83.43 218.74 l 87.2 222.5 l X E
N 89.62 215.58 M 85.86 219.34 l 82.09 215.58 l 85.86 211.81 l 89.62 215.58 l X E
N 92.04 207.84 M 88.28 211.6 l 84.52 207.84 l 88.28 204.07 l 92.04 207.84 l X E
N 94.47 199.35 M 90.7 203.11 l 86.94 199.35 l 90.7 195.58 l 94.47 199.35 l X E
N 96.89 190.2 M 93.13 193.97 l 89.36 190.2 l 93.13 186.44 l 96.89 190.2 l X E
N 99.31 180.49 M 95.55 184.25 l 91.79 180.49 l 95.55 176.72 l 99.31 180.49 l X E
N 101.74 170.3 M 97.97 174.07 l 94.21 170.3 l 97.97 166.54 l 101.74 170.3 l X E
N 104.16 159.75 M 100.4 163.51 l 96.63 159.75 l 100.4 155.98 l 104.16 159.75 l X E
N 106.59 148.93 M 102.82 152.69 l 99.06 148.93 l 102.82 145.17 l 106.59 148.93 l X E
N 109.01 137.96 M 105.24 141.72 l 101.48 137.96 l 105.24 134.19 l 109.01 137.96 l X E
N 111.43 126.94 M 107.67 130.7 l 103.9 126.94 l 107.67 123.17 l 111.43 126.94 l X E
N 113.86 115.98 M 110.09 119.75 l 106.33 115.98 l 110.09 112.22 l 113.86 115.98 l X E
N 116.28 105.2 M 112.52 108.97 l 108.75 105.2 l 112.52 101.44 l 116.28 105.2 l X E
N 118.7 94.7 M 114.94 98.47 l 111.17 94.7 l 114.94 90.94 l 118.7 94.7 l X E
N 121.13 84.59 M 117.36 88.35 l 113.6 84.59 l 117.36 80.83 l 121.13 84.59 l X E
N 123.55 74.96 M 119.79 78.73 l 116.02 74.96 l 119.79 71.2 l 123.55 74.96 l X E
N 125.97 65.92 M 122.21 69.69 l 118.45 65.92 l 122.21 62.16 l 125.97 65.92 l X E
N 128.4 57.55 M 124.63 61.32 l 120.87 57.55 l 124.63 53.79 l 128.4 57.55 l X E
N 130.82 49.94 M 127.06 53.71 l 123.29 49.94 l 127.06 46.18 l 130.82 49.94 l X E
N 133.24 43.17 M 129.48 46.93 l 125.72 43.17 l 129.48 39.4 l 133.24 43.17 l X E
N 135.67 37.29 M 131.9 41.05 l 128.14 37.29 l 131.9 33.53 l 135.67 37.29 l X E
N 138.09 32.37 M 134.33 36.14 l 130.56 32.37 l 134.33 28.61 l 138.09 32.37 l X E
N 140.52 28.47 M 136.75 32.23 l 132.99 28.47 l 136.75 24.7 l 140.52 28.47 l X E
N 142.94 25.61 M 139.17 29.37 l 135.41 25.61 l 139.17 21.85 l 142.94 25.61 l X E
N 145.36 23.83 M 141.6 27.59 l 137.83 23.83 l 141.6 20.06 l 145.36 23.83 l X E
N 147.79 23.14 M 144.02 26.91 l 140.26 23.14 l 144.02 19.38 l 147.79 23.14 l X E
N 150.21 23.56 M 146.45 27.32 l 142.68 23.56 l 146.45 19.79 l 150.21 23.56 l X E
N 152.63 25.07 M 148.87 28.83 l 145.11 25.07 l 148.87 21.3 l 152.63 25.07 l X E
N 155.06 27.66 M 151.29 31.43 l 147.53 27.66 l 151.29 23.9 l 155.06 27.66 l X E
N 157.48 31.31 M 153.72 35.08 l 149.95 31.31 l 153.72 27.55 l 157.48 31.31 l X E
N 159.9 35.98 M 156.14 39.74 l 152.38 35.98 l 156.14 32.22 l 159.9 35.98 l X E
N 162.33 41.62 M 158.56 45.39 l 154.8 41.62 l 158.56 37.86 l 162.33 41.62 l X E
N 164.75 48.18 M 160.99 51.95 l 157.22 48.18 l 160.99 44.42 l 164.75 48.18 l X E
N 167.18 55.59 M 163.41 59.36 l 159.65 55.59 l 163.41 51.83 l 167.18 55.59 l X E
N 169.6 63.78 M 165.83 67.55 l 162.07 63.78 l 165.83 60.02 l 169.6 63.78 l X E
N 172.02 72.67 M 168.26 76.43 l 164.49 72.67 l 168.26 68.9 l 172.02 72.67 l X E
N 174.45 82.15 M 170.68 85.92 l 166.92 82.15 l 170.68 78.39 l 174.45 82.15 l X E
N 176.87 92.16 M 173.11 95.92 l 169.34 92.16 l 173.11 88.39 l 176.87 92.16 l X E
N 179.29 102.57 M 175.53 106.33 l 171.76 102.57 l 175.53 98.81 l 179.29 102.57 l X E
N 181.72 113.29 M 177.95 117.06 l 174.19 113.29 l 177.95 109.53 l 181.72 113.29 l X E
N 184.14 124.21 M 180.38 127.98 l 176.61 124.21 l 180.38 120.45 l 184.14 124.21 l X E
N 186.56 135.23 M 182.8 138.99 l 179.04 135.23 l 182.8 131.46 l 186.56 135.23 l X E
N 188.99 146.22 M 185.22 149.98 l 181.46 146.22 l 185.22 142.46 l 188.99 146.22 l X E
N 191.41 157.09 M 187.65 160.85 l 183.88 157.09 l 187.65 153.32 l 191.41 157.09 l X E
N 193.83 167.72 M 190.07 171.48 l 186.31 167.72 l 190.07 163.95 l 193.83 167.72 l X E
N 196.26 178 M 192.49 181.77 l 188.73 178 l 192.49 174.24 l 196.26 178 l X E
N 198.68 187.84 M 194.92 191.61 l 191.15 187.84 l 194.92 184.08 l 198.68 187.84 l X E
N 201.11 197.14 M 197.34 200.9 l 193.58 197.14 l 197.34 193.38 l 201.11 197.14 l X E
N 203.53 205.8 M 199.76 209.56 l 196 205.8 l 199.76 202.03 l 203.53 205.8 l X E
N 205.95 213.73 M 202.19 217.5 l 198.42 213.73 l 202.19 209.97 l 205.95 213.73 l X E
N 208.38 220.87 M 204.61 224.63 l 200.85 220.87 l 204.61 217.1 l 208.38 220.87 l X E
N 210.8 227.12 M 207.04 230.89 l 203.27 227.12 l 207.04 223.36 l 210.8 227.12 l X E
N 213.22 232.45 M 209.46 236.21 l 205.7 232.45 l 209.46 228.68 l 213.22 232.45 l X E
N 215.65 236.78 M 211.88 240.54 l 208.12 236.78 l 211.88 233.01 l 215.65 236.78 l X E
N 218.07 240.08 M 214.31 243.84 l 210.54 240.08 l 214.31 236.31 l 218.07 240.08 l X E
N 220.49 242.31 M 216.73 246.07 l 212.97 242.31 l 216.73 238.54 l 220.49 242.31 l X E
N 222.92 243.45 M 219.15 247.22 l 215.39 243.45 l 219.15 239.69 l 222.92 243.45 l X E
N 225.34 243.5 M 221.58 247.26 l 217.81 243.5 l 221.58 239.73 l 225.34 243.5 l X E
N 227.77 242.44 M 224 246.2 l 220.24 242.44 l 224 238.67 l 227.77 242.44 l X E
N 230.19 240.29 M 226.42 244.06 l 222.66 240.29 l 226.42 236.53 l 230.19 240.29 l X E
N 232.61 237.08 M 228.85 240.84 l 225.08 237.08 l 228.85 233.31 l 232.61 237.08 l X E
N 235.04 232.83 M 231.27 236.59 l 227.51 232.83 l 231.27 229.06 l 235.04 232.83 l X E
N 237.46 227.58 M 233.7 231.35 l 229.93 227.58 l 233.7 223.82 l 237.46 227.58 l X E
N 239.88 221.4 M 236.12 225.16 l 232.35 221.4 l 236.12 217.63 l 239.88 221.4 l X E
N 242.31 214.33 M 238.54 218.1 l 234.78 214.33 l 238.54 210.57 l 242.31 214.33 l X E
N 244.73 206.46 M 240.97 210.22 l 237.2 206.46 l 240.97 202.69 l 244.73 206.46 l X E
N 247.15 197.85 M 243.39 201.62 l 239.63 197.85 l 243.39 194.09 l 247.15 197.85 l X E
N 249.58 188.6 M 245.81 192.37 l 242.05 188.6 l 245.81 184.84 l 249.58 188.6 l X E
N 252 178.8 M 248.24 182.57 l 244.47 178.8 l 248.24 175.04 l 252 178.8 l X E
N 254.42 168.55 M 250.66 172.31 l 246.9 168.55 l 250.66 164.79 l 254.42 168.55 l X E
N 256.85 157.94 M 253.08 161.71 l 249.32 157.94 l 253.08 154.18 l 256.85 157.94 l X E
N 259.27 147.09 M 255.51 150.86 l 251.74 147.09 l 255.51 143.33 l 259.27 147.09 l X E
N 261.7 136.1 M 257.93 139.87 l 254.17 136.1 l 257.93 132.34 l 261.7 136.1 l X E
N 264.12 125.09 M 260.35 128.85 l 256.59 125.09 l 260.35 121.32 l 264.12 125.09 l X E
N 266.54 114.15 M 262.78 117.92 l 259.01 114.15 l 262.78 110.39 l 266.54 114.15 l X E
N 268.97 103.41 M 265.2 107.18 l 261.44 103.41 l 265.2 99.65 l 268.97 103.41 l X E
N 271.39 92.97 M 267.63 96.74 l 263.86 92.97 l 267.63 89.21 l 271.39 92.97 l X E
N 273.81 82.93 M 270.05 86.7 l 266.29 82.93 l 270.05 79.17 l 273.81 82.93 l X E
N 276.24 73.4 M 272.47 77.16 l 268.71 73.4 l 272.47 69.64 l 276.24 73.4 l X E
;
:
N 0 0 M 0 301.13 L 301.13 0 L 0 -301.13 L X C
1 1 Z
;
:
N 28.53 0 M 0 289.08 L 247.54 0 L 0 -289.08 L X C
1 1 Z
;
:
N 27.59 0 M 0 289.08 L 248.71 0 L 0 -289.08 L X C
1 1 Z
[] 0 SD
1.51 SW
1 SL
1 SJ
0 0 0 A
N 29.36 18.82 M 29.36 21.83 l O
1 SL
1 SJ
0 0 0 A
N 42.16 18.82 M 42.16 21.83 l O
1 SL
1 SJ
0 0 0 A
N 54.2 18.82 M 54.2 21.83 l O
1 SL
1 SJ
0 0 0 A
N 66.25 18.82 M 66.25 21.83 l O
1 SL
1 SJ
0 0 0 A
N 78.29 18.82 M 78.29 21.83 l O
1 SL
1 SJ
0 0 0 A
N 90.34 18.82 M 90.34 21.83 l O
1 SL
1 SJ
0 0 0 A
N 102.38 18.82 M 102.38 21.83 l O
1 SL
1 SJ
0 0 0 A
N 114.43 18.82 M 114.43 21.83 l O
1 SL
1 SJ
0 0 0 A
N 126.47 18.82 M 126.47 21.83 l O
1 SL
1 SJ
0 0 0 A
N 138.52 18.82 M 138.52 21.83 l O
1 SL
1 SJ
0 0 0 A
N 150.56 18.82 M 150.56 21.83 l O
1 SL
1 SJ
0 0 0 A
N 163.36 18.82 M 163.36 21.83 l O
1 SL
1 SJ
0 0 0 A
N 175.41 18.82 M 175.41 21.83 l O
1 SL
1 SJ
0 0 0 A
N 187.45 18.82 M 187.45 21.83 l O
1 SL
1 SJ
0 0 0 A
N 199.5 18.82 M 199.5 21.83 l O
1 SL
1 SJ
0 0 0 A
N 211.54 18.82 M 211.54 21.83 l O
1 SL
1 SJ
0 0 0 A
N 223.59 18.82 M 223.59 21.83 l O
1 SL
1 SJ
0 0 0 A
N 235.63 18.82 M 235.63 21.83 l O
1 SL
1 SJ
0 0 0 A
N 247.68 18.82 M 247.68 21.83 l O
1 SL
1 SJ
0 0 0 A
N 259.72 18.82 M 259.72 21.83 l O
1 SL
1 SJ
0 0 0 A
N 271.77 18.82 M 271.77 21.83 l O
1 SL
1 SJ
0 0 0 A
N 284.56 18.82 M 284.56 21.83 l O
1 SL
1 SJ
0 0 0 A
N 29.36 246.92 M 29.36 243.91 l O
1 SL
1 SJ
0 0 0 A
N 42.16 246.92 M 42.16 243.91 l O
1 SL
1 SJ
0 0 0 A
N 54.2 246.92 M 54.2 243.91 l O
1 SL
1 SJ
0 0 0 A
N 66.25 246.92 M 66.25 243.91 l O
1 SL
1 SJ
0 0 0 A
N 78.29 246.92 M 78.29 243.91 l O
1 SL
1 SJ
0 0 0 A
N 90.34 246.92 M 90.34 243.91 l O
1 SL
1 SJ
0 0 0 A
N 102.38 246.92 M 102.38 243.91 l O
1 SL
1 SJ
0 0 0 A
N 114.43 246.92 M 114.43 243.91 l O
1 SL
1 SJ
0 0 0 A
N 126.47 246.92 M 126.47 243.91 l O
1 SL
1 SJ
0 0 0 A
N 138.52 246.92 M 138.52 243.91 l O
1 SL
1 SJ
0 0 0 A
N 150.56 246.92 M 150.56 243.91 l O
1 SL
1 SJ
0 0 0 A
N 163.36 246.92 M 163.36 243.91 l O
1 SL
1 SJ
0 0 0 A
N 175.41 246.92 M 175.41 243.91 l O
1 SL
1 SJ
0 0 0 A
N 187.45 246.92 M 187.45 243.91 l O
1 SL
1 SJ
0 0 0 A
N 199.5 246.92 M 199.5 243.91 l O
1 SL
1 SJ
0 0 0 A
N 211.54 246.92 M 211.54 243.91 l O
1 SL
1 SJ
0 0 0 A
N 223.59 246.92 M 223.59 243.91 l O
1 SL
1 SJ
0 0 0 A
N 235.63 246.92 M 235.63 243.91 l O
1 SL
1 SJ
0 0 0 A
N 247.68 246.92 M 247.68 243.91 l O
1 SL
1 SJ
0 0 0 A
N 259.72 246.92 M 259.72 243.91 l O
1 SL
1 SJ
0 0 0 A
N 271.77 246.92 M 271.77 243.91 l O
1 SL
1 SJ
0 0 0 A
N 284.56 246.92 M 284.56 243.91 l O
1.51 SW
1 SL
1 SJ
0 0 0 A
N 29.36 18.82 M 29.36 24.84 l O
1 SL
1 SJ
0 0 0 A
N 90.34 18.82 M 90.34 24.84 l O
1 SL
1 SJ
0 0 0 A
N 150.56 18.82 M 150.56 24.84 l O
1 SL
1 SJ
0 0 0 A
N 211.54 18.82 M 211.54 24.84 l O
1 SL
1 SJ
0 0 0 A
N 271.77 18.82 M 271.77 24.84 l O
1 SL
1 SJ
0 0 0 A
N 29.36 246.92 M 29.36 240.9 l O
1 SL
1 SJ
0 0 0 A
N 90.34 246.92 M 90.34 240.9 l O
1 SL
1 SJ
0 0 0 A
N 150.56 246.92 M 150.56 240.9 l O
1 SL
1 SJ
0 0 0 A
N 211.54 246.92 M 211.54 240.9 l O
1 SL
1 SJ
0 0 0 A
N 271.77 246.92 M 271.77 240.9 l O
1.51 SW
1 SL
1 SJ
0 0 0 A
N 26.35 18.82 M 276.28 18.82 l O
1 SL
1 SJ
0 0 0 A
N 26.35 246.92 M 276.28 246.92 l O
;
:
N 24.21 0 M 0 289.08 L 256.56 0 L 0 -289.08 L X C
1 1 Z
Encoding_Latin1 /Helvetica-Narrow reencode_font
/Helvetica-Narrow FF 12 XF SF
: 27.1 3.01 T
0 0 M
0 0 0 A
(0) S
;
: 83.56 3.01 T
0 0 M
0 0 0 A
(2) S
5.47 0 M
(.) S
8.19 0 M
(5) S
;
: 147.55 3.01 T
0 0 M
0 0 0 A
(5) S
;
: 204.77 3.01 T
0 0 M
0 0 0 A
(7) S
5.48 0 M
(.) S
8.2 0 M
(5) S
;
: 266.5 3.01 T
0 0 M
0 0 0 A
(1) S
5.48 0 M
(0) S
;
;
:
N 0 0 M 0 289.08 L 289.08 0 L 0 -289.08 L X C
1 1 Z
;
:
N 0 19.51 M 0 227.65 L 289.08 0 L 0 -227.65 L X C
1 1 Z
[] 0 SD
1.51 SW
1 SL
1 SJ
0 0 0 A
N 28.61 22.58 M 31.62 22.58 l O
1 SL
1 SJ
0 0 0 A
N 28.61 33.88 M 31.62 33.88 l O
1 SL
1 SJ
0 0 0 A
N 28.61 44.42 M 31.62 44.42 l O
1 SL
1 SJ
0 0 0 A
N 28.61 55.71 M 31.62 55.71 l O
1 SL
1 SJ
0 0 0 A
N 28.61 67 M 31.62 67 l O
1 SL
1 SJ
0 0 0 A
N 28.61 77.54 M 31.62 77.54 l O
1 SL
1 SJ
0 0 0 A
N 28.61 88.83 M 31.62 88.83 l O
1 SL
1 SJ
0 0 0 A
N 28.61 100.12 M 31.62 100.12 l O
1 SL
1 SJ
0 0 0 A
N 28.61 110.66 M 31.62 110.66 l O
1 SL
1 SJ
0 0 0 A
N 28.61 121.96 M 31.62 121.96 l O
1 SL
1 SJ
0 0 0 A
N 28.61 133.25 M 31.62 133.25 l O
1 SL
1 SJ
0 0 0 A
N 28.61 143.79 M 31.62 143.79 l O
1 SL
1 SJ
0 0 0 A
N 28.61 155.08 M 31.62 155.08 l O
1 SL
1 SJ
0 0 0 A
N 28.61 166.37 M 31.62 166.37 l O
1 SL
1 SJ
0 0 0 A
N 28.61 176.91 M 31.62 176.91 l O
1 SL
1 SJ
0 0 0 A
N 28.61 188.2 M 31.62 188.2 l O
1 SL
1 SJ
0 0 0 A
N 28.61 199.5 M 31.62 199.5 l O
1 SL
1 SJ
0 0 0 A
N 28.61 210.03 M 31.62 210.03 l O
1 SL
1 SJ
0 0 0 A
N 28.61 221.33 M 31.62 221.33 l O
1 SL
1 SJ
0 0 0 A
N 28.61 231.87 M 31.62 231.87 l O
1 SL
1 SJ
0 0 0 A
N 28.61 243.16 M 31.62 243.16 l O
1 SL
1 SJ
0 0 0 A
N 275.53 22.58 M 272.52 22.58 l O
1 SL
1 SJ
0 0 0 A
N 275.53 33.88 M 272.52 33.88 l O
1 SL
1 SJ
0 0 0 A
N 275.53 44.42 M 272.52 44.42 l O
1 SL
1 SJ
0 0 0 A
N 275.53 55.71 M 272.52 55.71 l O
1 SL
1 SJ
0 0 0 A
N 275.53 67 M 272.52 67 l O
1 SL
1 SJ
0 0 0 A
N 275.53 77.54 M 272.52 77.54 l O
1 SL
1 SJ
0 0 0 A
N 275.53 88.83 M 272.52 88.83 l O
1 SL
1 SJ
0 0 0 A
N 275.53 100.12 M 272.52 100.12 l O
1 SL
1 SJ
0 0 0 A
N 275.53 110.66 M 272.52 110.66 l O
1 SL
1 SJ
0 0 0 A
N 275.53 121.96 M 272.52 121.96 l O
1 SL
1 SJ
0 0 0 A
N 275.53 133.25 M 272.52 133.25 l O
1 SL
1 SJ
0 0 0 A
N 275.53 143.79 M 272.52 143.79 l O
1 SL
1 SJ
0 0 0 A
N 275.53 155.08 M 272.52 155.08 l O
1 SL
1 SJ
0 0 0 A
N 275.53 166.37 M 272.52 166.37 l O
1 SL
1 SJ
0 0 0 A
N 275.53 176.91 M 272.52 176.91 l O
1 SL
1 SJ
0 0 0 A
N 275.53 188.2 M 272.52 188.2 l O
1 SL
1 SJ
0 0 0 A
N 275.53 199.5 M 272.52 199.5 l O
1 SL
1 SJ
0 0 0 A
N 275.53 210.03 M 272.52 210.03 l O
1 SL
1 SJ
0 0 0 A
N 275.53 221.33 M 272.52 221.33 l O
1 SL
1 SJ
0 0 0 A
N 275.53 231.87 M 272.52 231.87 l O
1 SL
1 SJ
0 0 0 A
N 275.53 243.16 M 272.52 243.16 l O
1.51 SW
1 SL
1 SJ
0 0 0 A
N 28.61 22.58 M 34.63 22.58 l O
1 SL
1 SJ
0 0 0 A
N 28.61 77.54 M 34.63 77.54 l O
1 SL
1 SJ
0 0 0 A
N 28.61 133.25 M 34.63 133.25 l O
1 SL
1 SJ
0 0 0 A
N 28.61 188.2 M 34.63 188.2 l O
1 SL
1 SJ
0 0 0 A
N 28.61 243.16 M 34.63 243.16 l O
1 SL
1 SJ
0 0 0 A
N 275.53 22.58 M 270.26 22.58 l O
1 SL
1 SJ
0 0 0 A
N 275.53 77.54 M 270.26 77.54 l O
1 SL
1 SJ
0 0 0 A
N 275.53 133.25 M 270.26 133.25 l O
1 SL
1 SJ
0 0 0 A
N 275.53 188.2 M 270.26 188.2 l O
1 SL
1 SJ
0 0 0 A
N 275.53 243.16 M 270.26 243.16 l O
1.51 SW
1 SL
1 SJ
0 0 0 A
N 28.61 18.82 M 28.61 246.92 l O
1 SL
1 SJ
0 0 0 A
N 275.53 18.82 M 275.53 246.92 l O
;
:
N 0 13.01 M 0 240.66 L 289.08 0 L 0 -240.66 L X C
1 1 Z
/Helvetica-Narrow FF 12 XF SF
: 14.35 18.07 T
0 0 M
0 0 0 A
(-) S
5.76 0 M
(1) S
;
: 6.16 73.78 T
0 0 M
0 0 0 A
(-) S
5.76 0 M
(0) S
11.24 0 M
(.) S
13.96 0 M
(5) S
;
: 20.11 128.73 T
0 0 M
0 0 0 A
(0) S
;
: 11.92 183.69 T
0 0 M
0 0 0 A
(0) S
5.48 0 M
(.) S
8.2 0 M
(5) S
;
: 20.11 238.64 T
0 0 M
0 0 0 A
(1) S
;
;
:
N 0 0 M 0 289.08 L 289.08 0 L 0 -289.08 L X C
1 1 Z
/Helvetica-Narrow FF 29 XF SF
: 88.08 258.97 T
0 0 M
0 0 0 A
(S) S
15.61 0 M
(i) S
20.8 0 M
(n) S
33.79 0 M
(e) S
46.79 0 M
( ) S
53.27 0 M
(W) S
75.4 0 M
(a) S
88.41 0 M
(v) S
100.11 0 M
(e) S
;
; P
%%Trailer
%%DocumentNeededFonts:
%%DocumentSuppliedFonts:
%%Pages: 1
%%EOF
Hi David,
I still cannot reproduce your results, at my setup it shows an A4 page both with and without EPSF-2.0. But anyway I've added a Drawable::isEPS, and also Printer::IsEPS so you can f.ex. set up your local printer configuration with 1 as default value (examples/ps_setup.pl , Advanced/IsEPS then Setup/Save)
/dk
PDL::Graphics::Prima produces figures using the PS drawable interface. Most viewers incorrectly render the figures. Some experimentation on my part seems to suggest that changing the opening line of the file from
to
is sufficient. By sufficient, I mean that the files are correctly rendered by Mac's Preview, LyX's in-document preview, and many LaTeX renders such as dvips and pdflatex (as run on a Mac). Historically, I have had to monkey with the figure bounding box to get things to display correctly, but I recently discovered (in my tests of Prima::Drawable::Subcanvas) that images larger than a page size were not being properly displayed even with my attempted fixes.