[xep-support] Re: Activating small-caps in Palatino

Kevin Brown kevin at renderx.com
Mon May 5 10:32:58 PDT 2014


RenderX does not select the small-caps variant from the font, you need to
use a font the *is* small-caps.

(i.e. just like with Bold, you have a font where the chars are bold glyphs)

 

So this line:

 

        <font variant="small-caps"><font-data ttf="pala.ttf"/></font>

 

Would have a different font file, one that is all caps. Like PalatinoR Roman
SC.

 

Kevin Brown

RenderX

 

From: xep-support-bounces at renderx.com
[mailto:xep-support-bounces at renderx.com] On Behalf Of Jan Tošovský
Sent: Monday, May 05, 2014 1:08 AM
To: RenderX Community Support List (xep-support at renderx.com)
Subject: [xep-support] Activating small-caps in Palatino

 

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/25b40263/attachment.html>


More information about the Xep-support mailing list