[xep-support] Re: Small caps

From: Kevin Brown <kevin@renderx.com>
Date: Thu Dec 05 2013 - 13:22:13 PST

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@renderx.com [mailto:xep-support-bounces@renderx.com] On Behalf Of Pilecki Konstanty
Sent: Thursday, December 05, 2013 3:05 AM
To: xep-support@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!

_______________________________________________
(*) 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 13:22:24 2013

This archive was generated by hypermail 2.1.8 : Thu Dec 05 2013 - 13:22:38 PST