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

From: Kevin Brown <kevin@renderx.com>
Date: Mon May 05 2014 - 10:32:58 PDT

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


Kevin Brown



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


Dear All,


I've set my environment according to this thread:



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




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:simple-page-master master-name="simple" page-height="297mm"

      <fo:region-body margin="10mm"/>



  <fo:page-sequence master-reference="simple">

    <fo:flow flow-name="xsl-region-body">

      <fo:block font-family="Palatino"





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


(*) 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
Received on Mon May 5 10:33:02 2014

This archive was generated by hypermail 2.1.8 : Mon May 05 2014 - 10:33:08 PDT