td and th font sizes in print medium

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Doug Eaton
Propeller Head
Posts: 68
Joined: Tue Feb 19, 2008 9:47 am

td and th font sizes in print medium

Post by Doug Eaton »

My td and th font size settings (print medium) aren't working properly in PDF output. Both p tags and td have print medium settings of 9pt, but td results are visibly larger. Any thoughts? The WebHelp output looks exactly as it should (font settings for p at 1em and td at .9em).
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: td and th font sizes in print medium

Post by LTinker68 »

I'd try opening the stylesheet file in the Internal Text Editor and scrolling through it to see if you have conflicting styles. For instance, you could have a style declaration of 9pt but a complex selector or combination selector that sets the font size to 12pt or whatever. Complex and combination selectors are displayed in the Stylesheet Editor, too, so you could check there as well.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Doug Eaton
Propeller Head
Posts: 68
Joined: Tue Feb 19, 2008 9:47 am

Re: td and th font sizes in print medium

Post by Doug Eaton »

Flare seems to create a td class <td class="TableStyle_TableOnline_Body_0_0_RowSep_ColSep"> that doesn't show up in the topic CSS. The settings are probably in there. Do I add this class to the topic CSS by using the text editor and just set a font size setting?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: td and th font sizes in print medium

Post by LTinker68 »

Yeah, that class won't appear in the main topic stylesheet -- it only appears in the table stylesheet. However, the table stylesheet doesn't have declarations regarding the font size, unless you manually edited the table stylesheet previously and added those declarations. So it should be pulling the font size from the topic stylesheet. But if you're using complex selectors to change the size of a <p> inside a <td>, then you might also have to add a complex selector with the td class name as part of the complex selector so that it knows that the <p> inside a td with that specific class name is also supposed to be such-and-such a size.

But you said previously that the td and p tags were both set to 9pt, so it shouldn't matter if there's a <p> inside a <td> or if you're just using a <td> -- they should both be the same. Unless you're also using a class for the <p> tag and that class has a different font size.

This shouldn't matter with PDF output, but you might want to try deleting the output folder before rebuilding the output. Maybe it's not picking up something. You might also want to double-check that the PDF target is set to use the correct topic stylesheet and that it's set to use the print medium of that stylesheet. Maybe it somehow got set to using the default medium.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply