[xep-support] Small caps

From: Pilecki Konstanty <KPilecki@wolterskluwer.pl>
Date: Thu Dec 05 2013 - 03:04:43 PST

Hello,

I am not able to obtain a ‘small caps’ font variant, when XEP RenderX tool is using. A piece of the appropriate FO code looks like this:
<fo:block font-family="ZapfCalligrEU" font-variant="small-caps" font-size="15pt">Some text</fo:block>

The <font-family> element in xep.xml configuration document is as follow:

<font-family name="ZapfHumnstEU" embed="true" ligatures="ff fi fl ffi ffl">
               <font>
                              <font-data ttf="0015EU27.ttf"/>
               </font>
               <font style="oblique">
                              <font-data ttf="0016EU27.ttf"/>
               </font>
               <font weight="bold">
                              <font-data ttf="0017EU27.ttf"/>
               </font>
               <font weight="bold" style="oblique">
                              <font-data ttf="0018EU27.ttf"/>
               </font>
</font-family>

I guess, I should add one more child element like:
               <font variant="small-caps">
                              <font-data ttf="???.ttf"/>
               </font>

Unfortunately, there is not present a ttf file for small caps in the font family installed in my system. Is it any way to obtain desired small caps, despite of this? I have tried the same case with Antenna House, and XSL Formatter manages with the case.

I would be very grateful for any suggestion.

Kostek

!DSPAM:87,52a05de49851982080968!

_______________________________________________
(*) 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 Thu Dec 5 03:05:14 2013

This archive was generated by hypermail 2.1.8 : Thu Dec 05 2013 - 03:05:34 PST