Skip to content

Commit

Permalink
Merge branch 'develop' into 'master'
Browse files Browse the repository at this point in the history
merge develop into master

See merge request Scientific-IT-Systems/gr!921
  • Loading branch information
jheinen committed Sep 26, 2022
2 parents ab157a8 + 4c401e1 commit 6e00675
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/gks/plugin/pgfplugin.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,14 +643,14 @@ static void text_routine(double x, double y, int nchars, char *chars)

pgf_printf(p->stream,
"\\begin{scope}[yscale=-1,yshift=-%f]\n"
"\\draw[mycolor, opacity=%f] (%f,%f) node[align=",
"\\draw[mycolor, opacity=%f] (%f,%f) node[anchor=",
(ystart * 2), p->transparency, xstart, ystart);
if (gkss->txal[0] == GKS_K_TEXT_HALIGN_RIGHT)
pgf_printf(p->stream, "right");
pgf_printf(p->stream, "south east");
else if (gkss->txal[0] == GKS_K_TEXT_HALIGN_LEFT)
pgf_printf(p->stream, "left");
pgf_printf(p->stream, "south west");
else
pgf_printf(p->stream, "center");
pgf_printf(p->stream, "south");

if (p->angle != 0) pgf_printf(p->stream, ", rotate=%f", p->angle);

Expand Down

0 comments on commit 6e00675

Please sign in to comment.