[xep-support] small-caps in Times New Roman
Michael Sulyaev
msulyaev at renderx.com
Wed Feb 13 00:16:43 PST 2008
Bob Stayton wrote:
> I would like to use the variant="small-caps" property with the Times New
> Roman TrueType font that comes with Windows. It seems the font does
> have small-cap glyphs, because programs like Word can display
> small-caps. However, output from XEP does not show small-caps.
Hello Bob,
I believe Word displays small-caps for this font because Word performs
an automatic transformation of glyphs for capital letters squeezing them
by height as m/M. The font itself does not contain a separate set of
outlines for small-caps.
XEP does not perform such squeezing because the quality of the resulting
glyphs is not acceptable.
> I've tried many variations on the font names to get it to work, but with
> no luck. Can RenderX confirm that small-caps is a feature that is
> supported by XEP?
XEP supports small-caps if you have a font, but does not squeeze glyphs.
XEP draws small-caps if requested in FO (font-variant="small-caps") and
configured in xep.xml for this font, that is, there is a separate record
<font variant="small-caps"><font-data ttf="..."/></font>
in the font-family. Note that there may be combinations of
bold*italic*small-caps, but I've never seen a font having all eight sets
of outlines.
--
Best regards,
Michael Sulyaev
http://www.renderx.net
http://www.renderx.com
mailto:support at renderx.com
-------------------
(*) 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/terms-of-service.html
More information about the Xep-support
mailing list