Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2004 21:43:11 -0500
From:      Jeremy Messenger <mezz7@cox.net>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: graphics/gpdf (0.131) halts with one pdf file..
Message-ID:  <opr6msh9g08ckrg5@smtp.central.cox.net>
In-Reply-To: <opr5rbp5rt8ckrg5@smtp.central.cox.net>
References:  <opr5q3yuqz8ckrg5@smtp.central.cox.net> <1080779017.60405.6.camel@shumai.marcuscom.com> <opr5q48srx8ckrg5@smtp.central.cox.net> <opr5rbp5rt8ckrg5@smtp.central.cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
------------a6lj9h1S011hoII9E90sdm
Content-Type: text/plain; format=flowed; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

On Wed, 31 Mar 2004 20:55:07 -0600, Jeremy Messenger <mezz7@cox.net> wrote:

> On Wed, 31 Mar 2004 18:35:06 -0600, Jeremy Messenger <mezz7@cox.net> 
> wrote:
>
>> On Wed, 31 Mar 2004 19:23:38 -0500, Joe Marcus Clarke 
>> <marcus@marcuscom.com> wrote:
>
> <snip>
>
>>> It doesn't seem to be a problem with gpdf-0.131, though.  gpdf-0.112.1
>>> also has the problem.  It's definitely something I'd report to 
>>> Bugzilla,
>>
>> Ok, will do and put number in here.
>
> Here: http://bugzilla.gnome.org/show_bug.cgi?id=138704

It was print/freetype2 bug as they have pointed out in the bugzilla above. 
It solved my problem, so here's an attach of freetype.diff (patch took 
 from FreeType CVS) to fix this problem.

http://bugzilla.gnome.org/show_bug.cgi?id=129400
http://cvs.freetype.org/cgi-bin/viewcvs.cgi/freetype2/src/type1/t1load.c.diff?r1=text&tr1=1.88&r2=text&tr2=1.89&diff_format=h

Cheers,
Mezz

> Cheers,
> Mezz
>
>> Cheers,
>> Mezz
>>
>>> Joe


-- 
bsdforums.org 's moderator, mezz.
------------a6lj9h1S011hoII9E90sdm
Content-Disposition: attachment; filename=freetype2.diff
Content-Type: text/plain; name=freetype2.diff
Content-Transfer-Encoding: 8bit

diff -urN freetype2.orig/Makefile freetype2/Makefile
--- freetype2.orig/Makefile	Fri Mar 19 03:15:06 2004
+++ freetype2/Makefile	Sat Apr 17 21:39:34 2004
@@ -7,7 +7,7 @@
 
 PORTNAME=	freetype2
 PORTVERSION=	2.1.7
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	print
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:S,%SUBDIR%,freetype,} \
 		http://sunsite.cnlab-switch.ch/ftp/mirror/freetype/%SUBDIR%/ \
diff -urN freetype2.orig/files/patch-src::type1::t1load.c freetype2/files/patch-src::type1::t1load.c
--- freetype2.orig/files/patch-src::type1::t1load.c	Wed Dec 31 18:00:00 1969
+++ freetype2/files/patch-src::type1::t1load.c	Sat Apr 17 21:35:10 2004
@@ -0,0 +1,14 @@
+--- src/type1/t1load.c.orig	Sat Apr 17 21:32:53 2004
++++ src/type1/t1load.c	Sat Apr 17 21:34:43 2004
+@@ -1527,6 +1527,11 @@
+         parser->root.cursor = cur2;
+       }
+ 
++      /* look for `eexec' */
++      else if ( *cur == 'e' && cur + 5 < limit &&
++                ft_strncmp( (char*)cur, "eexec", 5 ) == 0 )
++        break;
++
+       /* look for `closefile' which ends the eexec section */
+       else if ( *cur == 'c' && cur + 9 < limit &&
+                 ft_strncmp( (char*)cur, "closefile", 9 ) == 0 )

------------a6lj9h1S011hoII9E90sdm--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opr6msh9g08ckrg5>