[root] / trunk / graf2d / postscript / src / TPostScript.cxx Repository:
ViewVC logotype

Log of /trunk/graf2d/postscript/src/TPostScript.cxx

Parent Directory Parent Directory


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 46958 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 1 12:56:56 2012 UTC (2 years, 2 months ago) by couet
File length: 102164 byte(s)
Diff to previous 46910
fix coverity report #47978

Revision 46910 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 16:07:31 2012 UTC (2 years, 2 months ago) by couet
File length: 102155 byte(s)
Diff to previous 46896
include missing (solaris)

Revision 46896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 30 13:29:05 2012 UTC (2 years, 2 months ago) by couet
File length: 102136 byte(s)
Diff to previous 44883
New class TMathText to Draw Math formulas using a TeX processor written by Yue Shi Lai

Revision 44883 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 4 14:41:45 2012 UTC (2 years, 6 months ago) by couet
File length: 87062 byte(s)
Diff to previous 44507
Name the output pilots (like TPDF already was) so they can be identified at run time.

Revision 44507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 4 12:30:41 2012 UTC (2 years, 7 months ago) by axel
File length: 87024 byte(s)
Diff to previous 41793
Remove
  using namespace std;
from Riostream.h, which has huge consequences for all of ROOT.
Riostream.h is now a simple wrapper for fstream, iostream, iomanip for backward compatibility; Riosfwd.h simply wraps iosfwd.

Because of templates and their inline functions, Riostream.h needed to be included in headers, too (e.g. TParameter.h), which violated the assumption that Riostream.h is not exposing its using namespace std to headers.
ROOT now requires R__ANSISTREAM, R__SSTREAM, which does not change the set of supported compilers.

