[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: f_print.c



  User: mike    
  Date: 07/04/21 17:39:45

  Modified:    .        f_print.c
  Log:
  Added %%Orientation to DSC block in PS output, fixing SF#1680214
  
  
  
  
  Revision  Changes    Path
  1.29      +4 -1      eda/geda/gaf/libgeda/src/f_print.c
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: f_print.c
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/libgeda/src/f_print.c,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -b -r1.28 -r1.29
  --- f_print.c	17 Apr 2007 20:19:20 -0000	1.28
  +++ f_print.c	21 Apr 2007 21:39:45 -0000	1.29
  @@ -122,6 +122,7 @@
   	  "%%%%Title: %s\n"
   	  "%%%%Author: %s\n"
   	  "%%%%BoundingBox: %d %d %d %d\n"
  +	  "%%%%Orientation: %s\n"
   	  "%%%%Pages: 1\n"
   	  "%%%%Endcomments\n"
   	  "%%%%BeginProlog\n",
  @@ -129,7 +130,9 @@
   	  ctime(&current_time),
   	  w_current->page_current->page_filename,
   	  getlogin(),
  -	  llx, lly, urx, ury
  +	  llx, lly, urx, ury,
  +	  ((w_current->print_orientation == LANDSCAPE) 
  +	   ? "Landscape" : "Portrait")
   	  );
   
     /* Fetch and insert the Postscript prolog from disk here */
  
  
  


_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs