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 <pierre....@gmail.com> wrote: > hi, > > 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 <geiss...@debian.org> wrote: > 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 > > > > _______________________________________________ > pkg-php-maint mailing list > pkg-php-ma...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint -- Ondřej Surý <ond...@sury.org> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org