[gl2ps] Re: an update

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Sat Nov 8 07:49:27 CET 2003


>>>>> "CG" == Christophe Geuzaine <geuzaine at acm.caltech.edu> writes:

    CG> Micha Bieber wrote:
    >>> From the PDF spec:
[snip]
    >> After inspecting ghostscript and pdftex sources regarding font
    >> selection rules and substitution I came to the conclusion to
    >> limit the use to the fonts above. Any application should be
    >> able to use this sort of files. Everything more is higher magic
    >> and IMO beyond the scope of gl2ps

    CG> I completely agree.

OK, that is fine by me too.  I plan on doing something like this for
the vtkGL2PSExporter.

if (gl2ps != NULL) {
   if (gl2ps->format == GL2PS_PDF) {
      // replace Arial with Helvetica
      // handle fonts to use standard ones only.
   }
   else {
      // do existing stuff since that works for other formats.
   }
}

I also tested the fonts that Micha was suggesting and they all work
great!  Let me know if you see anything wrong in the above.

Thanks Micha and Christophe for the tips!

cheers,
prabhu