[xep-support] Re: Small caps

Kevin Brown kevin at renderx.com
Thu Dec 5 13:22:13 PST 2013


RenderX does not support “faux” or “pseudo” small caps (it really not a good thing to do, you should allow the font vendor to decide how he wishes a small-cap to appear for the font and not try to fake something).

 

You must use obtain a small-caps variant font and use it as you would italic, 

bold or any other variant (either directly by name or as you do below through a font-variant of small-caps.

 

Kevin Brown

RenderX

 

From: xep-support-bounces at renderx.com [mailto:xep-support-bounces at renderx.com] On Behalf Of Pilecki Konstanty
Sent: Thursday, December 05, 2013 3:05 AM
To: xep-support at renderx.com
Subject: [xep-support] Small caps

 

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


More information about the Xep-support mailing list