It's using a bunch of Java code from an Adobe blogger (used with permission). I forget the name, but it should be credited in the CFC itself. I definitely can't take credit for the code, although I think I handled the wrapping up in the method. That counts for something, right? ;)
Anyway, that URL again: http://imageutils.riaforge.org -Raymond On Tue, Aug 26, 2008 at 8:56 AM, Claude Schneegans <[EMAIL PROTECTED]> wrote: > >>how does the > CFC measure the height and width of text > without resorting to an image > > Any decent text/Image processing library will provide some function to > calculate > the physical length of a string given a specific font and size. > And I'm pretty sure Ray's CFC is using a decent library. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:311568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

