Sean Corfield wrote:
> If you know how many characters will fit in the box (which may be font
> dependent?), then start there and work back to the next space and
> truncate there. That way you'll always have complete words and the
> number of words will vary depending on the total number of characters.

That's the problem. I can make a "best guess" as to the number of 
characters, but it's font dependent, so no exact number is ever going to 
work.

The graphic designers I work with need to get out of their "print mode" 
when doing layouts!!! ... and they get the darned designs approved by 
the client *before* sending to me and going "see any issues here".


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5159 (20100531) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:334154
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to