| Summary: | mod_php & freetype doesn't work correct with truetype fon's | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Eric Chang <scrazy> |
| Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 31794 | ||
| Bug Blocks: | |||
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.