[xep-support] Font question

Karin O'Connor karin at apple.com
Wed Jun 1 08:58:43 PDT 2011


I am unable to get my monospaced font to render in bold, italic, or bold italic in my PDF files. The base font shows fine.

I have the following in my xep.xml file

<font-group label="TrueType" embed="true" subset="true">
      <font-family name="Menlo">
		<font><font-data ttc="Menlo.ttc" subfont="3"/></font>
		<font style="italic"><font-data ttc="Menlo.ttc" /></font>
		<font weight="bold"><font-data ttc="Menlo.ttc"/></font>
		<font style="bold italic"><font-data ttc="Menlo.ttc"/></font>
      </font-family>
    </font-group> 

and the following mappings: (The color is simply a highlight for testing purposes, so I know where this font is being applied.)

<fo:inline font-family="Menlo" font-size="9pt" font-weight="bold" color="green" linefeed-treatment="preserve" white-space-treatment="preserve" white-space-collapse="false">

I have tried using both font-weight="bold" and font-style="bold", with no success. 

Is there something I'm missing? Any ideas of what else I might try.

Thanks in advance.

Karin


!DSPAM:87,4de6647663731172717893!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20110601/dae92f8c/attachment.html>


More information about the Xep-support mailing list