[xep-support] Activating small-caps in Palatino

Jan Tošovský j.tosovsky at gmc.net
Mon May 5 01:07:53 PDT 2014


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20140505/75ede4f7/attachment.html>


More information about the Xep-support mailing list