diff options
Diffstat (limited to 'print/transfig/patches/patch-ad')
-rw-r--r-- | print/transfig/patches/patch-ad | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/print/transfig/patches/patch-ad b/print/transfig/patches/patch-ad new file mode 100644 index 00000000000..37adf9fc146 --- /dev/null +++ b/print/transfig/patches/patch-ad @@ -0,0 +1,23 @@ +--- fig2dev/dev/gensvg.c.orig 2002-12-18 23:38:18.000000000 +0100 ++++ fig2dev/dev/gensvg.c 2003-09-24 15:50:52.000000000 +0200 +@@ -692,16 +692,16 @@ + if (t->angle != 0) { + fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n", + (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle)); +- 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", ++ 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", + rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)], + (t->font % 2 == 0 ? "normal" : "italic"), + (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)), + anchor[t->type]); + } + else +- 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", ++ 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", + (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color), + family[(int) ceil ((t->font + 1) / 4)], + (t->font % 2 == 0 ? "normal" : "italic"), |