OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
2.1 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../transfig/multi-line-string-fix.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2004 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- transfig.3.2.4/fig2dev/dev/gensvg.c 2002-12-18 23:38:18.000000000 +0100
  18. +++ transfig.3.2.4-jsaw/fig2dev/dev/gensvg.c 2004-03-30 12:40:30.000000000 +0200
  19. @@ -692,16 +692,16 @@
  20. if (t->angle != 0) {
  21. fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
  22. (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
  23. - fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\"
  24. - font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
  25. + fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\" "
  26. + "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
  27. rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
  28. (t->font % 2 == 0 ? "normal" : "italic"),
  29. (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
  30. anchor[t->type]);
  31. }
  32. else
  33. - fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\"
  34. - font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
  35. + fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" "
  36. + "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
  37. (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
  38. family[(int) ceil ((t->font + 1) / 4)],
  39. (t->font % 2 == 0 ? "normal" : "italic"),