Without "using namespace std", several identifiers are now prefixed by std::; e.g. roofit/* source files now have a using namespace std to keep their coding style.
TFile::MakeProject() now generates "using namespace std" to convert the CINT-style class names into C++ ones.

Revision 41793 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 5 22:56:33 2011 UTC (3 years, 2 months ago) by couet
File length: 87014 byte(s)
Diff to previous 41167
Fix Bug report #88527
A <CR> was missing before %%EndProlog for eps files.

Revision 41167 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 15:45:46 2011 UTC (3 years, 3 months ago) by couet
File length: 86981 byte(s)
Diff to previous 41127
Fix coverity report (uninitialized variables)

Revision 41127 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 5 07:25:39 2011 UTC (3 years, 3 months ago) by couet
File length: 86968 byte(s)
Diff to previous 38276
Fix coverity reports #32099 and $32098:
kBackslash and kLatex were not used.

Revision 38276 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 2 14:34:54 2011 UTC (3 years, 10 months ago) by couet
File length: 87032 byte(s)
Diff to previous 35554
- Fix a precision problem in the text positionning.
  When the pad limits along X or Y were very close
  the text position might be wrong. This was found 
  thanks to the test #15 in stressGraphics. The text
  position is now computed using double precision
  variable only.

Revision 35554 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 21 16:07:54 2010 UTC (4 years, 4 months ago) by couet
File length: 86740 byte(s)
Diff to previous 34184
- strcpy -> strlcpy, sprintf -> snprintf (coverity)

Revision 34184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 29 08:14:08 2010 UTC (4 years, 6 months ago) by couet
File length: 86659 byte(s)
Diff to previous 33461
- Add Oleksandr Grebenyuk in author list

Revision 33461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 11 09:22:54 2010 UTC (4 years, 8 months ago) by couet
File length: 86649 byte(s)
Diff to previous 33368
- From Oleksandr Grebenyuk:
  Inside a string, the backslash itself should be escaped.

Revision 33368 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 09:07:59 2010 UTC (4 years, 8 months ago) by couet
File length: 86631 byte(s)
Diff to previous 33367
- Improve the odc. The parenthesis mechanism was not explained.
  I was explained only in a "How To".

Revision 33367 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 08:25:41 2010 UTC (4 years, 8 months ago) by couet
File length: 85298 byte(s)
Diff to previous 33327
- Since the new PrinstStr version some structuring directives
  where not in column 1 anymore.

Revision 33327 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 30 14:36:34 2010 UTC (4 years, 8 months ago) by couet
File length: 85264 byte(s)
Diff to previous 33288
- In PS and PDF files the long text strings are broken into lines and 
  the "new line" characters wer not escaped. This problem has always 
  been there, the recent kerning updates just made it more visible.
  (original code from Oleksandr Grebenyuk)

Revision 33288 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 29 08:20:31 2010 UTC (4 years, 8 months ago) by couet
File length: 85040 byte(s)
Diff to previous 33241
- More fixes for kerning (Oleksandr)

Revision 33241 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 27 15:25:37 2010 UTC (4 years, 8 months ago) by couet
File length: 85037 byte(s)
Diff to previous 33130
- Improvements for kerning (Oleksandr Grebenyuk <OGrebenyuk@lbl.gov>)

Revision 33130 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 22 09:48:26 2010 UTC (4 years, 9 months ago) by couet
File length: 84394 byte(s)
Diff to previous 32927
- Implement the text kerning. The effect is clearly illustrated with
  the following script. Without kerning the red X is overlaped by the
  the rest of the text. 

  {
     TCanvas *c = new TCanvas;
     TLatex *l = new TLatex(0.5, 0.5, "AVAVAVAVAVAVAVAVAVA#color[2]{X}");
     l->Draw();
     c->SaveAs("c1.eps");
  } 

  The original idea comes from Oleksandr Grebenyuk. It has been implemented
  in a such way that the kerning mechanism is activated only when needed. If
  not needed the old way of text rendering is used. It was done that way because
  most of the time kerning is not needed and text rendered using the kerning 
  mechanism takes more space in the PS file.

Revision 32927 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 9 15:05:56 2010 UTC (4 years, 9 months ago) by couet
File length: 83325 byte(s)
Diff to previous 32524
- 3 new markers (32, 33, 34). 
  Now each marker has a filled and an hollow version.

Revision 32524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 13:38:42 2010 UTC (4 years, 10 months ago) by couet
File length: 82960 byte(s)
Diff to previous 32515
- Remove the definition of postscript macros not used anymore.

Revision 32515 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 10:45:19 2010 UTC (4 years, 10 months ago) by couet
File length: 83679 byte(s)
Diff to previous 32450
- The Revision 32156 (from Oleksandr Grebenyuk) produces
  wrong marker sizes (in some case) for the dot markers
  1 6 and 7. These markers are not scalable. Problem
  found running stressGraphics.

Revision 32450 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 10:32:02 2010 UTC (4 years, 10 months ago) by couet
File length: 83553 byte(s)
Diff to previous 32156
- Implement the Symbol font in Italic. Font number 15.
  Help from Pierre Juillot and Benoit Speckel (IPHC Strasbourg)

Revision 32156 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 29 17:05:45 2010 UTC (4 years, 11 months ago) by couet
File length: 83121 byte(s)
Diff to previous 31666
- From Oleksandr Grebenyuk:
  The marker size in the various output file format was not the same
  as on the screen.

Revision 31666 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 15:11:20 2009 UTC (5 years, 1 month ago) by couet
File length: 82703 byte(s)
Diff to previous 30302
- initialize members (coverity)

Revision 30302 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 21 08:17:55 2009 UTC (5 years, 4 months ago) by couet
File length: 81254 byte(s)
Diff to previous 29280
- In DrawPlyMarker: Do not draw the markers if the size is 0.

Revision 29280 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 1 08:43:27 2009 UTC (5 years, 6 months ago) by couet
File length: 81193 byte(s)
Diff to previous 28496
- In the following TLatex the minus sign was not correct:
  TLatex *l = new TLatex(0.5, 0.5, "#font[122]{a = b + c - d #pm e}"); 
  Note it is not the recommended way to do greek characters with
  TLatex, but it should work anyway.

Revision 28496 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 8 12:10:33 2009 UTC (5 years, 8 months ago) by couet
File length: 81175 byte(s)
Diff to previous 25714
- In DrawPS the case nn=0 was not treated correctly.
  Because of that the PS file might contain useless
  attributes settings. That was only a few bytes 
  more in the file but they were useless...

Revision 25714 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 7 08:59:56 2008 UTC (6 years, 3 months ago) by couet
File length: 81147 byte(s)
Diff to previous 23936
- After the new endocing (last revision) the hyphen was longer than before.
  This is now fixed. The following macro shows the problem:
  {
     TCanvas *c1 = new TCanvas("c1", "c1",15,49,700,500);
     TLatex *tex = new TLatex(0.04,0.4,"sin(3#varphi_{h}-#varphi_{S})");   
     tex->SetTextSize(0.07);
     tex->Draw(); 
     c1->Print("hyphen.ps");
  }

Revision 23936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 20 16:00:26 2008 UTC (6 years, 8 months ago) by couet
File length: 81079 byte(s)
Diff to previous 23832
- Simplify the fonts encoding (use ISOLatin1Encoding). The new way allows to 
  print any character with accent etc.. like on the screen. The new encoding
  was done by Pierre Juillot.

Revision 23832 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 16:37:01 2008 UTC (6 years, 8 months ago) by brun
File length: 85663 byte(s)
Diff to previous 23140
From Olivier:
CellArrayBegin now uses "setrgbcolor" to define the colors and not the 
shortcut "c". The shortcut "c" might be equal to "setcmykcolor" and in 
that case the PS macros defined in CellArrayBegin don't work. This fixes 
the problem reported here:
http://root.cern.ch/phpBB2/viewtopic.php?p=27598#27598

Revision 23140 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 11 11:01:39 2008 UTC (6 years, 9 months ago) by rdm
File length: 85653 byte(s)
Diff to previous 22132
move the following directories to "graf2d":

asimage, freetype, gpad, graf, postscript, qt, win32gdk, x11, x11ttf

move the following directories to "graf3d":

eve, ftgl, g3d, gl, x3d

Revision 22132 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 13 17:24:06 2008 UTC (6 years, 11 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 85653 byte(s)
Diff to previous 22049
- Change the Page numbering to make it appear nicer in postcript viewers
  like gv. It is compliant with the Adobe Postscript Document Structuring 
  Conventions (easily found on the web).

Revision 22049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 7 16:10:33 2008 UTC (6 years, 11 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 85660 byte(s)
Diff to previous 20882
- In Text() use PrintFast instead of PrintStr to print a single character.
  This allows to bypass the mechanism in which "@" is a control character in
  PrintStr and therefore allows to print "@" in PS files. @ is printed 
  correctly in all other formats (PDF etc ... ).

Revision 20882 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 11:31:26 2007 UTC (7 years, 2 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 85627 byte(s)
Diff to previous 20722
Set property svn:eol-style LF on all source and Makefiles. This should avoid
problems with Win32 line endings ending up in the repository. All MS tools
support LF eols fine.

Revision 20722 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 8 15:15:37 2007 UTC (7 years, 2 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 85627 byte(s)
Diff to previous 20509
- Initialise local variables in Range() to avoid error messages with valgrind
  on 64 bits linux.

Revision 20509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 26 14:05:32 2007 UTC (7 years, 3 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 85609 byte(s)
Diff to previous 19826
- Improve THtml header.

Revision 19826 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:56:11 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 86056 byte(s)
Diff to previous 19825
imported svn:keywords Id property

Revision 19825 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 19 19:49:10 2007 UTC (7 years, 4 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 86110 byte(s)
Diff to previous 19297
remove :$ from tag line

Revision 19297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 10 07:40:03 2007 UTC (7 years, 6 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 86120 byte(s)
Diff to previous 18177
- Apply the suggestion made here: https://savannah.cern.ch/bugs/?27876
  ie: the page numbers are now written between ().

Revision 18177 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 7 09:51:03 2007 UTC (7 years, 10 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 86095 byte(s)
Diff to previous 18155
Fix coding conventions

Revision 18155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 5 12:37:17 2007 UTC (7 years, 10 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 86095 byte(s)
Diff to previous 17243
- Rotated text aligned center or right horizontally was misplaced.

Revision 17243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 21 10:57:55 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 85995 byte(s)
Diff to previous 17233
- Revisit the head comments.
  * Since the last mods in TPostScript:Text, some pieces of documentation
    were wrong.
  * Some HTML reference (<A>) pointed to nothing.
  * The HTML formatting in the "Color Model" paragraph was wrong.
  * Cosmetic in comments.

Revision 17233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 18 16:05:51 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 87802 byte(s)
Diff to previous 17072
- Change in SetFillPatterns to make sure the line width will be properly
  reset after a filled pattern area is drawn.
- Remove an unused variable.

Revision 17072 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 6 17:05:30 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 87744 byte(s)
Diff to previous 16297
- Text is now clipped the right way using the clip PS operator.
- The old TPostScript::Text method, which had its own text conventions
  (equivalent of TLatex), is now replaced by a much simpler method drawing
  only basic text (like in TPDF).

Revision 16297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 19 14:27:39 2006 UTC (8 years, 4 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113458 byte(s)
Diff to previous 15773
- In DrawPolyMarker the line style and line width were not correctly reset.

Revision 15773 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 14:01:32 2006 UTC (8 years, 6 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113334 byte(s)
Diff to previous 15000
- Add symbols in the extended Postscript table.

Revision 15000 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 15:50:52 2006 UTC (8 years, 8 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112986 byte(s)
Diff to previous 13813
- Protection added: In case of very long file name the directive %%Title
  did not fit on one line and generated a wrong PS file.

Revision 13813 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 10 15:45:00 2006 UTC (9 years ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112959 byte(s)
Diff to previous 13732
- The width of the frame drawn by TPostScript::DrawFrame was 4 times smaller
  than the one on the screen or the one in a PDF file. PDF output is right.

Revision 13732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 12:44:22 2005 UTC (9 years, 1 month ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112931 byte(s)
Diff to previous 13419
- Undo the previous fix (Removing %%BeginSetup/%%EndSetup empty section).
  CUPS printing system doesn't like it. psresize wil not be happy with that
  but the priority should be given to printing. Any way it is easier to remove
  that empty section using a little script than adding it in the PS file each
  time we want to print a PS file using CUPS.

Revision 13419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 17:10:13 2005 UTC (9 years, 1 month ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112870 byte(s)
Diff to previous 13184
- Remove the %%BeginSetup/%%EndSetup section as it was empty since the last
  CUPS modification. With that empty section tools like "psresize" didn't work
  anymore on PS files generated by ROOT.

Revision 13184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 10 11:11:46 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112928 byte(s)
Diff to previous 13059
- Rules checker's mods

Revision 13059 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 28 13:50:24 2005 UTC (9 years, 2 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112979 byte(s)
Diff to previous 12962
- Yet an other mod to make CUPS version 1.1.22 happy

Revision 12962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 14 16:45:44 2005 UTC (9 years, 3 months ago) by couet
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 112978 byte(s)
Diff to previous 12565
- The marker size is now the same as the one on screen.

Revision 12565 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 30 10:51:15 2005 UTC (9 years, 4 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113186 byte(s)
Diff to previous 12411
Changes to make the rulechecker happy in directory postscript.

Revision 12411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 29 11:25:24 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113060 byte(s)
Diff to previous 11812
From Olivier:
- PostScript files can now use the CMYK color model. A new TStyle method
  (SetColorModelPS) allows to choose the color model (RGB or CMYK). See
  help for details.

Revision 11812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 18 10:28:08 2005 UTC (9 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 110712 byte(s)
Diff to previous 11755
Optimize size of markers in case of very small pads

Revision 11755 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 9 17:00:15 2005 UTC (9 years, 8 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 110645 byte(s)
Diff to previous 11676
From Olivier:
- Added %%Orientation is PS files. This allows the PostScript viewers
  (like gv) to display automatically the PS files with the correct
  orientation.

Revision 11676 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 26 16:36:48 2005 UTC (9 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 110601 byte(s)
Diff to previous 11098
From Olivier:
- The line styles defined via TStyle::SetLineStyleString() are now
  available for all graphical interfaces: SVG, PostScript, PDF, X11, and
  Win32GDK. Previously they were visible only in PostScript files. They
  are still missing for Qt driver.

Revision 11098 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 11 12:41:34 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 110554 byte(s)
Diff to previous 11096
From Olivier:
- Help improvements (output type description added).

Revision 11096 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 11 10:26:01 2005 UTC (9 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108629 byte(s)
Diff to previous 8606
Move the class description at the right place at the start of the class.

Revision 8606 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 13:41:51 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108629 byte(s)
Diff to previous 8605
Fix last compilation problem under hp-ux/aCC

Revision 8605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 13:37:01 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108635 byte(s)
Diff to previous 8604
Fix another compilation problem on hp-ux/aCC

Revision 8604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 19 13:33:29 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108638 byte(s)
Diff to previous 8577
Fix a compilation problem on hp-ux/acc
Error 197: "postscript/src/TPostScript.cxx", line 733 # Jump past initialization of variable 'i'.
          if( n == 0) goto END;
                      ^^^^^^^^^
E

Revision 8577 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 14 13:14:45 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108641 byte(s)
Diff to previous 8418
From Olivier:
In some places the line width was changed to 1 but not reset to its current
value.

Revision 8418 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 17 17:35:32 2004 UTC (10 years, 10 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 107929 byte(s)
Diff to previous 8188
From Olivier:
- PDF driver now support zlib compression
- Many improvements in the PDF driver

Revision 8188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 12 09:46:04 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 107922 byte(s)
Diff to previous 8065
From Olivier:
 Since introduction of the new character "Angstrom" the sigma was
represented as a vertical bar in PS files

Revision 8065 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 28 15:49:07 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 107884 byte(s)
Diff to previous 7700
From Olivier;
New method SetLineJoin in TPostScript allowing to change the joining style
of PostScript lines (see the method's comments for details).

Revision 7700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 5 23:03:35 2003 UTC (11 years, 1 month ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 107062 byte(s)
Diff to previous 7610
Protect TPostScript::Text in case the function is called and there is no pad.

Revision 7610 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 18 15:36:38 2003 UTC (11 years, 2 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 107040 byte(s)
Diff to previous 7231
In TPostScript::Open, specify the option kWritePermission when
calling TSystem::AccessPathname

Revision 7231 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 8 14:54:13 2003 UTC (11 years, 4 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 107023 byte(s)
Diff to previous 6983
In TPostScript::Text include a special processing for the Angstroem characters:
 The TLatex character "\305" produces Angstroem on screen. Must be "\362" on ps
 The TLatex character "\345" produces angstroem on screen. Must be "\357" on ps

Revision 6983 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 21 15:20:28 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106877 byte(s)
Diff to previous 6973
From Olivier:
In a macro, when a character was written on several lines some '\n' were
written in the middle of the string in the PostScript file. This generated
some miss-alignments.

Revision 6973 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 18 15:36:38 2003 UTC (11 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106839 byte(s)
Diff to previous 6524
From Olivier,

The text size in PostScript files is now computed in order to fit exactly
with the TTF text size on screen. Previously it was close but a bit
different, therefore on long character strings it was possible to see gaps
between various pieces of a TLatex expression.

Revision 6524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 2 10:43:18 2003 UTC (11 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106580 byte(s)
Diff to previous 6407
From Olivier: for a problem reported by Otto Schaile
 "I just noticed that if the title of a canvas wraps around a line
  wrong PostScript output is produced"

Revision 6407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 9 08:18:04 2003 UTC (11 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106510 byte(s)
Diff to previous 6330
In TPad::Print do not print the Info message "file xxxx has been produced"
if the file could not be open

Revision 6330 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 19 18:06:55 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106455 byte(s)
Diff to previous 6325
Fix by Olivier for CUPS Postscript viewers

Revision 6325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 18 16:28:18 2003 UTC (11 years, 10 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106558 byte(s)
Diff to previous 6150
From Olivier:
 TPostScript::Initialize: move the line "%%Page: number 1" just after the
line "%%EndProlog" to be compliant with the CUPS printing software.

Revision 6150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 20 08:49:18 2003 UTC (11 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106397 byte(s)
Diff to previous 5943
Do not write linewidth or linestyle if identical to previous values.
This saves a lot of space in the ps file.

Revision 5943 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 20 08:44:47 2003 UTC (12 years ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106400 byte(s)
Diff to previous 5736
Add protections in destructors in case the default constructor has been called.
Initialize pointers in some default constructors.

Revision 5736 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 4 11:23:06 2002 UTC (12 years, 1 month ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106374 byte(s)
Diff to previous 5717
Fix by Olivier when printing patterns. The line width must be set to 1.

Revision 5717 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 2 18:50:12 2002 UTC (12 years, 1 month ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106304 byte(s)
Diff to previous 5575
mega patch to remove almost all compiler warnings on MacOS X where the
compiler is by default in pedantic mode (LHCb also like to use this option).
The following issues have been fixed:
- removal of unused arguments
- comparison between signed and unsigned integers
- not calling of base class copy ctor in copy ctor's
To be done, the TGeo classes where we get still many hundred warnings of
the above nature. List forwarded to Andrei.

Revision 5575 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 13 17:04:39 2002 UTC (12 years, 2 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106299 byte(s)
Diff to previous 5205
Fix by Olivier for a problem reported by Dmitri Smirnov.
The current PS color must be reset after a polygon is drawn with
  a PS pattern.

Revision 5205 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 3 18:37:39 2002 UTC (12 years, 4 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106149 byte(s)
Diff to previous 4349
rounding problem fixed in TPostScript::CellArrayBegin(). By Olivier.

Revision 4349 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 11 11:41:31 2002 UTC (12 years, 9 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106163 byte(s)
Diff to previous 4195
use Riostream.h instead of fstream.h. fstream.h is not supported anymore by
ANSI C++ comilers. Riostream.h takes care of all different compilers.

Revision 4195 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 18 16:43:15 2002 UTC (12 years, 10 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106183 byte(s)
Diff to previous 4184
Fix for a problem in my PS code: X and Y variables were used to draw
the Cell Array and to draw horizontal lines. The axis are only vertical
and horizontal lines and that why it appears now. The tests I had in the
past never were used in such a configuration.

Revision 4184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 15 20:45:11 2002 UTC (12 years, 10 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106251 byte(s)
Diff to previous 3987
Reintroduce protection for gPad=0 in TPostScript::Initialize.
This correction was lost when the chnages by Olivier were introduced.

Revision 3987 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 14 18:04:15 2002 UTC (12 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 106243 byte(s)
Diff to previous 3748
Several mods by Olivier Couet .
The class TPostScript and TSVG derive from TVirtualPS.
Both classes have several functions in common. These functions
previously in TPostScript have been moved to TVirtualPS.

Revision 3748 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 24 11:39:31 2002 UTC (13 years ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113886 byte(s)
Diff to previous 3742
rename IOSFwd.h and IOStream.h to Riosfwd.h and Riostream.h. The change
is necessary because on Windows which is case insensitive IOStream.h
hides the real iostream.h.

Revision 3742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 23 17:52:52 2002 UTC (13 years ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113889 byte(s)
Diff to previous 3726
use IOSFwd.h in headers instead of <iosfwd> or many other ifdef'ed variant
and IOStream.h in the source instead of <iostream[.h]>, <fstream[.h]> and
<iomanip[.h]>.

Revision 3726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 21 14:01:29 2002 UTC (13 years ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113895 byte(s)
Diff to previous 3469
Protect the Init function in case gPad=0

Revision 3469 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 13 11:47:44 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113887 byte(s)
Diff to previous 3459
Remove unused variable fX2w, fY2w from TPostScript::Initialize.

Revision 3459 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 11 13:00:40 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113887 byte(s)
Diff to previous 3411
Mods proposed by Olivier Couet in TPostScript::CellArrayBegin.

Revision 3411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 6 17:20:14 2001 UTC (13 years, 1 month ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113608 byte(s)
Diff to previous 3399
fixes by Olivier for CellArray printing.

Revision 3399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 5 14:59:52 2001 UTC (13 years, 1 month ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113461 byte(s)
Diff to previous 3267
Add new function TStyle::SetTitlePS(const char *title) to specify
a Title in the Postscript file.

Revision 3267 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 21 15:51:50 2001 UTC (13 years, 2 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 113303 byte(s)
Diff to previous 3244
Add new functions in the Postscript interface to support drawing of images
with Postscript (great thanks to Olivier Couet).
The Postscript interface is ready for the introduction of the TSAImage, etc
classes for image processing with ROOT.
The new functions implemented are:
   void  CellArrayBegin(Int_t W, Int_t H, Double_t x1, Double_t x2,
                                          Double_t y1, Double_t y2);
   void  CellArrayFill(Int_t r, Int_t g, Int_t b);
   void  CellArrayEnd();

Revision 3244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 19 17:37:38 2001 UTC (13 years, 2 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108444 byte(s)
Diff to previous 3165
In TPostScript::Text, delete the array psrap (one coefficient per font).
Use one single multiplication factor (fontrap) for all fonts.

Revision 3165 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 4 17:29:34 2001 UTC (13 years, 2 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108676 byte(s)
Diff to previous 2971
add direct color setting method SetColor(r,g,b) (to be used for image output
to PS). Also removed "backslash" from global name space by making it const
and renaming it to kBackslash.

Revision 2971 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 4 08:50:11 2001 UTC (13 years, 3 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108662 byte(s)
Diff to previous 2603
Add protection in TPostScript::NewPage when no canvas exists and eps format 113
is selected.

Revision 2603 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 20 21:05:30 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108618 byte(s)
Diff to previous 2523
Optimize size of error bars/error bar separators in case of small pads
or very assymetric pads. Take into account aspect ratio when computing
the marker size in TPostScript.

Revision 2523 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 4 16:36:07 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108580 byte(s)
Diff to previous 2522
Minor change in Initialize. PrintFast called with 6 instead of 5 (one character
was truncated).

Revision 2522 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 4 14:17:17 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108580 byte(s)
Diff to previous 2479
When closing the ps file, issue a "showpage" instead of "showpage gr".
This solves a problem when viewing Postscript files with ghostview and going forward/backward
in the ps file.

Revision 2479 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 28 17:09:18 2001 UTC (13 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108536 byte(s)
Diff to previous 2389
Add a protection in TPostScript::Text when the input string contains special sequences
of characters, like "&"

Revision 2389 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 7 08:39:45 2001 UTC (13 years, 7 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108502 byte(s)
Diff to previous 1990
 some special characters like Tlatex #varphi were not correctly
interpreted by TPostScript.

Revision 1990 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 17 15:29:35 2001 UTC (13 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108480 byte(s)
Diff to previous 1315
Improve Postscript resolution for open star symbol 30.
Thanks to
       Asmus <A.Meyer-Plath@epost.de>

Revision 1315 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 16:35:59 2001 UTC (14 years ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108477 byte(s)
Diff to previous 1223
Add logic in TPostScript::NewPage to compute the boundingbox parameters
when a canvas is subdivided into pads and only one subpad is printed.

Revision 1223 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 15 08:47:30 2000 UTC (14 years, 1 month ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 108303 byte(s)
Diff to previous 506
Add more comments to explain the PostScript interface.

Revision 506 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 20 10:03:29 2000 UTC (14 years, 5 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 103899 byte(s)
Diff to previous 305
Modify TPostScript::DrawPolyMarker to take into account the current paper size
when computing the marker size. (thanks to Spehen Bailey).

Revision 305 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 12:57:04 2000 UTC (14 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 103915 byte(s)
Diff to previous 233
Modify TPostScript::NewPage to correctly calculate the bounding box parameters
in case one prints a subpad of a canvas.

Revision 233 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 16 15:23:02 2000 UTC (14 years, 7 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 103881 byte(s)
Diff to previous 126
changes for port to Alpha Linux

Revision 126 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 09:48:05 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 104198 byte(s)
Diff to previous 95
 - Mods in TPostScript. several function arguments changed from Float_t to
   Double_t. The following functions have been modified:
                Int_t CMtoPS(Double_t u) {return Int_t(0.5 + 72*u/2.54);}
                void  DrawBox(Double_t x1, Double_t y1,Double_t x2, Double_t  y2);
                void  DrawFrame(Double_t xl, Double_t yl, Double_t xt, Double_t  yt,
                                Int_t mode, Int_t border, Int_t dark, Int_t light);
                void  DrawPolyMarker(Int_t n, Double_t *x, Double_t *y);
                void  DrawPS(Int_t n, Double_t *xw, Double_t *yw);
                void  Text(Double_t x, Double_t y, const char *string);
                void  TextNDC(Double_t u, Double_t v, const char *string);
                Int_t UtoPS(Double_t u);
                Int_t VtoPS(Double_t v);
                Int_t XtoPS(Double_t x);
                Int_t YtoPS(Double_t y);

Revision 95 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 8 17:42:50 2000 UTC (14 years, 7 months ago) by brun
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 98607 byte(s)
Diff to previous 3
- Modify TPostScript::Text to not take into account the special PostScript
  escape characters when the function is called by TLatex.
  One can still force a Tlatex object to use the old PostScript convention
  by using a font with precision 1 (eg 61).

Revision 3 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: trunk/postscript/src/TPostScript.cxx
File length: 98208 byte(s)
Copied from: branches/rdm/postscript/src/TPostScript.cxx revision 2
Diff to previous 2
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.

Revision 2 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue May 16 17:00:58 2000 UTC (14 years, 8 months ago) by rdm
Original Path: branches/rdm/postscript/src/TPostScript.cxx
File length: 98208 byte(s)
Initial import of ROOT into CVS

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Subversion Admin
ViewVC Help
Powered by ViewVC 1.0.9