[xep-support] Getting small caps to work with Times New Roman font

From: Andy Black <andy_black@sil.org>
Date: Fri Dec 14 2007 - 13:56:33 PST
Looking at the archives for this list, I see that some have had success in getting small caps to appear in their PDF output (see Thomas Schraitle's Oct 04 2005 message, "Re:[xep-support] Small Caps").

I'd like to get small caps to work for the Times New Roman font that comes with Windows (XP in particular).

This font appears to have small caps capability because o
ne can obtain small caps with it using either Open Office Writer or Microsoft Word.  In addition small caps work in a web page using styles (and rendering it with either Internet Explorer or Firefox).

I've modified my xep.xml file to include the following in the Windows TrueType fonts section (and, yes, I've removed the original surrounding comment markers):

        <font-family name="Times New Roman" ligatures="&#xFB01; &#xFB02;">
           <font><font-data ttf="times.ttf"/></font>
           <font style="italic"><font-data ttf="timesi.ttf"/></font>
           <font weight="bold"><font-data ttf="timesbd.ttf"/></font>
           <font weight="bold" style="italic"><font-data ttf="timesbi.ttf"/></font>
           <font weight="normal" variant="small-caps"><font-data ttf="times.ttf"/></font>
        </font-family>

In looking at the Windows/Fonts directory, I'm not seeing any special font file just for small caps for Times New Roman, so I've been using.the times.ttf one.

Has anyone else gotten small caps to work with this font?  How did you succeed?

Thanks,

--Andy

------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@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 Received on Fri Dec 14 14:56:39 2007

This archive was generated by hypermail 2.1.8 : Fri Dec 14 2007 - 14:56:44 PST