Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42681 - Freetype 2.1.5 causes gd ttf support in mod_php4 to become inoperative
Summary: Freetype 2.1.5 causes gd ttf support in mod_php4 to become inoperative
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 18:10 UTC by Charles J. Cliffe
Modified: 2005-01-07 08:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charles J. Cliffe 2004-02-23 18:10:07 UTC
I recently updated our production server and all of our php font-based image generating functions stopped producing output, no errors just the ttf support in php wouldn't draw anything.  Unmerging 2.1.5 and unpacking the latest 2.1.7 release from source on the freetype site and building and installing it fixed the problem.

Reproducible: Always
Steps to Reproduce:
1.install apache2
2.install mod_php4 with gd and freetype support and gd native ttf
3.try to use ttf support in php

Actual Results:  
font functions in php no longer produced any output

Expected Results:  
produced output :)

no errors, just need to make sure this gets updated to 2.1.7 quick before some 
people who depend on ttf support start pulling their hair out :)
Comment 1 foser (RETIRED) gentoo-dev 2004-02-24 02:05:38 UTC
2.1.7 is no quick solution here, since a lot of things won't build with it.

Can anyone besides the reporter test & confirm this ? Maybe it's an ABI problem ?
Comment 2 Gerry 2004-03-13 16:22:52 UTC
Freetype 2.1.5 breaks paragui font loading as well (ie blank renders).  sdl-ttf seems to work fine.
Comment 3 foser (RETIRED) gentoo-dev 2004-08-08 02:59:25 UTC
but sdl-ttf uses freetype, so.. that means its unlikely that it is ft that is the culprit.

Is there anyone who can reproduce this ?
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-08-08 16:46:33 UTC
Charles: would you mind posting a PHP testcase for us, as well as your USE flags (the full 'emerge info' output would be better).
Comment 5 Benoit Boissinot 2005-01-07 08:51:43 UTC
freetype-2.1.9 is now stable, maybe this can be closed.

regards,

Benoit
Comment 6 Charles J. Cliffe 2005-01-07 08:58:22 UTC
problem disappeared with more recent versions