[xep-support] Re: Alternative font weights

From: Kevin Brown <kevin@renderx.com>
Date: Fri Feb 21 2014 - 11:35:39 PST

David:

 

I also think you can do something like this which I use for UniverLTStd. This is from my xep.xml.

 

      <font-family name="UniversLTStd" embed="true">
        <font><font-data otf="UniversLTStd.otf"/></font>
        <font style="italic"><font-data otf="UniversLTStd-Obl.otf"/></font>
        <font weight="bold"><font-data otf="UniversLTStd-Bold.otf"/></font>
        <font weight="200"><font-data otf="UniversLTStd-Light.otf"/></font>
        <font weight="800"><font-data otf="UniversLTStd-Black.otf"/></font>
      </font-family>

 

Kevin Brown

RenderX

 

From: xep-support-bounces@renderx.com [mailto:xep-support-bounces@renderx.com] On Behalf Of David Nedrow
Sent: Friday, February 21, 2014 11:11 AM
To: RenderX Community Support List
Subject: [xep-support] Re: Alternative font weights

 

Ahhh, hadn't thought of that. Thanks.

-David

On Feb 21, 2014, at 12:56 PM, Kevin Brown <kevin@renderx.com> wrote:

Use the font names and add them as a new font (not a variant).

So add SourceSanProBlack as a font and the normal and italic variants.

 

Kevin Brown

RenderX

 

From: xep-support-bounces@renderx..com [mailto:xep-support-bounces@renderx.com] On Behalf Of David Nedrow
Sent: Friday, February 21, 2014 9:46 AM
To: xep-support@renderx.com
Subject: [xep-support] Alternative font weights

 

I would like to use the entire Source Sans Pro and Source Code Pro font families.

I can use the normal, bold, and italic fonts fine, but each of the families add several weight variants.

For example, Source Sans Pro offers a "Black" weight, which is different than its "Bold" weight.

The xep.xml markup doesn't support anything other than "Bold" for weight.

What is the best way to use call SourceSansPro-Black, or SourceSansPro-BlackIt?

Would this be some type of inline?

-David

_______________________________________________
(*) 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

!DSPAM:87,5307a4bf9851754912679!

_______________________________________________
(*) 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 Fri Feb 21 11:35:57 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 21 2014 - 11:35:58 PST