You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but then when i send this into a postscript file, only a single one is rendered, or more precisely, three postscript files are created in a row, which doesn't render correctly in my PDF rendered (evince in linux):
$ sudoku -g 3 -fps
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 211 301 401 491
%%Creator: Sudoku by Michael Kennett
%%CreationDate: Mon Dec 28 17:52:04 2015
%%Title: randomly generated - medium
%%EndComments
(5 9 813 57 2 7 6 8 74 9 1 85 4 2 6 4 91 437 3 5)
211 301 translate
0 setgray
1 setlinewidth 1 8 {dup 20 mul 5 add dup dup dup
5 moveto 185 lineto 5 exch moveto 185 exch lineto 1 add} repeat pop stroke
3 setlinewidth 1 2 {dup 60 mul 5 add dup dup dup
5 moveto 185 lineto 5 exch moveto 185 exch lineto 1 add} repeat pop stroke
1 setlinejoin 5 5 moveto 5 185 lineto 185 185 lineto 185 5 lineto closepath stroke
/Helvetica-Bold findfont 12 scalefont setfont
0 81 {2 copy 1 getinterval dup stringwidth pop
20 exch sub 2 div 2 index 9 mod 20 mul add 5 add
8 3 index 9 idiv sub 20 mul 10 add
moveto show 1 add} repeat pop pop
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 211 301 401 491
%%Creator: Sudoku by Michael Kennett
%%CreationDate: Mon Dec 28 17:52:04 2015
%%Title: randomly generated - hard
%%EndComments
(2 54 69 7 9 5 78 41 7 9 2 1 3 4 59 83 2 4 8 19 37 2)
211 301 translate
0 setgray
1 setlinewidth 1 8 {dup 20 mul 5 add dup dup dup
5 moveto 185 lineto 5 exch moveto 185 exch lineto 1 add} repeat pop stroke
3 setlinewidth 1 2 {dup 60 mul 5 add dup dup dup
5 moveto 185 lineto 5 exch moveto 185 exch lineto 1 add} repeat pop stroke
1 setlinejoin 5 5 moveto 5 185 lineto 185 185 lineto 185 5 lineto closepath stroke
/Helvetica-Bold findfont 12 scalefont setfont
0 81 {2 copy 1 getinterval dup stringwidth pop
20 exch sub 2 div 2 index 9 mod 20 mul add 5 add
8 3 index 9 idiv sub 20 mul 10 add
moveto show 1 add} repeat pop pop
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: 211 301 401 491
%%Creator: Sudoku by Michael Kennett
%%CreationDate: Mon Dec 28 17:52:04 2015
%%Title: randomly generated - medium
%%EndComments
(2 7 9 7 9 6 1 5 6 87 5 9 3 32 97 9 1 4 28 7 3 4 1 6 9 6 8 7)
211 301 translate
0 setgray
1 setlinewidth 1 8 {dup 20 mul 5 add dup dup dup
5 moveto 185 lineto 5 exch moveto 185 exch lineto 1 add} repeat pop stroke
3 setlinewidth 1 2 {dup 60 mul 5 add dup dup dup
5 moveto 185 lineto 5 exch moveto 185 exch lineto 1 add} repeat pop stroke
1 setlinejoin 5 5 moveto 5 185 lineto 185 185 lineto 185 5 lineto closepath stroke
/Helvetica-Bold findfont 12 scalefont setfont
0 81 {2 copy 1 getinterval dup stringwidth pop
20 exch sub 2 div 2 index 9 mod 20 mul add 5 add
8 3 index 9 idiv sub 20 mul 10 add
moveto show 1 add} repeat pop pop
it should at least merge those into multiple pages of the same postscript file or something... ideally, it would show as a grid, with a subtitle describing the level as well...
The text was updated successfully, but these errors were encountered:
it seems that the postscript output doesn't respect the -gN option: if i use
sudoku -g3, i get three puzzles:but then when i send this into a postscript file, only a single one is rendered, or more precisely, three postscript files are created in a row, which doesn't render correctly in my PDF rendered (
evincein linux):it should at least merge those into multiple pages of the same postscript file or something... ideally, it would show as a grid, with a subtitle describing the level as well...
The text was updated successfully, but these errors were encountered: