Hi, I'm using media-libs/pdflib-4.0.3-r1 ebuild with apache and PHP. Some fonts ressources for pdflib to work well were not installed, here is what I had to do : - emerge pdflib (lib get installed, but not the fonts ressources) - emerge pdflib, but hitting ctrl-c after unpack stage - cp -R /var/tmp/portage/pdflib-4.0.3-r1/work/pdflib-4.0.3/fonts/ /usr/share/pdflib/lib/ - editing /usr/share/pdflib/lib/pdflib.upr and setting directory prefix to //usr/share/pdflib/lib/fonts Then, in my PDF producing PHP scripts adding pdf_set_parameter($pdf, "resourcefile", "/usr/share/pdflib/lib/fonts/pdflib.upr"); After doing that everything works well : I'm able to produce PDF. I think you'll get the point. Email me for more information if needed. Reproducible: Always Steps to Reproduce: see details above Actual Results: see details above. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.23_pre8-gss) ================================================================= System uname: 2.4.23_pre8-gss i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" I put this bug "Major", because it prevents using PDFLib with the most popular web scripting language. PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql postgres gpm tcpd pam libwww ssl perl python qt opengl gd -gtk -kde -gnome -X java pdflib"
Hi there, An additional problem with pdflib is that it tries to install a *wrong* version, non existing in this moment, could anyone give it an eye plz? tx a lot in advance.
This is a bit off topic, but there are free and pure php way of building pdf document from php : http://www.ros.co.nz/pdf/ http://www.fpdf.org/
is this still an issue?
closing due to no feedback. Please reopen if you still experience this.