<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 28, 2017 at 3:14 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be" target="_blank">cgeuzaine@ulg.ac.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi Dan,<br>
<br>
Seems interesting; do you use this when rotating text that is not aligned with GL2PS_TEXT_BL?<br></blockquote><div><br></div><div>Yes, that's right. Both for rotation and for alignment without rotation.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I've invited you to the GL2PS gitlab so that you can submit merge request directly.<br></blockquote><div><br></div><div>Great, Thanks. I will submit the merge request that way.</div><div><br></div><div>Dan</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Christophe<br>
<div><div class="gmail-m_-9083032248578584717h5"><br>
> On 27 Jul 2017, at 22:10, Dan Lipsa <<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.com</a>> wrote:<br>
><br>
> Hi all,<br>
> I would like to submit the following patch that fixes text alignment and rotation for output to PDF.<br>
> We use this in the VTK version of gl2ps.<br>
><br>
> I had to add an extra gl2psTextOptColor function with parameters for the bottom left corner of the text bounding box.<br>
><br>
><br>
> GL2PSDLL_API GLint gl2psTextOptColorBL(<br>
> +  const char *str, const char *fontname,<br>
> +  GLshort fontsize, GLint alignment, GLfloat angle,<br>
> +  GL2PSrgba color, GLfloat blx, GLfloat bly);<br>
><br>
><br>
> Thanks,<br>
> Dan<br>
><br>
><br>
</div></div>> <gl2ps.patch>_________________<wbr>______________________________<br>
> gl2ps mailing list<br>
> <a href="mailto:gl2ps@geuz.org" target="_blank">gl2ps@geuz.org</a><br>
> <a href="http://www.geuz.org/mailman/listinfo/gl2ps" rel="noreferrer" target="_blank">http://www.geuz.org/mailman/li<wbr>stinfo/gl2ps</a><br>
<span class="gmail-m_-9083032248578584717HOEnZb"><font color="#888888"><br>
--<br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer" target="_blank">http://www.montefiore.ulg.ac.b<wbr>e/~geuzaine</a><br>
<br>
Free software: <a href="http://gmsh.info" rel="noreferrer" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" rel="noreferrer" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" rel="noreferrer" target="_blank">http://onelab.info</a><br>
<br>
</font></span></blockquote></div><br></div></div>