[tex-k] libpoppler support in TeX Live source tree

Norbert Preining preining at logic.at
Mon May 4 19:00:19 CEST 2009

Hi Peter, hi all,

I cannot contribute much, but here it is

On Mo, 04 Mai 2009, Peter Breitenlohner wrote:
> I have compiled poopler-0.10.6 and found several warnings:

I see more or less the same. No idea if they are really harmful.

> You poppler guys certainly can do better. The problems (bugs?) above dampen
> my enthusiasm for poppler as 'system-xpdf'.

It is not "we", the poppler guys are others, we just use the stuff.

> (3) Which is the exact define you would need for the poppler version, at the
> same time indicating the use of poppler instead of xpdf?

I guess anything is fine that makes it possible to show that the binary
has been compiled with poppler and not xpdf.

If there is a define that can be checked for it is probably only a bit
of coding, I have:
-#define BANNER "This is LuaTeX, Version LUATEX-VERSION"
+#define BANNER "This is LuaTeX using libpoppler, Version LUATEX-VERSION"

-                    "Compiled with xpdf version %s\n",
+                    "Compiled with poppler version %s\n",

Here a poppler version number would be nice. I used pkg-config to get

> Do you need -DPDF_PARSER_ONLY in addition? and what else?

? Not that I have used it ever.

> What is the minimum poppler version you would need?

I would say we stay with the latest one, so 0.10. I have patches for all
poppler versions down to 0.4 or so, but they are getting messier and
messier the earlier a poppler version we try.

No, at least 0.10 I would say.

> I assume the flags as produced by pkg-config should suffice.

So I do.

> Once I have answers to all of the above, I'll implement the configure option
> 	--with-system-xpdf   use installed poppler headers and library
>                              instead of xpdf (requires pkg-config)
> and you can test which changes are needed in pdfTeX/luaTeX/XeTeX for 
> poppler.

When that is done I can contribute some patches for luatex/xetex/pdftex
so that it compiles again.

Again, thanks a lot and all the best


Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
HULL (adj.)
Descriptive of the smell of a weekend cottage.
			--- Douglas Adams, The Meaning of Liff

More information about the tex-k mailing list