Test 1
-font=ZQUEl8eS38RlsvEahHGNfnrbSswrcJKFwvlCdEttwcheuXvCN49MvWmndqj4
< /FindFont {/Times-Roman findfont} def
> /FindFont {/ZQUEl8eS38RlsvEahHGNfnrbSswrcJKFwvlCdEttwcheuXvCN49MvWmndqj4 findfont} def
-fontsize 2000
< /fontsize 24.000000 def
> /fontsize 2000.000000 def
< /descent 36.000000 def
< /leftmargin 12.000000 def
> /descent 3000.000000 def
> /leftmargin 1000.000000 def
-resolution 7200
-leftmargin=15
< /leftmargin 12.000000 def
> /leftmargin 15.000000 def
-rightmargin=20
< /rightmargin 0.000000 def
> /rightmargin 20.000000 def
-topmargin=10
< /topmargin 0.000000 def
> /topmargin 10.000000 def
-bottommargin=14
< /descent 36.000000 def
> /descent 0.000000 def
< /bottommargin 0.000000 def
> /bottommargin 14.000000 def
-ascent=30
< /ascent 0.000000 def
> /ascent 30.000000 def
-descent=20
< /descent 36.000000 def
> /descent 20.000000 def
-pad
< /descent 36.000000 def
> /descent 0.000000 def
< /pad false def
> /pad true def
-crop
< /descent 36.000000 def
< /leftmargin 12.000000 def
> /descent 0.000000 def
> /leftmargin 0.000000 def
-stroke 1
< /pensize -1.000000 def
> /pensize 1.000000 def
Test 2
30 31 32 20 41 42 43 2d 78 79 7a 2e
1
303132204142432d78797a2e
1
<303132 20 414243 2d 78797a 2e>
1
Test Invalid
Expected failure 1 (-fontsize) (no output)
Expected failure 2 (-fontsize 0) (no output)
Expected failure 3 (-resolution) (no output)
Expected failure 4 (-resolution=0) (no output)
Expected failure 5 (-leftmargin) (no output)
Expected failure 6 (-leftmargin -1) (no output)
Expected failure 7 (-rightmargin) (no output)
Expected failure 8 (-rightmargin -1) (no output)
Expected failure 9 (-topmargin) (no output)
Expected failure 10 (-topmargin -1) (no output)
Expected failure 11 (-bottommargin) (no output)
Expected failure 12 (-bottommargin -1) (no output)
Expected failure 13 (-ascent) (no output)
Expected failure 14 (-ascent -1) (no output)
Expected failure 15 (-descent) (no output)
Expected failure 16 (-descent -1) (no output)
Expected failure 17 (-stroke=A) (no output)
Expected failure 18 (-pad -crop) (no output)
Expected failure 19 (-asciihex <a>) (no output)
Expected failure 20 (-asciihex ) (no output)
Expected failure 21 (-asciihex <53756c667572) (no output)
Expected failure 22 (-asciihex 53756c667572>) (no output)
Expected failure 23 (-asciihex <5375<6c667572>) (no output)
Expected failure 24 (-asciihex <53756c>667572>) (no output)
Expected failure 25 (-ascii85 <~@<6O!FD5W(~) (no output)
Expected failure 26 (-ascii85 ~@<6O!FD5W(~>) (no output)
Expected failure 27 (-ascii85 <~@<6O<~!FD5W(~>) (no output)
Expected failure 28 (-ascii85 <~@<6O~>!FD5W(~>) (no output)
Expected failure 29 (-ascii85 <~@<6O!FD5W(~~>) (no output)
Expected failure 30 (-ascii85 v) (no output)
Expected failure 31 (-ascii85 y) (no output)
Expected failure 32 (-ascii85 1z) (no output)
Expected failure 33 (-ascii85 z1z) (no output)
Expected failure 34 (-ascii85 <~0123z~>) (no output)
Expected failure 35 (-font="") (no output)
