[xep-support] Re: Small caps configuration in xep.xml?

From: Alexey Gagarinov <agagarinov@renderx.com>
Date: Wed Aug 08 2012 - 06:15:30 PDT

Hi,

the follow-up:

> So put LatinModernRoman as the first entry in the 'serif' alias or explicitly set LatinModernRoman font
> family on the inline element.

There is a trick with small-cap definition.
Add LatinModernRoman small-cap font as the "small-caps" font entry into the Pagella font family.

<font-family name='Pagella' xml:base='...'>
         <font>
           <font-data ttf="..."/>
         </font>
         ...
         <font variant='small-caps' >
           <font-data ttf='lmromancaps10-regular.otf'/>
         </font>
</font-family>

So you will get the regular text with Pagella -- as it is now, I guess -- and will get small caps with
LatinModernRoman.

Regards,
    Alexey Gagarinov
RenderX

---
www,renderx.com
_______________________________________________
(*) 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 Wed Aug 8 06:05:18 2012

This archive was generated by hypermail 2.1.8 : Wed Aug 08 2012 - 06:05:19 PDT