Karin:
It appears to me that you are referencing the same font (subfont=1" as
default). If Menlo is a TTC, what are the subfont positions within that TTC
that represent the fonts you desire? You should add the attribute
subfont="#" for all of these matching the font face/style to the proper
subfont number.
For example: IF Menlo Italic is subfont 2, then add that attribute <font
style="italic"><font-data ttc="Menlo.ttc" subfont="2"/></font> .
I am not sure though as I would have suspected that the font Menlo was
constructed as :
Normal = 1
Italic = 2
Bold = 3
Bold-Italic = 4
And you would be getting Normal for all other text and bold for normal
because you specified "3" for that one. Please test the above and let me
know if this works for you.
Kevin Brown
RenderX
From: xep-support-bounces@renderx.com
[mailto:xep-support-bounces@renderx.com] On Behalf Of Karin O'Connor
Sent: Wednesday, June 01, 2011 8:59 AM
To: xep-support@renderx.com
Subject: [xep-support] Font question
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 10:03:59 2011
This archive was generated by hypermail 2.1.8 : Wed Jun 01 2011 - 10:04:00 PDT