[gl2ps] Bug: Text strings in PDF output are not rotated.
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Fri Oct 16 20:55:54 CEST 2009
ion vasilief wrote:
> Hello,
>
>>> I have tested the last release of gl2ps (1.3.4) and I have discovered that rotated texts can be exported correctly to all formats except PDF.
>>> Is there a way to fix this issue?
>
>> It should be possible... If you send a patch I'll be happy to merge it.
>
> Please find attached a patch for this issue (I've also attached the modified gl2ps.c file).
>
Hi Ion - thanks for the patch--I merged a slightly modified version.
> Apart from the non rotated texts, there's another issue with the export to PDF: the text alignment flag is not used, therefore the output text is not positioned correctly.
> Do you think it should be possible to fix this?
>
> I have tried to find a solution, but the problem is that I have no idea about the correct PDF 1.4 format specification for aligning a text string (I couldn't find it in the specification file from Adobe).
Not sure either...
>
> With best regards,
> Ion Vasilief
>
>
>
>
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine