Your message dated Sat, 5 Aug 2006 14:51:32 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #258375,
regarding transfig: Export to HTML image map: replace gif with png
to be marked as having been forwarded to the upstream software
author(s) "Brian V. Smith" <[EMAIL PROTECTED]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Hi Brian!

"fig2dev -L map" currently links to a GIF image.  This doesn't seem to
be state of art since PNG should be supported by all browsers
nowadays.

The attached patch changes this to PNG including the documentation.

Ciao

        Roland
#! /bin/sh /usr/share/dpatch/dpatch-run
## 12_PNG_imagemap.dpatch by Eugen Dedu <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Use PNG instead of GIF in HTML image maps.

@DPATCH@
diff -urNad transfig~/doc/fig2dev.1 transfig/doc/fig2dev.1
--- transfig~/doc/fig2dev.1
+++ transfig/doc/fig2dev.1
@@ -473,7 +473,7 @@
 that have href="some_html_reference" in their comments.
 Any Fig object except compound objects may used for this.
 Usually, besides generating the map file, you would also
-generate a GIF file, which is the image to which the map refers.
+generate a PNG file, which is the image to which the map refers.
 .sp
 For example, you may have an xfig drawing with an
 imported image that has the comment
diff -urNad transfig~/fig2dev/dev/genmap.c transfig/fig2dev/dev/genmap.c
--- transfig~/fig2dev/dev/genmap.c
+++ transfig/fig2dev/dev/genmap.c
@@ -172,7 +172,7 @@
   fprintf(tfp, "<P>You can copy the following lines into your HTML 
document.\n");
   fprintf(tfp, "You may need to edit the name of the image file in the first 
line.</P>\n");
   fprintf(tfp, "\n");
-  fprintf(tfp, "<IMG SRC=\"%s.gif\" USEMAP=\"#%s\">\n", basename, basename);
+  fprintf(tfp, "<IMG SRC=\"%s.png\" USEMAP=\"#%s\">\n", basename, basename);
   fprintf(tfp, "<MAP NAME=\"%s\">\n", basename);
 
   ref = is_link(objects->comments);

--- End Message ---

Reply via email to