RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Gerald, Thank you almighty Digital Pack Rat smiling Really Thank you. I haven't opened it yet, but I am on my way. Terry -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Sunday, February 19, 2012 6:55 PM To: cf-talk Subject: Re: Adding a border to text using

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Leigh, I removed the 2 lines and pasted in the example lines with a semi colon at the end. The result is a solid image, but no stroke. Here's what I added: // color in the text Color = createObject(java, java.awt.Color); graphics.setColor( Color.decode(##80aa1c) ); graphics.fill(

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Gerald, I cannot believe all the things this cfc is supposed to do, but it keeps throwing errors about missing arguments and I can't find anything wrong. Missing argument name C:\inetpub\wwwroot\1wordart\index.cfm: line 105 103 : Output: 104 : p 105 : #wordart.getArt(text=CFWheels is

Re: Adding a border to text using CFImage

2012-02-20 Thread Gerald Guido
That sucks. Sorry about that. I have no idea. Like I said. I just found it :) G! On Mon, Feb 20, 2012 at 9:35 AM, Terry Troxel terry.tro...@gmail.comwrote: Gerald, I cannot believe all the things this cfc is supposed to do, but it keeps throwing errors about missing arguments and I can't

CFScript Book

2012-02-20 Thread Robert Rhodes
Hello to all. Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. All suggestions welcome. -RR

Re: Fusion Reactor and Fusion Analytics Kick Ass

2012-02-20 Thread Raymond Camden
On Sun, Feb 19, 2012 at 10:03 AM, Dan Baughman dan.baugh...@gmail.com wrote: Thats great, but I guess outside of being cool none of that really provides any value. Have you even looked at FusionReactor and FusionAnalytics? I find it _incredible_ you would say these tools don't provide any

Chrome Display Issue

2012-02-20 Thread Mosh Teitelbaum
All: A bit off-topic as it's not strictly a CF question but I hope you'll forgive me... I have some content that is dynamically generated by CF (the on-topic part) that essentially groups items by category. The page lists each category and the first 6 items for each and, if the category has

Re: CFScript Book

2012-02-20 Thread Cameron Childress
On Mon, Feb 20, 2012 at 10:48 AM, Robert Rhodes rrhode...@gmail.com wrote: Are there any CFScript books out there? I ordered this onw but it was a complete joke. A total waste of money: http://www.barnesandnoble.com/w/cfscript-lambert-m-surhone/1026883099. Is there a reason you want to

RE: Fusion Reactor and Fusion Analytics Kick Ass

2012-02-20 Thread Brook Davies
My thoughts exactly... -Original Message- From: Raymond Camden [mailto:raymondcam...@gmail.com] Sent: February-20-12 8:24 AM To: cf-talk Subject: Re: Fusion Reactor and Fusion Analytics Kick Ass On Sun, Feb 19, 2012 at 10:03 AM, Dan Baughman dan.baugh...@gmail.com wrote: Thats

RE: Chrome Display Issue

2012-02-20 Thread Paul Giesenhagen
It has to do with the topicArea_1(2or3) div is over the top of the moreLessTab div ... which is holding you're a href ... so it's not able to see it ... I wasn't able to go any further to try some things out ... but that may get you started ... If you don't have a resolve, I'll look at it

RE: Chrome Display Issue

2012-02-20 Thread Mosh Teitelbaum
Paul: Thanks for the quick reply. I had actually tried using z-indexes to change the depth of the elements but that didn't work. However, after reading your reply, I went back to the CSS and realized that while the moreLessTab div is set as a float, I never specifically defined its

Re: Adding a border to text using CFImage

2012-02-20 Thread Leigh
Terry,    I do not see anything obviously wrong. Other than the very last line, it looks the same. Here is the complete test code I used on CF8/CF9.  The result is green text with a purple-ish border -Leigh cfscript    width  = 330;    height = 150;    text   = Crossfade;        // Create

Re: CFScript Book

2012-02-20 Thread Pete Freitag
For what its worth I have a cfscript cheatsheet here: http://www.petefreitag.com/cheatsheets/coldfusion/cfscript/ It lists much but certainly not all of what you need to know to use cfscript. Feedback, suggestions welcome. -- Pete Freitag - Adobe Community Professional http://foundeo.com/ -

CF 10 beta available on Adobe Labs

2012-02-20 Thread Gerald Guido
w00t!!! Go get some. http://labs.adobe.com/technologies/coldfusion10/ It dropped on Friday btw. Ben Nadel has some blarg posts http://www.bennadel.comhttp://www.bennadel.com/blog/2331-ColdFusion-10-Beta-Closures-And-Function-Expressions-Part-I.htm

Re: CF 10 beta available on Adobe Labs

