Re: How do I underline a string using php and fonts?
| From: | Jason Wong | Date: | Thu, 23 Dec 2004 16:09:25 +0000 |
| Subject: | Re: How do I underline a string using php and fonts? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205084@lists.php.net to get a copy of this message | ||
On Thursday 23 December 2004 19:52, Brent Clements wrote:
> I have always wondered this and maybe you guys can help.
>
> How do I underline a bit of text using True Type Fonts?
>
> Right now, I am creating imagelines but I don't think that's the most
> efficient way of doing it.
>
> Anybody know how to do "underlines" but using the font itself?
If you can't get any joy using the image*() functions then you could take the
scenic route:
1) compose your prose using the pdf_*() functions
2) then use something like ImageMagick's conversion tools to change into
png/jpg/whatever
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I'm having fun HITCHHIKING to CINCINNATI or FAR ROCKAWAY!!
*/