[php-maint] Bug#638755: Bug#638755: php5: remove t1lib dependency

Raphael Geissert geissert at debian.org
Mon Aug 22 06:17:49 UTC 2011


tag 638755 - patch
tag 638755 moreinfo
thanks

Hi,

On Sunday 21 August 2011 11:01:44 Michael Gilbert wrote:
> package: php5
> version: 5.3.7-1
> severity: important
> tag: patch
> 
> t1lib is slated to be removed (in favor of freetype) before wheezy ships
> [0],[1]. This package is currently one of its reverse dependencies.
> 
> Attached is a patch that disables t1lib in the build process.

It disables t1lib along with some functions, so no, that's not a patch that 
we'd use.

For context, the following are the PHP functions that require t1lib:

imagepsloadfont
imagepsfreefont
imagepsencodefont
imagepsextendfont
imagepsslantfont
imagepstext
imagepsbbox

I'm not sure what it would take to make those functions compatibility wrappers 
around ft2-based functions. 

@Pierre: as upstream maintainer, what's your opinion on making this change 
upstream? (possibly for 5.4?)
The primary reason for this change is stated at http://bugs.debian.org/637040

At least the phpdoc needs to be more explicit that the imageft* functions also 
support Type 1 fonts.

As far as I can see some basic features could already be implemented, but I 
don't know how imagepstext()'s anti-aliasing, font slanting, text tightness, 
and space differ from ft2-equivalents, if any, or how to provide them in the 
wrappers.

Cheers,
-- 
Raphael Geissert - Debian Developer
www.debian.org - get.debian.net





More information about the pkg-php-maint mailing list