[xep-support] Re: Alternative font weights

Kevin Brown kevin at renderx.com
Fri Feb 21 11:35:39 PST 2014


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 at renderx.com [mailto:xep-support-bounces at 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 at 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 at renderx..com [mailto:xep-support-bounces at renderx.com] On Behalf Of David Nedrow
Sent: Friday, February 21, 2014 9:46 AM
To: xep-support at 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! 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20140221/45b56b0e/attachment-0001.html>


More information about the Xep-support mailing list