[xep-support] Features for OpenType Fonts

Michael Sulyaev msulyaev at renderx.com
Thu Oct 23 09:25:02 PDT 2008


Lillian Sullam wrote:
> I am using an OpenType font for my documents.  I would like to set the
> numbers within tables to "Tabular Lining" a variant in OpenType fonts.
> 
> For example:
> one.tab  -  tabular variant of one, used when default numerals are all
> proportional.
> 
> Different variants can be specified for different uses. I know there
> is a "font-variant" for small-caps.  Is there a way to declare a
> "font-variant" of a value "tab" that could work in the same way?
> 
> How does XEP support such capabilities of OpenType fonts?

Hello Lillian,

Your message appeared four times in the list, and it should have been 
dropped four times into your mailbox.

According to Extensible Stylesheet Language (XSL) Version 1.1 
Recommendation (http://www.w3.org/TR/xsl/#font-variant) the values for 
font-variant attribute are 'normal' and 'small-caps'. Thus you may not 
use this attribute for your purposes.

However, you may try to declare a different font-family and use it 
instead, if there is a way to address proper metrics and outlines inside 
the font.

Regards,
Michael Sulyaev
RenderX
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list