Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 30900 - mod_php & freetype doesn't work correct with truetype fon's
Summary: mod_php & freetype doesn't work correct with truetype fon's
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on: 31794
Blocks:
  Show dependency tree
 
Reported: 2003-10-11 04:19 UTC by Eric Chang
Modified: 2003-10-24 01:28 UTC (History)
0 users

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 Eric Chang 2003-10-11 04:19:33 UTC
mod_php & freetype doesn't work correct with truetype fonts
I've found that's because php.eclass 
and I've made some modification below & works right!
--original--
    if runningunstable; then
        use truetype && myconf="${myconf} --with-freetype-dir=/usr"
    else
        myconf="${myconf} `use_with truetype ttf` `use_with truetype t1lib`"
    fi
---------
---my modify----
    if runningunstable; then
        use truetype && myconf="${myconf} --with-freetype-dir --with-ttf"
    else
        myconf="${myconf} `use_with truetype ttf` `use_with truetype t1lib`"
    fi
-----------
--original------------
    if [ -n "`use gd-external`" ] ; then
        myconf="${myconf} --with-gd=/usr"
        REQUIREPNG=1
    elif [ -n "`use gd`" ] ; then
        myconf="${myconf} --with-gd"
        myconf="${myconf} `use_enable truetype gd-native-ttf`"
        REQUIREPNG=1
        REQUIREJPG=1
    else
------------modify-------------
    if [ -n "`use gd-external`" ] ; then
        myconf="${myconf} --with-gd"
        REQUIREPNG=1
    elif [ -n "`use gd`" ] ; then
        myconf="${myconf} --with-gd"
        myconf="${myconf} `use_enable truetype gd-native-ttf`"
        REQUIREPNG=1
        REQUIREJPG=1
    else


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-24 01:28:44 UTC
this will be in CVS in a day or two (just waiting for sys-apps/findutils
changes from bug 31794 to be fully resolved as it's needed for the php.eclass
updates).