[xep-support] Re: Small caps configuration in xep.xml?
Alexey Gagarinov
agagarinov at renderx.com
Wed Aug 8 06:15:30 PDT 2012
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
More information about the Xep-support
mailing list