Hi,
you can display PS file with antialising=ON
in ROOT itself without gv -> just click on PS file in ROOT browser.
It will invoke the same method which used in gv, i.e.
running GhostScript program. TCanvas with PS file image will appear.
One can save this canvas in any other image format (no need for convert).
Regards. Valeriy
-----Исходное сообщение-----
От: owner-roottalk_at_root.cern.ch от имени Olivier Couet
Отправлено: Пн, 12/15/2008 6:29
Кому: Roger Mason
Копия: roottalk_at_lxbuild091.cern.ch
Тема: RE: [ROOT] saving a canvas as postscript or pdf
Hi Roger,
Details about the anti aliasing in GV are given here:
http://root.cern.ch/root/HowtoPS.html
(at the end)
Nothing is siad about th fact the lines look thicker. I will had some
thing in the coming new version of the HowTo's.
I agree that xpdf does not seems to have this option ... I will look.
Olivier
-----Original Message-----
From: Roger Mason [mailto:rmason_at_esd.mun.ca]
Sent: Monday, December 15, 2008 6:25 PM
To: Olivier Couet
Cc: roottalk_at_lxbuild091.cern.ch
Subject: Re: [ROOT] saving a canvas as postscript or pdf
Hi Olivier
Olivier Couet <couet_at_mail.cern.ch> writes:
> try to visualize your file using "gv" and press "a" in the gv window.
Ah! Thank-you.
I see now that command toggles anti-aliasing. For anyone else listening to this exchange gv can be started with antialiasing on or off like this:
gv [-]-[no]antialias <filename>
xpdf can enable or disable antialiasing for vector graphics like this:
xpdf -aaVector yes || no <filename>
I could not find any means to toggle antialiasing from within xpdf.
Thanks you very much Olivier.
Cheers,
Roger
Received on Mon Dec 15 2008 - 18:42:30 CET
This archive was generated by hypermail 2.2.0 : Mon Dec 15 2008 - 23:50:02 CET