Chris, Christine, Sandra, and everyone else --
A bit of a mea culpa here, with some progress but some persistent problems...
Thanks again for your previous efforts to help me with my problem making font
adjustments in PDFs produced with
cfdocument in CFMX 7.0 (Linux). I discovered a typo in my inline style font
directive that was causing part of the
problem. The "<font>" tag still doesn't work, but inline style directives are
beginning to work. I now have partial
control over the font in the PDF, by which I mean I can control font sizes
using the "font-size" directive and, using
the "font" directive, I can switch (to some degree) among the fonts of font
type "ADOBE-BUILT-IN" as listed on the CFMX
server's Font Management page. By "some degree" I mean I seem to be able to
access only the base fonts. For example,
font:Times-Roman works, but font:Times-Italic doesn't. Furthermore, whenever I
refer to any of the fonts that are
listed in the Font Management page as being of font type "TRUETYPE", I merely
get the default Times Roman.
Along the lines of "if it ain't broke, don't fix it," I'm now wondering if I
really do have to update my server as you,
Christine, suggested. Do y'all have any other suggestions for accessing the
TrueType fonts (e.g., Arioso, Chevara,
Conga, Helmet) listed on my CFMX server's Font Management page? Again, I've
tried this with both fontembed settings
("yes" and "no"), to no avail; I just keep getting the default Times Roman
whenever I reference a TrueType font. I've
also verified my font directives are inside the cfdocument structure.
-- LBA
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:255542
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4