OK...on to the next project...

We have a function that is currently using cfx_imageflare that creates an
800x600 black image and puts whatever text you want on it.  If the text goes
longer than the image, it wraps it.  Any ideas on how do do this in CF or
java?  the CF Wrap function doesn't work for this purpose as the
ImageDrawText function doesnt seem to recognize line breaks.  The only think
my searching found was a word wrap function in a class (that is an extension
of java.lang.Object called sim.utils.WordWrap...apparently this is not a
standard java library and I couldn't find any source to get a copy.  I could
do something to break the quote up into several vars to simulate different
lines, but I would like something a litte friendlier than that ;-)  I really
hate to reinvent the wheel if i don;t have to.  If anyone has any ideas, I
would appreceiate it.

Eric


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337155
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to