[xep-support] Activating small-caps in Palatino

From: Jan To¹ovskı <j.tosovsky@gmc.net>
Date: Mon May 05 2014 - 01:07:53 PDT

Dear All,

I've set my environment according to this thread:
http://services.renderx.com/lists/xep-support/3846.html

i.e. changed Palatino entry in the xep.xml (small-caps variant added)

      <font-family name="Palatino" embed="true" ligatures="&#xFB00; &#xFB01; &#xFB02; &#xFB03; &#xFB04;">
        <font><font-data ttf="pala.ttf"/></font>
        <font variant="small-caps"><font-data ttf="pala.ttf"/></font>
        <font style="italic"><font-data ttf="palai.ttf"/></font>
        <font weight="bold"><font-data ttf="palab.ttf"/></font>
        <font weight="bold" style="italic"><font-data ttf="palabi.ttf"/></font>
      </font-family>
    </font-group>

But when I apply small-caps in this example, this setting is ignored. Howerer, text is typed with Palatino.

<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-page-master master-name="simple" page-height="297mm" page-width="210mm">
      <fo:region-body margin="10mm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="simple">
    <fo:flow flow-name="xsl-region-body">
      <fo:block font-family="Palatino" font-variant="small-caps">ad</fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

Originally tested with Adobe Minion Pro, but with the same result. Both fonts have real small caps included.

Does this feature works just for certain fonts?

Thanks, Jan

!DSPAM:87,536746fb9852096618870!

_______________________________________________
(*) 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 Mon May 5 01:08:30 2014

This archive was generated by hypermail 2.1.8 : Mon May 05 2014 - 01:08:35 PDT