Mark Mandel wrote:
> You probably need to javaCast the '12' to whatever type that the API requires.
naw, it's the font (static numbers should almost always go through ok--though i
use a java lib that even wants strings cast). he's set it to a string
("Courier").
>> local.bf = myObj.BaseFont.Courier;
got to go the extra mile:
BaseFont=createObject("java", "com.lowagie.text.pdf.BaseFont");
bf=baseFont.createFont(BaseFont.COURIER,BaseFont.CP1252,BaseFont.EMBEDDED);
// or whatever
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 â Scorpio beta now available,
easily build great internet experiences â Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281487
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4