simon-svn: puzzles: simon
tartarus-commits at lists.tartarus.org
tartarus-commits at lists.tartarus.org
Sat Aug 20 16:48:57 BST 2005
SVN root: svn://ixion.tartarus.org/main
Changes by: simon
Revision: 6193
Date: 2005-08-20 16:48:55 +0100 (Sat, 20 Aug 2005)
Log message (16 lines):
Native Windows printing support, using the infrastructure I put in
place in r6190. I'm quite pleased that I didn't have to modify the
printing infrastructure _at all_ to make this work; the only source
change required outside windows.c was the addition of a trivial
utility function midend_get_params(), and that was for the benefit
of bulk puzzle generation rather than anything to do with actual
printing.
As far as I can tell, all printable puzzles now print almost
indistinguishably from the way they print under Unix. If you look
closely the font is slightly different, and the Windows standard
hatching doesn't seem to be quite as nice as the kind I did by hand
in ps.c (and, particularly annoyingly, hatched areas don't show up
at all for me when I print to a file and use gv, though they come
out fine on the printer itself); but it's all there, and it all
works.
Modified files:
U puzzles/Recipe
U puzzles/devel.but
U puzzles/midend.c
U puzzles/puzzles.h
U puzzles/windows.c
Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6193&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/Recipe?rev=6193&r1=6192&r2=6193
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/devel.but?rev=6193&r1=6192&r2=6193
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/midend.c?rev=6193&r1=6192&r2=6193
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/puzzles.h?rev=6193&r1=6192&r2=6193
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/windows.c?rev=6193&r1=6192&r2=6193
More information about the tartarus-commits
mailing list