no useflag or detection of clibpdf is made during the ebuild install. Reproducible: Always Steps to Reproduce: 1. emerge clibpdf, emerge mod_php-4.3.10 Actual Results: no clibpdf support in php Expected Results: php with clibpdf support.
Please also add the patch from "http://mpex.net/software/mirror/cpdf_patch" to the lib, which brings the function cpdf_textbox from the lib to php. Here is the description of the patch : Then recompile php with cpdf support and use the new function. It has to be called in between the cpdf_begin_text and cpdf_end_text tags cpdf_textbox(int pdfdoc, double x-koor, double y-koor, double width, double height, double angle, double linespace, string text [, int alignmode [, float paragraphspacing [, int newlinemode]]]); Notes: Alignmode aligns the text within the box: 0 -- left (default) 1 -- center 2 -- right 3 -- justify Newline mode: if non-zero, NL ("\n") is a line break, if 0 reformatted (default 0)
Actually we have no plans to support clibpdf on Gentoo's PHP for now. PHP 5.1 will drop support for clibpdf also, so we neither have plans to include it in the PHP overlay (link: http://svn.gnqs.org/projects/gentoo-php-overlay/ ), please use pdflib as alternative, in the overlay pdflib works flawlessy. clibpdf will maybe be added sometimes in the future as a PECL package, since upstream recently moved it to PECL and it should be made available there soon.
Feel free to reopen when a PECL package is available for this.