[xep-support] true type fonts not working

Ryan Graham Ryan.Graham at apollogrp.edu
Wed Jan 21 08:45:21 PST 2004


You were close, but they switch it up a little bit for the stylistic ones.
Here is how I have them in my fonts.xml file:

<font name="TimesNewRomanPS-BoldMT" ttf="C:\WINNT\FONTS\TIMESBD.TTF"
embed="true" subset="true">
	<alias name="TimesNewRoman-Bold"/>
</font>
<font name="TimesNewRomanPS-BoldItalicMT" ttf="C:\WINNT\FONTS\TIMESBI.TTF"
embed="true" subset="true">
	<alias name="TimesNewRoman-BoldItalic"/>
</font>
<font name="TimesNewRomanPS-ItalicMT" ttf="C:\WINNT\FONTS\TIMESI.TTF"
embed="true" subset="true">
	<alias name="TimesNewRoman-Italic"/>
</font>

Those declarations should work for you.  Hope that helps out...

Thanks,
RG

>-----Original Message-----
>From: owner-xep-support at renderx.com 
>[mailto:owner-xep-support at renderx.com] On Behalf Of gman
>Sent: Wednesday, January 21, 2004 9:35 AM
>To: xep-support at renderx.com
>Subject: RE: [xep-support] true type fonts not working
>
>
>ahh.. ok that worked correctly for the plain font, but not for 
>the bold, italic, and bold-italic
>fonts.. i tried using the same convention, ie:
>
>   <font name="TimesNewRomanPSMT-Bold"
>         ttf="C:\WINNT\Fonts\TIMESBD.TTF"
>         embed="true">
>      <alias name="Times-Bold"/>         
>      <alias name="TimesRoman-Bold"/>
>      <alias name="Times-Roman-Bold"/>
>   </font>
>
>also tried (which seems to be the pattern with the included 
>Arial true type example)
>
>   <font name="TimesNewRoman-BoldPSMT"
>         ttf="C:\WINNT\Fonts\TIMESBD.TTF"
>         embed="true">
>      <alias name="Times-Bold"/>         
>      <alias name="TimesRoman-Bold"/>
>      <alias name="Times-Roman-Bold"/>
>   </font>
>
>but neither work.
>
>seems like i'm pretty close now, can you give me examples how 
>to do this?
>
>thanks
>
>G
>
>
>--- Ryan Graham <Ryan.Graham at apollogrp.edu> wrote:
>> Change name="Times-Roman" to name="TimesNewRomanPSMT".  You 
>can leave your
>> aliases as they are.
>> 
>> TimesNewRomanPSMT is the 'real' name of the font defined 
>within the file.
>> 
>> HTH,
>> RG
>> 
>> >-----Original Message-----
>> >From: owner-xep-support at renderx.com 
>> >[mailto:owner-xep-support at renderx.com] On Behalf Of gman
>> >Sent: Friday, January 16, 2004 9:25 AM
>> >To: xep-support at renderx.com
>> >Subject: [xep-support] true type fonts not working
>> >
>> >
>> >i have set up the fonts.xml file as specified in the
>> >documentation to use MS's true type fonts.. i'm
>> >getting this error when trying to generate my PDF:
>> >
>> >file:/C:/cvs/fcg/admin/xep/etc/fonts.xml: FontName
>> >'TimesNewRomanPSMT' specified in AFM does not match
>> >font name 'Times-Roman'}
>> >
>> >TimesNewRomanPSMT is nowhere to be found in any of my
>> >xml/xsl/xep files..
>> >
>> >anyone know what could be causing this?
>> >
>> >font file entries look like this:
>> >
>> >   <font name="Times-Roman" embed="true" subset="true"
>> >ttf="c:\winnt\fonts\TIMES.TTF">
>> >      <alias name="Times"/>
>> >      <alias name="TimesRoman"/>
>> >   </font>
>> >
>> >thanks
>> >
>> >G
>> >
>> >
>> >
>> >
>> >
>> >__________________________________
>> >Do you Yahoo!?
>> >Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>> >http://hotjobs.sweepstakes.yahoo.com/signingbonus
>> >-------------------
>> >(*) 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/tos.html
>> >
>> -------------------
>> (*) 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/tos.html
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
>http://hotjobs.sweepstakes.yahoo.com/signingbonus
>-------------------
>(*) 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/tos.html
>
-------------------
(*) 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/tos.html



More information about the Xep-support mailing list