[xep-support] Small caps

Pilecki Konstanty KPilecki at wolterskluwer.pl
Thu Dec 5 03:04:43 PST 2013


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


More information about the Xep-support mailing list