[xcrysden] printed pdf with errors

Tone Kokalj tone.kokalj at ijs.si
Fri Jul 17 09:16:35 CEST 2020


On Thu, 2020-07-16 at 18:38 -0300, Mariano Forti wrote:
> Hi everyone ! thank you all for your time!
> 
> I am tryng to print pdf from isosurfaces in xcrysden (i.e. fermi 
> surfaces) and got some errors in the pdf rendering as shown in the 
> attached screenshot. Recently I discussed a similar issue in the
> gl2ps 
> library:
> 
> https://gitlab.onelab.info/gl2ps/gl2ps/-/issues/34
> 
> which the author solved and implemented in another package. I see
> that xcrysden includes de gl2ps.c source in the C directory, but I
> wasnt able to compile it into an xcrysden executable to get the fix.
> any help will be appreciated!

Simply copy new gl2ps.c and gl2ps.h files into C/ subdirectory and
recompile.

But do you really need to print isosurfaces in PDF? The corresponding
files will be huge. I suggest you maximize the plot on the screen, turn
on antialiasing, and print in PNG instead.

Best regards,
Tone
-- 
Jožef Stefan Institute, Ljubljana, Slovenia




More information about the XCrySDen mailing list