[xep-support] Font question

From: Karin O'Connor <karin@apple.com>
Date: Wed Jun 01 2011 - 08:58:43 PDT

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!

_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Jun 1 09:42:04 2011

This archive was generated by hypermail 2.1.8 : Wed Jun 01 2011 - 09:42:13 PDT