mirror of the now-defunct rocklinux.org
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.

42 lines
2.2 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/rene/transfig/multi-line-string-fix.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- transfig.3.2.4/fig2dev/dev/gensvg.c 2002-12-18 23:38:18.000000000 +0100
  20. +++ transfig.3.2.4-jsaw/fig2dev/dev/gensvg.c 2004-03-30 12:40:30.000000000 +0200
  21. @@ -692,16 +692,16 @@
  22. if (t->angle != 0) {
  23. fprintf (tfp, "<g transform=\"translate(%d,%d) rotate(%d)\" >\n",
  24. (int) (t->base_x * mag), (int) (t->base_y * mag), degrees (t->angle));
  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. + fprintf (tfp, "<text x=\"0\" y=\"0\" fill=\"#%6.6x\" font-family=\"%s\" "
  28. + "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
  29. rgbColorVal (t->color), family[(int) ceil ((t->font + 1) / 4)],
  30. (t->font % 2 == 0 ? "normal" : "italic"),
  31. (t->font % 4 < 2 ? "normal" : "bold"), (int) (ceil (t->size * 12 * mag)),
  32. anchor[t->type]);
  33. }
  34. else
  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. + fprintf (tfp, "<text x=\"%d\" y=\"%d\" fill=\"#%6.6x\" font-family=\"%s\" "
  38. + "font-style=\"%s\" font-weight=\"%s\" font-size=\"%d\" text-anchor=\"%s\" >\n",
  39. (int) (t->base_x * mag), (int) (t->base_y * mag), rgbColorVal (t->color),
  40. family[(int) ceil ((t->font + 1) / 4)],
  41. (t->font % 2 == 0 ? "normal" : "italic"),