Subject: Re: Problems with some PDFs after t1lib update
To: Leonard Schmidt <lems@gmx.net>
From: Antoine Reilles <Antoine.Reilles@loria.fr>
List: tech-pkg
Date: 08/08/2005 19:06:55
--Apple-Mail-4--815150157
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Hi,


On Aug 8, 2005, at 6:48 PM, Leonard Schmidt wrote:

> after updating fonts/t1lib to 5.1.0, I have problems viewing some PDFs
> with xpdf. For example, I see only the heading when doing a  
> `texi2pdf' on
> http://www.erlenstar.demon.co.uk/unix/rawfaq.texi, everything else is
> white.
>
I have a similar problem with some dvi files. The t1 fonts are not  
found.
Also, running xgliph leads to no result except "No fonts in  
database", even if T1LIB_CONFIG_DIR is set to /usr/pkg/share/t1lib as  
stated in MESSAGE

I have this problem under netbsd/i386 and mac os x too.

I had another issue with the t1lib update. It cannot compile under  
mac os x tiger. I had to add a patch-ag to the package to make it  
compile under tiger, but i'm not sure this is the correct fix for  
this problem.

Best regards,
antoine



--Apple-Mail-4--815150157
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name="t1lib.diff"
Content-Disposition: attachment;
	filename=t1lib.diff

Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/t1lib/distinfo,v
retrieving revision 1.10
diff -u -r1.10 distinfo
--- distinfo	4 Aug 2005 09:57:17 -0000	1.10
+++ distinfo	8 Aug 2005 15:55:44 -0000
@@ -9,3 +9,4 @@
 SHA1 (patch-ad) = 29c530f6d363de31777ad45823b55e72208c4ccb
 SHA1 (patch-ae) = 2e9e1e5d1a7f505f509cdcfa03c2e210e6b364dd
 SHA1 (patch-af) = e89df0d94e0748e468c7c3d40ce2fc0ccdb0116c
+SHA1 (patch-ag) = eaa13c6b68611561931ff7a5dba34ee3e6af3d25
--- /dev/null	2005-08-08 17:55:28.000000000 +0200
+++ patches/patch-ag	2005-08-08 17:33:59.000000000 +0200
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- lib/Makefile.in.orig	2005-08-08 17:31:34.000000000 +0200
++++ lib/Makefile.in	2005-08-08 17:33:34.000000000 +0200
+@@ -135,7 +135,7 @@
+ 
+ libt1x.la: $(T1LIBX_OBJS)
+ 	$(LIBTOOL) --mode=link \
+-		$(CC) -o $@ $(T1LIBX_OBJS) \
++		$(CC) -o $@ $(T1LIBX_OBJS) -lX11 -L.libs -lt1 \
+ 	         -version-info @T1LIB_LT_CURRENT@:@T1LIB_LT_REVISION@:@T1LIB_LT_AGE@ \
+ 		 -no-undefined -rpath $(libdir)
+ 	cp t1lib/t1libx.h .

--Apple-Mail-4--815150157
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed




--Apple-Mail-4--815150157--