Re: [cfaussie] ImageDrawText() and fonts

2011-08-18 Thread MrBuzzy
I could't exactly find a way to set the font. In theory you create a
java.awt.Font, but ImageDrawText expects font properties, I think it
overrides what may have been set earlier.

Luckily it was a stuff up on my part, I restarted the wrong server :)
You can put fonts in {JDK}/jre/lib/font, restart CF and you should be right.

On 18 August 2011 12:36, Andrew Scott andr...@andyscott.id.au wrote:

 I don't think you can with the standard CF image tags and functions, but
 you could use the Java way to set the font.



 On Thu, Aug 18, 2011 at 12:28 PM, MrBuzzy mrbu...@gmail.com wrote:

 Allo,

 Does anyone know how to load extra fonts for use with the image tags and
 functions? Specifically ImageDrawText().

 It seems that the Font Management in the CF Administrator only modifies
 the PDF features.

 Thanks.

 --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.




 --
 Regards,
 Andrew Scott
 WebSite: http://www.andyscott.id.au/
 Google+: http://plus.google.com/108193156965451149543


  --
 You received this message because you are subscribed to the Google Groups
 cfaussie group.
 To post to this group, send email to cfaussie@googlegroups.com.
 To unsubscribe from this group, send email to
 cfaussie+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/cfaussie?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.



Re: [cfaussie] ImageDrawText() and fonts

2011-08-18 Thread Andrew Scott
Yeah I actually thought that might be the case, but assumed you had already
tried it.


On Fri, Aug 19, 2011 at 10:33 AM, MrBuzzy mrbu...@gmail.com wrote:

 I could't exactly find a way to set the font. In theory you create a
 java.awt.Font, but ImageDrawText expects font properties, I think it
 overrides what may have been set earlier.

 Luckily it was a stuff up on my part, I restarted the wrong server :)
 You can put fonts in {JDK}/jre/lib/font, restart CF and you should be
 right.



-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543

-- 
You received this message because you are subscribed to the Google Groups 
cfaussie group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.