Fresco/Berlin/modules/Drawing/PostScript DrawingKit.cc,1.28,1.29

Nick Lewycky <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin/modules/Drawing/PostScript
In directory purcel:/tmp/cvs-serv7556

Modified Files:
	DrawingKit.cc 
Log Message:
Revert scale to "broken" coordinate system so that the print button works
correctly in the M2 release.


Index: DrawingKit.cc
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/modules/Drawing/PostScript/DrawingKit.cc,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- DrawingKit.cc	18 Feb 2003 07:26:26 -0000	1.28
+++ DrawingKit.cc	2 Mar 2003 15:49:47 -0000	1.29
@@ -82,8 +82,8 @@
   //        the problems seems to be in the coordinate system used,
   //        not PS...
   //        -stefan
-  double xfactor = 1.;//resolution(xaxis);
-  double yfactor = 1.;//resolution(yaxis);
+  double xfactor = resolution(xaxis);
+  double yfactor = resolution(yaxis);
 
   static Transform::Matrix m =
     {{xfactor*xfactor, 0., 0., 0.},
@@ -121,7 +121,7 @@
       << (region.upper.y - region.lower.y)*resolution(yaxis)*yfactor + 35. << std::endl;
   _os << "%%LanguageLevel: 2" << std::endl;
   _os << "%%Creator: Fresco" << std::endl;
-  _os << "/Times-Roman findfont 14 scalefont setfont" << std::endl;
+  _os << "/Times-Roman findfont 112 scalefont setfont" << std::endl;
   _os << "0 0 0 setrgbcolor" << std::endl;
   _os << std::endl;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.