To Peter Boughton, Christine Davis, Chris Peterson, and Sandra Clark --

Thanks again for the help you provided me regarding my question about how to 
switch fonts within a cfdocument.

In the end, a combination of inline style specifications (not <font> tags) and 
upgrading my server from 7.0 to 7.0.2
completely fixed the problem.  My app is now producing PDFs in the desired font.

Thank you!

-- Larry Afrin
   Medical University of South Carolina


Sandra Clark wrote:

> Make sure your call to a stylesheet is within the <cfdocument> tags.
> Basically your entire layout.  I'm not sure how Acrobat handles <font or
> other obsolete tags, but it does handle most of CSS properly.
>
> Sandra Clark
> ==============================
> http://www.shayna.com
> Training in Cascading Style Sheets and Accessibility
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 04, 2006 2:07 PM
> To: CF-Talk
> Subject: Re: Quicky question re: cfdocument and fonts
>
> Peter --
>
> Thanks for the idea, but I had also tried (prior to my original posting) the
> inline style stuff such as you suggested -- and got exactly the same result.
>
> Any other ideas?  There has to be some way to use cfdocument to generate a
> PDF with a font other than Times Roman...
>
> -- LBA
>
> Quoting Peter Boughton <[EMAIL PROTECTED]>:
>
> > What about if you try using <span style="font: Whatever;">..</span> ?
> >
> >
> >> Howdy --
> >>
> >> I'm making my first use of cfdocument (no jokes about being behind
> >> the times, please -- I've been busy with other things), and it seems
> >> that no matter what I specify in the <font> tag inside the
> >> cfdocument, the resulting PDF displays the content in the same Times
> >> Roman font in whatever the default font size is (looks like about
> >> 12).  I tried lots of the different font faces listed on my CF
> >> Administrator's Font Management page, but I keep getting the same
> >> result.  Have also tried both "yes" and "no" fontembed settings,
> >> makes no difference.
> >> For that matter, I can't even get it to pay attention to <font
> >> size="whatever"> tags.  The size of the type in the PDF is properly
> >> affected by tags like <h1>, but <font> doesn't seem to be having any
> >> effect at all.
> >>
> >> I searched around a bit before writing this post, and I found a
> >> little bit of material alluding to there being some font problems
> >> with cfdocument in 7.0, but it wasn't clear to me that Updater 1
> >> really fixed it, as there seem to be some more recent hotfixes for
> >> the same problem.  I really couldn't find a good summary of the whole
> >> issue.
> >>
> >> Bottom line: I'm running MX 7 (version 7,0,0,91690 -- again, no jokes
> >> about behind the times; I believe in not fixing it if it ain't broke,
> >> but now it's broke) on Linux.  Can anybody tell me what I have to do
> >> to get my cfdocument-produced PDFs to pay attention to my <font>
> >> tags?
> >>
> >> -- Larry Afrin
> >
> >> Medical University of South Carolina
> >
> >> [EMAIL PROTECTED]
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:255945
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to