1--- fig2dev/dev/gensvg.c.orig Wed Jul 23 16:39:14 2003
2+++ fig2dev/dev/gensvg.c Wed Jul 23 16:39:52 2003
3@@ -692,16 +692,14 @@
4 if (t->angle != 0) {
5 fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
6 (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
7- fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
8- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
9+ fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
10 rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
11 (t->font % 2 == 0 ? "normal" : "italic"),
12 (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
13 anchor[t->type]);
14 }
15 else
16- fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
17- font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
18+ fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
19 (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
20 family[(int) ceil ((t->font + 1) / 4)],
21 (t->font % 2 == 0 ? "normal" : "italic"),