what i did a while ago (before I discovered sIFR) a client was:

- create a separate image for each letter and punctuation mark in the
font they wanted to use, naming each image file according to what is in
it (A.png, B.png, ect).
NOTE: the font they used was uppercase-only, so i was spared creating
upper AND lowercase images...
NOTE 2: some punctuation marks can't be used in filenames on a windows
comp, so had to rename them to some other character which were unlikely
to be used in a text string, like $ for space, [ for ., etc.
- in the text string replace any chars that are not allowed in file
names with the ones i used instead.
- loop through the text string letter-by-letter outputting images instead.

worked pretty well: www.mekongspirit.com - all page titles are done this way

i suspect it may not be too great for SEO purposes, though...

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/



David Moore, Jr. wrote:
> C Wrote:> Not to rule out other options, but try setting the background color 
> when the image object is created:  ><cfset myImage=ImageNew("",500,20, "rgb", 
> "ffffff")> > Though, I do not think you want to create the images every time 
> the page loads. 
> That helps, but I still need help. It did do the trick, but is it the best 
> solution? I am not going to create it each time. Just each time they need new 
> text. I will build an image inventory and check to see if the FileExists. I 
> hate the way this will work, but I can't talk them into doing it any other 
> way. 
>  
> I am using a combination of sIFR and this. (I got the sIFR working late last 
> night). I don't like any of it, but an Agency created the design using 
> ScalaSans everywhere, even with me explaining how text resolves. And the site 
> is completely dynamic. Has anyone else run into this and found a better 
> solution. 
>  
> If text comes out of a database dynamically and it must be a non-universal 
> font, is there any other solution other than Text to Image or sIFR?
>  
> Thanks,
>  
> ~David Moore
>
>   

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311721
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to