head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.20 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.18 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.16 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.14 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.12 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.10 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.8 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.6 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.4 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.2 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.5.0.10 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.8 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.6 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.4 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.2 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.4.0.10 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.8 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.6 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.4 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.2 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.2.0.10 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.8 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2; locks; strict; comment @# @; 1.6 date 2008.02.11.18.53.39; author bjs; state dead; branches; next 1.5; 1.5 date 2006.11.06.11.25.24; author joerg; state Exp; branches; next 1.4; 1.4 date 2005.08.19.15.51.48; author drochner; state dead; branches; next 1.3; 1.3 date 2005.08.04.09.57.17; author adam; state Exp; branches; next 1.2; 1.2 date 2004.06.19.14.38.56; author markd; state Exp; branches; next 1.1; 1.1 date 2004.04.19.04.14.35; author simonb; state Exp; branches; next ; desc @@ 1.6 log @ Update to version 5.1.2. Patches removed above are no longer needed, as they appear to have been incorporated upstream. Additionally, the following changes apply: December 2006: t1lib-5.1.1: --------------------------- - DESTDIR support was missing and has been addded in install-target i for type1afm. - A bug fix in Anti-Aliasing subsampling code, which could make t1lib crash under certain conditions. - Small number of further fixes, in particular with respect to the build mechanism. December 2007: t1lib-5.1.2: --------------------------- - Small number of fixes reported by users. The fixes pertain to a vulnerability issue, memory access issues. - More decent handling if Encoding and / or FontBBox specification are missing (which is invalid with respect to the specification, but recoverable). @ text @$NetBSD: patch-ab,v 1.5 2006/11/06 11:25:24 joerg Exp $ --- type1afm/Makefile.in.orig 2006-11-04 01:08:30.000000000 +0000 +++ type1afm/Makefile.in @@@@ -89,7 +89,7 @@@@ clean: dummy install: dummy $(MKINSTALLDIRS) $(DESTDIR)$(bindir) $(LIBTOOL) --mode=install \ - $(INSTALL_PROGRAM) type1afm $(bindir)/type1afm + $(INSTALL_PROGRAM) type1afm $(DESTDIR)$(bindir)/type1afm uninstall: dummy @ 1.5 log @DESTDIR support and switch to modular buildlinks. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @this was completely broken due to some leftover patches bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2005/08/04 09:57:17 adam Exp $ d3 8 a10 19 --- lib/t1lib/t1base.c.orig 2005-05-18 03:08:01.000000000 +0000 +++ lib/t1lib/t1base.c @@@@ -286,12 +286,7 @@@@ void *T1_InitLib( int log) T1LOG_WARNING); } - /* Initialize builtin Standard Encoding */ - if ( !(Init_BuiltInEncoding()) ) { - T1_PrintLog( "T1_InitLib()", "Unable initialize internal StandardEncoding!", - T1LOG_ERROR); - } - + /* Set the default encoding to the fonts' internal encoding */ pFontBase->default_enc=NULL; @@@@ -655,12 +650,6 @@@@ int T1_CloseLib( void) else error=1; a11 8 - /* Get rid of internal StandardEncoding vector */ - if ( StdEncArrayP != NULL ) { - free( StdEncArrayP); - StdEncArrayP = NULL; - } - /* Free search paths */ intT1_FreeSearchPaths(); d13 1 @ 1.3 log @Changes t1lib-5.1.0: - Check against MultipleMasterFonts somewhat more tolerant, so that Type 1 Fonts automatically created from Multiple Master Fonts (e.g. using Mmpfb) should now be acceptable. - The configure-machinery had been somewhat out of date and has been updated. The distributed configure script has been generated by AutoConf 2.59 and the redistributed libtool parts are taken from GNU libtool 1.5.10. - Top-Level TeX-file in the doc subdirectory adapted to recent TeX systems' requirements. - Added IsoLatin9.enc to distribution. - Subsetting extended so that it works for SEAC-constructed composites even if no AFM composite character information is available - Somewhat more intelligent defaults for subsetting when composite characters are included in the subset. - Reallocation had been broken by relocation of internal StandardEncoding vector. This problem turned out on systems where realloc() actually returned a different pointer. - Fix for outline code on 64bit systems. This involves a redefinition of the T1_PATHPOINT struct. This should be uncritical because for 32bit systems there is no difference, whereas on 64bit systems, this has never worked correctly before. - DESTDIR support in Makefile.in by Volker Zell - Support for XLFD font database format (in which the fonts' names appear in the first place on a line). - Further Bug Fixes @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Revert part of 5.0.1 -> 5.0.2 that was leading to core dumps in xpdf and xdvi. Fixes PR 25457. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2004/04/19 04:14:35 simonb Exp $ d3 3 a5 4 diff -ur t1lib-5.0.2/lib/t1lib/t1base.c t1lib-5.0.1/lib/t1lib/t1base.c --- t1lib-5.0.2/lib/t1lib/t1base.c 2004-03-06 14:58:04.000000000 +1300 +++ lib/t1lib/t1base.c 2004-02-02 14:16:16.000000000 +1300 @@@@ -281,12 +276,7 @@@@ d19 1 a19 1 @@@@ -507,12 +497,6 @@@@ @ 1.1 log @Add a hack so that T1_InitLib() doesn't run more than once. Don't know if this is correct or not, but at least now xpdf works again. @ text @d1 1 a1 1 $NetBSD$ d3 12 a14 6 --- lib/t1lib/t1base.c.orig Sat Mar 6 12:58:04 2004 +++ lib/t1lib/t1base.c @@@@ -138,7 +138,11 @@@@ void *T1_InitLib( int log) char *logfilepath=NULL; char *envlogreq=NULL; int usrforcelog=0; a15 1 + static int initdone; d17 2 a18 4 + if (initdone) + return (pFontBase); + initdone++; d20 13 a32 1 /* Reset T1_errno */ @