Excellent, just the answer I was hoping for - and the CF fonts are a bonus :)
On 29/09/06, Rick Root <[EMAIL PROTECTED]> wrote: > Andy Matthews wrote: > > Yes. Just put the chosen font whereever you like and reference it in that > > directory. > > Right, the fontDetails argument that you pass to the addText() method > takes a filename which can be a full path to anywhere you put the font file. > > Keep in mind that uploading a font from your windows font directory > might not be legal =) > > Of course, you can also find fonts installed in the the JRE for coldfusion. > > # cd /opt/coldfusionmx7/ > # find . | grep -i ttf > ../runtime/jre/lib/fonts/LucidaSansDemiBold.ttf > ../runtime/jre/lib/fonts/LucidaBrightItalic.ttf > ../runtime/jre/lib/fonts/LucidaTypewriterBold.ttf > ../runtime/jre/lib/fonts/LucidaSansDemiOblique.ttf > ../runtime/jre/lib/fonts/LucidaBrightDemiItalic.ttf > ../runtime/jre/lib/fonts/LucidaSansOblique.ttf > ../runtime/jre/lib/fonts/LucidaBrightRegular.ttf > ../runtime/jre/lib/fonts/LucidaBrightDemiBold.ttf > ../runtime/jre/lib/fonts/LucidaTypewriterRegular.ttf > ../runtime/jre/lib/fonts/LucidaTypewriterOblique.ttf > ../runtime/jre/lib/fonts/LucidaTypewriterBoldOblique.ttf > ../runtime/jre/lib/fonts/LucidaSansRegular.ttf > > Rick > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254882 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4