[xep-support] Re: How to integrate otf-fonts in XEP 3.x

From: Terrance Bockhol <terry@sebis.com>
Date: Thu Nov 06 2014 - 12:25:59 PST

version 3 had a fonts.xml file, entries looked like.

<fonts>

<font name="TheSerifB-W4SemiLightItalic"
          ttf="TheSerifB-W4SemiLightItalic.ttf">
</font>
...
</fonts>

You may have to create a separate <font> entry for each style, and
reference them from the FO as such, eg.
font-family="TheSerifB-W4SemiLightItalic".

On 11/06/2014 04:11 AM, Szabo, Patrick (LNG-VIE) wrote:
> Okay...converting to ttf with a different converter did work.
> However I can't get the Italic Version to work. From what I found on the web I have to adapt fonts.xml like this:
>
> <font-group>
> <font-family name="TheSerifB W4 SemiLight" embed="true" subset="true">
> <font>
> <font-data ttf="TheSerifB-W4SemiLight.ttf"/>
> </font>
> <font style="italic">
> <font-data ttf="TheSerifB-W4SemiLightItalic.ttf"/>
> </font>
> </font-family>
> </font-group>
>
> However now the font doesn't get displayed at all. Not italic and not regular.
>
> Any suggestions ?
>
> cheers
>
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . . .
> Ing. Patrick Szabo
> Developer
> LexisNexis
> A-1030 Wien, Marxergasse 25
>
> mailto:Patrick.Szabo@lexisnexis.at
> Tel.: +43 1 53452 1514
> Fax.: +43 1 534 52 146
>
> . . . . . . . . . . . . . . . . . . . . . . . . . .
>
> -----Ursprüngliche Nachricht-----
> Von: Xep-support [mailto:xep-support-bounces@renderx.com] Im Auftrag von Szabo, Patrick (LNG-VIE)
> Gesendet: Donnerstag, 06. November 2014 10:39
> An: RenderX Community Support List
> Betreff: [xep-support] How to integrate otf-fonts in XEP 3.x
>
> Hi,
>
> I have XEP 3.x running here and updating is not an option because it's running on some legacy system and ripping that version out breaks a whole lot of things.
>
> I need to integrate some otf-fonts so I put this in font.xml:
>
> <font name="TheSerifB-W4SemiLightItalic" otf="../afm/TheSerifB-W4SemiLightItalic.otf" embed="true">
> <alias name="TheSerifB - W4 SemiLight Italic"/> </font>
>
> The file really does exist under ../afm/TheSerifB-W4SemiLightItalic.otf and font-name is correct as well.
>
> I also tried converting it to ttf and using that but that didn't work either.
>
> Any ideas ?
>
> cheers
>
>
> . . . . . . . . . . . . . . . . . . . . . . . . .
> Ing. Patrick Szabo
> Developer
> LexisNexis
> A-1030 Wien, Marxergasse 25
>
> mailto:Patrick.Szabo@lexisnexis.at
> Tel.: +43 1 53452 1514
> Fax.: +43 1 534 52 146
>
> . . . . . . . . . . . . . . . . . . . . . . . . .
>
>
>
>
>
> _______________________________________________
> (*) 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
>
>
>
>
> _______________________________________________
> (*) 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
>

-- 
Terrance Bockhol
Sebis Direct, Inc.
Data Processing
312-243-9300 ext.16
312-841-1979 (mobile)
!DSPAM:87,545bd96c10103948912153!
_______________________________________________
(*) 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 Thu Nov 6 12:25:25 2014

This archive was generated by hypermail 2.1.8 : Thu Nov 06 2014 - 12:25:26 PST