<div dir="ltr">Hi all,<div>I would like to submit the following patch that fixes text alignment and rotation for output to PDF.</div><div>We use this in the VTK version of gl2ps.</div><div><br></div><div>I had to add an extra gl2psTextOptColor function with parameters for the bottom left corner of the text bounding box.</div><div><br></div><div><br></div><div><div>GL2PSDLL_API GLint gl2psTextOptColorBL(</div><div>+  const char *str, const char *fontname,</div><div>+  GLshort fontsize, GLint alignment, GLfloat angle,</div><div>+  GL2PSrgba color, GLfloat blx, GLfloat bly);</div><div><br></div></div><div><br></div><div>Thanks,</div><div>Dan</div><div><br></div><div><br></div></div>