Bug#637040: [php-maint] Bug#638755: Bug#638755: php5: remove t1lib dependency
We will be unable to drop t1lib unless we break the existing API (which we
could do, but users will be sad...)
On Tue, Jan 31, 2012 at 13:39, Pierre Joye <firstname.lastname@example.org> wrote:
> It is easy to emulate the function, not the rendering. Even in the
> various ft2 versions and options, the rendering can differ.
> I was planing to drop t1lib in php-next, but not 5.4 (too late and no
> BC break allowed, APIs wised), but that's something good for the next
> php major version.
On Mon, Aug 22, 2011 at 08:17, Raphael Geissert <email@example.com> wrote:
> tag 638755 - patch
> tag 638755 moreinfo
> 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
>> ,. 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:
> 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
> Raphael Geissert - Debian Developer
> www.debian.org - get.debian.net
> pkg-php-maint mailing list
Ondřej Surý <firstname.lastname@example.org>