I'm building a project starting from a Flare template, following the online help instructions for starting a new project. My primary output is to PDF. I have set a style for h2 heading in the print medium part of the css that is in Candara, is green, and is 30 pt high. However, when I output to PDF, the h2 heading is in Arial and only about 14-16 pt high (I'm not sure exactly). The strange thing is that the colour is correct for the h2 heading. I also have a span that I'm using inside the h2 heading to make a section of the text only 12 pt high. I've tried outputting both with and without the span. I've done some digging and eliminated some possibilities. I was hoping to add some screenshots but I just can't see how to do this right now, sorry.
1. The problem is not the font (have seen elsewhere in the forums that opentype fonts can be an issue) - I ended up changing the body style to Candara and it will now print the h2 heading in the correct font, but still at the wrong size, but in the right colour.
2. When I choose preview as primary target I see the h2 heading rendered correctly, and the span rendered correctly as well. The problem only occurs when I choose view primary and then pick my primary output, PDF.
3. I'm familiar with XML from using structured FrameMaker and I have had a look at the text editor view, I can't see anything wrong but I will copy it here so you can see:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="6" MadCap:lastHeight="489" MadCap:lastWidth="576" MadCap:conditions="PrintGuides.GPD">
<head>
<link href="../Resources/TableStyles/Ingredients.css" rel="stylesheet" MadCap:stylesheetType="table" />
</head>
<body>
<h2>Scotch Eggs <span class="Serves">Serves 4</span></h2>
<p class="IngredientsHeader">Ingredients</p>
<table style="width: 100%;margin-left: auto;margin-right: auto;mc-table-style: url('../Resources/TableStyles/Ingredients.css');" class="TableStyle-Ingredients" cellspacing="0">
<col MadCap:pattern="0" style="width: 4em;" />
<col />
<col style="width: 4em;" />
<col />So it seems to me that my h2 heading is not overriding the body style correctly but I don't know why. Any ideas or suggestions gratefully appreciated! Happy new year!