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

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

Parent Directory Parent Directory


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

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: 79349 byte(s)
Diff to previous 43485
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 43485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 26 16:13:17 2012 UTC (2 years, 9 months ago) by couet
File length: 79329 byte(s)
Diff to previous 42297
PDF files now support the transparency.
(Examples et doc to come …)

Revision 42297 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Nov 29 09:34:51 2011 UTC (3 years, 1 month ago) by couet
File length: 78071 byte(s)
Diff to previous 42243
Small size adjustment for the markers type 6 and 7
(suggested by Mathieu Trocme.)

Revision 42243 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 25 14:02:47 2011 UTC (3 years, 1 month ago) by couet
File length: 78071 byte(s)
Diff to previous 41198
Fix coverity report #36707

Revision 41198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 6 11:38:33 2011 UTC (3 years, 3 months ago) by couet
File length: 78046 byte(s)
Diff to previous 41170
Fix coverity reports (NULL_RETURNS)

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

Revision 41067 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 30 07:30:36 2011 UTC (3 years, 3 months ago) by couet
File length: 78015 byte(s)
Diff to previous 41019
Complete previous fix

Revision 41019 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 27 09:00:19 2011 UTC (3 years, 3 months ago) by couet
File length: 77997 byte(s)
Diff to previous 37886
TSVG::Open and TPDF::Open  check whether the output file was successfully opened.

Revision 37886 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 26 15:50:19 2011 UTC (3 years, 11 months ago) by couet
File length: 77977 byte(s)
Diff to previous 35570
- Fix:  http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12005

Revision 35570 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 09:25:34 2010 UTC (4 years, 4 months ago) by couet
File length: 77864 byte(s)
Diff to previous 35309
- sprintf -> snprintf (coverity)

Revision 35309 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 15 16:49:48 2010 UTC (4 years, 4 months ago) by couet
File length: 77836 byte(s)
Diff to previous 33620
- In some cases there was an extra blanck page at the beginning of the
  file. In particular with files generated using the "[]" mechanism.

Revision 33620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 27 09:24:00 2010 UTC (4 years, 7 months ago) by couet
File length: 77667 byte(s)
Diff to previous 33544
From Oleksandr Grebenyuk: Small fix regarding line width.

Revision 33544 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 18 08:54:09 2010 UTC (4 years, 8 months ago) by couet
File length: 77563 byte(s)
Diff to previous 33435
- From Oleksandr Grebenyuk:
  With the new Symbol-italic font (15), the transformation matrix used for 
  skewing inadvertently shifts all symbols along X axis. This was visible
  only using acroread, with gv the result was correct.

Revision 33435 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 10 08:03:45 2010 UTC (4 years, 8 months ago) by couet
File length: 77394 byte(s)
Diff to previous 33425
- Fix 33399 was overwritten by 33425. Now put back.

Revision 33425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 7 15:58:45 2010 UTC (4 years, 8 months ago) by couet
File length: 77401 byte(s)
Diff to previous 33399
- A table of contents can now be defined in PDF files.

Revision 33399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 6 07:51:41 2010 UTC (4 years, 8 months ago) by couet
File length: 74144 byte(s)
Diff to previous 33345
- From Oleksandr Grebenyuk.
  Fix in the character positionning. It was mostly visible in the characters 
  that have elements reaching far out of their nominal sizes, such as italic "f".

Revision 33345 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 13:55:52 2010 UTC (4 years, 8 months ago) by couet
File length: 74152 byte(s)
Diff to previous 33327
- More fixes. Some missing <CR> in case of multiple pages.

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: 74129 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: 74090 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: 74107 byte(s)
Diff to previous 33151
- Improvements for kerning (Oleksandr Grebenyuk <OGrebenyuk@lbl.gov>)

Revision 33151 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 23 08:33:47 2010 UTC (4 years, 9 months ago) by couet
File length: 73278 byte(s)
Diff to previous 32927
- Implemented text kerning.

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: 72045 byte(s)
Diff to previous 32522
- 3 new markers (32, 33, 34). 
  Now each marker has a filled and an hollow version.

Revision 32522 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 10 12:14:45 2010 UTC (4 years, 10 months ago) by couet
File length: 71925 byte(s)
Diff to previous 32451
- The Revision 31621 (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 32451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 4 10:33:48 2010 UTC (4 years, 10 months ago) by couet
File length: 71810 byte(s)
Diff to previous 32156
- Implement the symbol in Italic. Font number 15.

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: 71565 byte(s)
Diff to previous 31621
- From Oleksandr Grebenyuk:
  The marker size in the various output file format was not the same
  as on the screen.

Revision 31621 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 8 09:41:32 2009 UTC (5 years, 1 month ago) by couet
File length: 71127 byte(s)
Diff to previous 30336
- Initialize members.
  (found by coverity)

Revision 30336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Sep 21 16:05:06 2009 UTC (5 years, 4 months ago) by couet
File length: 70392 byte(s)
Diff to previous 28497
- The alignment (centered and right aligned) of rotated text was not correct

Revision 28497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri May 8 12:21:55 2009 UTC (5 years, 8 months ago) by couet
File length: 70142 byte(s)
Diff to previous 28344
- 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... 
  (Same patch was applied in TPostScript)

Revision 28344 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 24 08:30:22 2009 UTC (5 years, 9 months ago) by couet
File length: 70135 byte(s)
Diff to previous 27601
- Fix a long standing problem with landscape orientation.
  The PDF file are now recognize as "Landscape" by gv
  and they are not anymore upside down ("seascape").

Revision 27601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 25 08:27:03 2009 UTC (5 years, 10 months ago) by couet
File length: 69910 byte(s)
Diff to previous 25808
- A text with size 0 is not drawn. An invalid
  pdf file is created if a text with size 0
  is produced.

Revision 25808 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 14 14:14:17 2008 UTC (6 years, 3 months ago) by couet
File length: 69878 byte(s)
Diff to previous 24998
- Uses the fonts encoding WinAnsiEncoding. This allows to print any character 
  with accent etc.. like on the screen. An similar modification was done
  earlier for PostScript.

Revision 24998 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 31 12:09:34 2008 UTC (6 years, 5 months ago) by couet
File length: 69706 byte(s)
Diff to previous 24982
- The last change (using %f instead of %g to print real numbers)
  generated much bigger PDF files. This was very visible with
  stressGraphics. Now the format %f is used only when %g generates
  real with exponents (which is quite seldom).

Revision 24982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 30 09:51:38 2008 UTC (6 years, 5 months ago) by couet
File length: 69607 byte(s)
Diff to previous 23821
- New method TPDF::WriteReal(Float_t z) which redfines TVirtualPS::WriteReal. 
  Some PDF reader like Acrobat do not work when a PDF file contain reals 
  with exponent. This method writes the real number using the format "%f" 
  instead of the format "%g" as TVirtualPS::WriteReal does.

Revision 23821 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 13 12:43:56 2008 UTC (6 years, 8 months ago) by couet
File length: 69113 byte(s)
Diff to previous 23140
- Put the same protection as in TPostScript in case of very long file name.

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: 69086 byte(s)
Diff to previous 22405
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 22405 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 29 13:25:23 2008 UTC (6 years, 10 months ago) by couet
Original Path: trunk/postscript/src/TPDF.cxx
File length: 69086 byte(s)
Diff to previous 20882
- Text rotated at 270 degrees was not correct. The rotation contained very
  small values close to 0 instead of 0. Acrobat reader produced a wrong 
  output and also printed result was wrong. "gv" worked.

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/TPDF.cxx
File length: 68943 byte(s)
Diff to previous 19826
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 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/TPDF.cxx
File length: 68943 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/TPDF.cxx
File length: 68943 byte(s)
Diff to previous 17073
remove :$ from tag line

Revision 17073 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 6 17:06:10 2006 UTC (8 years, 1 month ago) by couet
Original Path: trunk/postscript/src/TPDF.cxx
File length: 68953 byte(s)
Diff to previous 15636
- Text is clipped using the W operator.

Revision 15636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 30 08:40:14 2006 UTC (8 years, 6 months ago) by couet
Original Path: trunk/postscript/src/TPDF.cxx
File length: 68650 byte(s)
Diff to previous 15525
- Complete the previous patch: Between PS and PDF there is a scale factor
  of 4. So gStyle->GetLineScalePS() must be divided by 4 when passed to
  SetLineScale().

Revision 15525 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 23 14:01:36 2006 UTC (8 years, 7 months ago) by couet
Original Path: trunk/postscript/src/TPDF.cxx
File length: 68647 byte(s)
Diff to previous 15150
- Take into account gStyle->GetLineScalePS()

Revision 15150 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 23 13:45:00 2006 UTC (8 years, 8 months ago) by couet
Original Path: trunk/postscript/src/TPDF.cxx
File length: 68593 byte(s)
Diff to previous 14336
- New way to handle the text fonts allowing to include directly the ROOT
  PDF files into LaTex documents (compiled with pdftex).

Revision 14336 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Mar 20 21:43:44 2006 UTC (8 years, 10 months ago) by pcanal
Original Path: trunk/postscript/src/TPDF.cxx
File length: 68449 byte(s)
Diff to previous 13184
Reduce direct dependencies on TClass.h, TROOT.h and TStreamerInfo.h.
Warning:  This means that some file that relied on the indirect
inclusion of these header file might now fail to compile with
an error message mention that gROOT is no known or that TClass,
TROOT or TStreamerInfo is incompletely defined.  Simply add the
proper include directive.

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/TPDF.cxx
File length: 68406 byte(s)
Diff to previous 12962
- Rules checker's mods

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/TPDF.cxx
File length: 68305 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/TPDF.cxx
File length: 68397 byte(s)
Diff to previous 12420
Changes to make the rulechecker happy in directory postscript.

Revision 12420 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 29 16:32:31 2005 UTC (9 years, 5 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 68214 byte(s)
Diff to previous 12246
From Olivier:
- CMYK color model also avaibale in PDF files.

Revision 12246 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 5 12:13:57 2005 UTC (9 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 66627 byte(s)
Diff to previous 11812
From Olivier:
- Patterns number 1 to 25 are now available in PDF

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/TPDF.cxx
File length: 44374 byte(s)
Diff to previous 11676
Optimize size of markers in case of very small pads

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/TPDF.cxx
File length: 44306 byte(s)
Diff to previous 10160
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 10160 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 23 10:08:21 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 44155 byte(s)
Diff to previous 10146
From Olivier:
Fix a text alignment problem in pdf files

Revision 10146 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 22 16:34:16 2004 UTC (10 years, 4 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 44109 byte(s)
Diff to previous 9582
From Olivier:
- The CropBox is now defined. It defines the region containing the
  picture. This is used by external programs such as LaTeX to include
  precisely PDF files in documents.

Revision 9582 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 23 16:17:32 2004 UTC (10 years, 6 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 43573 byte(s)
Diff to previous 8982
From Olivier:
In some cases the R, G, B components of a color may be very small. In that
case WriteReal() produces a number in exponent notation which is not
accepted by the setcolor PDF operator. Now, if the one of the color's
component is less than 0.000001, it is set to 0.

Revision 8982 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 19 14:38:32 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 43498 byte(s)
Diff to previous 8781
From Olivier:
- Landscape orientation in PDF files is now supported

Revision 8781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 16:25:13 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 43378 byte(s)
Diff to previous 8780
Fix a compilation error when calling GetTextExtent

Revision 8780 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 16:12:06 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 43385 byte(s)
Diff to previous 8763
From Olivier:
Improvements in TPDF::Text:
  - Text alignment is now correctly handled
  - \n characters are filtered (multi-lines text like in latex3.C was not
    correct)

Revision 8763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 15:01:24 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 42337 byte(s)
Diff to previous 8762
In TPDF::Open open the file with the "binary" option only on R__WIN32

Revision 8762 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 3 14:51:17 2004 UTC (10 years, 8 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 42262 byte(s)
Diff to previous 8583
From Olivier:
- On Windows the compressed parts of a PDF file were corrupted by CTRL-M.
  To avoid this problem the PDF file is now open in binary mode. This
  works also on Linux (no #ifdef required).

Revision 8583 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 15 09:14:54 2004 UTC (10 years, 9 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 42219 byte(s)
Diff to previous 8419
Remove unused variables kMaxBuffer, xup, yup

Revision 8419 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 17 17:47:53 2004 UTC (10 years, 10 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 42345 byte(s)
Diff to previous 8418
In TPDF::WriteCompressedBuffer, replace the illegal declaration
   char out[2*fLenBuffer];
by
   char *out = new char[2*fLenBuffer];

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/TPDF.cxx
File length: 42316 byte(s)
Diff to previous 8263
From Olivier:
- PDF driver now support zlib compression
- Many improvements in the PDF driver

Revision 8263 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 15:47:46 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 36610 byte(s)
Diff to previous 8262
Clean CRTL/M characters

Revision 8262 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 19 15:39:18 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 37924 byte(s)
Diff to previous 8199
From Olivier:
- Markers are now implemented.
 - Use double instead of int to draw the basic primitives (it is more
   precise)
 - Initialize fNByte and fStream to 0 in TVirtualPS constructor.

Revision 8199 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Feb 13 17:04:35 2004 UTC (10 years, 11 months ago) by brun
Original Path: trunk/postscript/src/TPDF.cxx
File length: 30207 byte(s)
From Olivier;
First version of the PDF driver. All the basics are there except the
markers and the fill patterns.

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