ps_set_color(job, &(job->obj->pencolor));
gvdevice_printf(job, "%.2f /%s set_font\n", para->fontsize, para->fontname);
str = ps_string(para->str,isLatin1);
+ /* don't use para->yoffset because we don't need the baseline offset */
+ p.y += .1 * para->fontsize;
if (para->xshow) {
switch (para->just) {
case 'l':
gvdevice_fputs(job, " text-anchor=\"middle\"");
break;
}
+ /* don't use para->yoffset because we don't need the baseline offset */
+ p.y += .1 * para->fontsize;
gvdevice_printf(job, " x=\"%g\" y=\"%g\"", p.x, -p.y);
gvdevice_fputs(job, " style=\"");
pA = para->postscript_alias;
iter = pango_layout_get_iter (layout);
para->yoffset = pango_layout_iter_get_baseline (iter) * textlayout_scale
+.1 * para->fontsize; /* In labels.c y is already midline
- * 0.15 is the distance below midline for y centering */
+ * 0.1 is the distance below midline for y centering */
/* determine position of each character in the layout */
para->xshow = NULL;