aboutsummaryrefslogtreecommitdiffstats
path: root/print/transfig
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-07-23 23:37:54 +0800
committerdes <des@FreeBSD.org>2003-07-23 23:37:54 +0800
commit40e349d05f68fff96700c774499a7a0aded82053 (patch)
tree20e5305c86860ffae1ff514aa509dfc324dea7f2 /print/transfig
parent43589c36a3c778a55bff17c6a25d182f68f5ac7e (diff)
downloadfreebsd-ports-gnome-40e349d05f68fff96700c774499a7a0aded82053.tar.gz
freebsd-ports-gnome-40e349d05f68fff96700c774499a7a0aded82053.tar.zst
freebsd-ports-gnome-40e349d05f68fff96700c774499a7a0aded82053.zip
Unsplit multi-line string literals.
Diffstat (limited to 'print/transfig')
-rw-r--r--print/transfig/files/patch-fig2dev_dev_gensvg.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/print/transfig/files/patch-fig2dev_dev_gensvg.c b/print/transfig/files/patch-fig2dev_dev_gensvg.c
new file mode 100644
index 000000000000..5bd05c97be8e
--- /dev/null
+++ b/print/transfig/files/patch-fig2dev_dev_gensvg.c
@@ -0,0 +1,21 @@
+--- fig2dev/dev/gensvg.c.orig Wed Jul 23 16:39:14 2003
++++ fig2dev/dev/gensvg.c Wed Jul 23 16:39:52 2003
+@@ -692,16 +692,14 @@
+ 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"),