You are not logged in.

#1 2004-06-20 10:58:12

Kalidor
Member
Registered: 2004-06-18
Posts: 80

T1LIB and XPDF

XPDF needs T1LIB in order to display some documents properly. I wrote the following PKBUILD for T1LIB:

pkgname=t1lib
pkgver=5.0.2
pkgrel=1
url="http://www.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html"
pkgdesc="Library for generating character- and string-glyphs from Adobe Type 1 fonts"
license="GPL"
source=(http://www.ibiblio.org/pub/Linux/libs/graphics/t1lib-5.0.2.tar.gz)
md5sums=(cc5d4130b25bb8a1c930488b78930e9b)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=$startdir/pkg/usr
  make || return 1
  make install
}

The resulting package is in ftp.archlinux.org/incoming.

To enable T1LIB support I added these lines to the existing PKBUILD for XPDF (version 3.00-2):

.
.
--with-t1-library=/usr/lib   
--with-t1-includes=/usr/include  
.
.

(Should I upload this package too?)

Now all documents are displayed properly. 8)

By the way, does anybody know what the message
Warning: XtRemoveGrab asked to remove a widget not on the list
means? All self-compiled versions of XPDF (with and without T1LIB) show these messages whereas the binary from www.foolabs.com/xpdf/ does not.


Greetings
Kalidor

Offline

#2 2004-06-20 17:42:45

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: T1LIB and XPDF

rather than posting the pkg to incoming it would probably be easier to  file a bug/feature request and point to this thread in the report.


AKA uknowme

I am not your friend

Offline

#3 2004-06-20 18:35:15

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Re: T1LIB and XPDF

sarah31 wrote:

rather than posting the pkg to incoming it would probably be easier to  file a bug/feature request and point to this thread in the report.

I just added it as a feature request.

Offline

#4 2004-06-20 21:12:54

neri
Forum Fellow
From: Victoria, Canada
Registered: 2003-05-04
Posts: 553

Re: T1LIB and XPDF

Kalidor wrote:

By the way, does anybody know what the message
Warning: XtRemoveGrab asked to remove a widget not on the list
means? All self-compiled versions of XPDF (with and without T1LIB) show these messages whereas the binary from www.foolabs.com/xpdf/ does not.

Greetings
Kalidor

Hi Kalidor,

got your feature and will start digging into it. Also some people requested
i18n for multibyte support and stuff, so I will do all that together.

Concerning your question, I dunno exactly but it might have to do with the
lesstiff lib which xfree is compiled against. Are these builts fro foolabs built
against motif or statically? maybe it's an issue. I try a bit googleing but
won't spent too much time as long as it isn't critical.

bye neri

Offline

#5 2004-06-21 09:19:21

Kalidor
Member
Registered: 2004-06-18
Posts: 80

Re: T1LIB and XPDF

Hello neri,

the binaries from foolabs are statically linked to Motif, t1lib and Freetype2 (and very large hence). Despite the warning messages I've not yet encountered any problems.

bye
Kalidor

Offline

Board footer

Powered by FluxBB