2012-02-20 Thread Casey Dougall - Uber Website Solutions
On Mon, Feb 20, 2012 at 1:29 PM, Gerald Guido gerald.gu...@gmail.comwrote: w00t!!! Go get some. http://labs.adobe.com/technologies/coldfusion10/ http://www.adobe.com/cfusion/entitlement/index.cfm?event=customloc=EN_USsku=FS0002946e=labs_coldfusion10 AND ColdFusion Builder 2.0.1 beta

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
This is the complete code which displays the text perfectly in GREEN with NO border. I am at a loss. Terry cfscript width = 330; height = 150; text = Crossfade; // Create a new image that supports transparency transparentImage = ImageNew(, width, height, argb); graphics

Re: Adding a border to text using CFImage

2012-02-20 Thread Leigh
You are missing the code that draws the actual border.    // create a thin border    stroke = createObject(java, java.awt.BasicStroke).init( 1 );    graphics.setStroke( stroke );  // ** this line is missing    graphics.setColor( Color.decode(##80) ); //** this line is missing   

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Thanks Leigh, I finally got it all pieced together and it works as you said it would. Is there anywhere I can find documentation that will allow me to resize the fontsize and the stroke width and maybe make the stroke go outside instead of inside? Obviously I am not a java pro like you and I do

Re: Adding a border to text using CFImage

2012-02-20 Thread Leigh
I finally got it all pieced together and it works as you said it would. Well the code may have gotten a bit garbled somewhere, adding to the confusion. Sorry about that. maybe make the stroke go outside instead of inside? What do you mean by outside?  The font and stroke width can be

Re: Adding a border to text using CFImage

2012-02-20 Thread Gerald Guido
I finally got it all pieced together and it works as you said it would. Is there anywhere I can find documentation that will allow me to resize the fontsize and the stroke width and maybe make the stroke go outside instead of inside? Check out the Alagad Image Component

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Well when I play with the numbers in the code it seems if I raise the init setting it widens the stroke/border, but the thickness seems to go inwards instead of outwards from the outside edge of the text. Is that a better explanation? His code is awesome, I just would like to know how to size

Re: Adding a border to text using CFImage

2012-02-20 Thread Leigh
Is that a better explanation? Yep. If you think about how the border effect is created, the behavior makes sense. Basically you are working with a glyph, or a shape of the text. Stroking affects how that shape is filled. It does not change the shape itself. So the thickness has to move

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Lei- Exactly right. In Photoshop its done with layers and stroke and the stroke can be Inside, outside and middle. I just sent a request to sam...@codecurry.com asking if his wordart.cfc is still active and open source. Hopefully he will reply as the documentation as to what it can do is awesome

Re: Adding a border to text using CFImage

2012-02-20 Thread Leigh
Check out the Alagad Image Component Yeah, I was going to suggest taking a look at existing image components. Do you know if it supports text borders? Nothing jumped out at me from a brief look at the documentation. -Leigh

emailing a cfchart?

2012-02-20 Thread Les Irvin
Is it possible to have cfchart code (format=png or jpg) within a cfmail tag and have the graphic actually show up in the email? I can't seem to manage it... Thanks in advance for any help, Les ~| Order the Adobe Coldfusion

Re: Adding a border to text using CFImage

2012-02-20 Thread Leigh
I just sent a request asking if his wordart.cfc is still active and open source. Great. I would be curious if there are any updates.  BTW: Did you try using the non-cfwheels syntax  ie wordArt.getArt()? Because that worked fine for me. -Lei

Re: CFScript Book

2012-02-20 Thread Robert Rhodes
Hi Cameron. I know CF very well. I been coding in it for many years. But, I admit, I am a little tagged out. Cfscript feels more elegant, and as I learn more and more javascript, it seems a natural time to try to get completely up to speed on cfscript. I do wish Adobe would fill out CF so

Re: emailing a cfchart?

2012-02-20 Thread Dave Watts
Is it possible to have cfchart code (format=png or jpg) within a cfmail tag and have the graphic actually show up in the email? I can't seem to manage it... Not directly, by default, because what CFCHART generates is a time-limited URL to a servlet that produces the image, rather than an

Re: emailing a cfchart?

2012-02-20 Thread Dan G. Switzer, II
Dave, I haven't had a chance to check this, but does CF10 no longer provide the ability to generate static images for charts? It looks like everything is canvas or Flash-based, which is going to be problematic for emailing or using in a PDF--both of which I use. Any idea? -Dan On Monday,

RE: Adding a border to text using CFImage

2012-02-20 Thread Terry Troxel
Leigh, All I did was to run the index as is. I do not know where to change the syntax which is probably why I am getting errors. Terry ~| Order the Adobe Coldfusion Anthology now!