* This fixes the problem where fig2dev uses the "transparentimage" code

for JPEG images, which is only supposed to be used for GIF.

 * I get this patch from the author of transfig after reporting some
   problems with jpeg embedded into PS files generated with xfig.
This commit is contained in:
Lars Koeller 2002-02-20 19:20:01 +00:00
parent 9ed2aa0e7c
commit a74f3d228b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54997

View file

@ -0,0 +1,12 @@
*** fig2dev/dev/readjpg.c.orig Tue Dec 21 09:52:00 1999
--- fig2dev/dev/readjpg.c Tue Jun 19 08:53:20 2001
***************
*** 39,44 ****
--- 39,45 ----
{
*llx = *lly = 0;
+ pic->transp = -1;
pict = pic; /* for global access to the object */
if (!read_JPEG_file(file))
return 0;