<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2964" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV><FONT size=2>But what about the fonts that are defined in only 1 ttf,
such as EnviroD (or Comic Sans MS: 2 ttf's)? Windows can extract the
bold, italic and bolditalic out of this 1 ttf, but can RenderX?</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>How can I update my fonts.xml file so that RenderX can
output this font in normal, bold, italic and bolditalic?<SPAN
class=804012915-04102006><FONT
color=#0000ff> </FONT></SPAN></FONT></DIV></BLOCKQUOTE>
<DIV dir=ltr><FONT size=2><SPAN class=804012915-04102006>I believe Windows does
not "extract" anything, but uses some basic algorithms to create the italic and
bold versions of a typeface. For example, to create italic, it applies a
slanting algorithm to each glyph. For bold, it probably renders a
glyph multiple times with each instance slightly offsetted to give a "bold"
look.</SPAN></FONT></DIV>
<DIV dir=ltr><FONT size=2><SPAN
class=804012915-04102006></SPAN></FONT> </DIV>
<DIV dir=ltr><FONT size=2><SPAN class=804012915-04102006>Wrt RenderX, the
versions I have worked with (>=4.5) have a feature to "slant" a
font to simulate italics. For example:</SPAN></FONT></DIV>
<DIV dir=ltr><FONT size=2><SPAN
class=804012915-04102006></SPAN></FONT> </DIV>
<DIV dir=ltr><FONT size=2><SPAN class=804012915-04102006><FONT
color=#0000ff><font style="italic"><BR> <font-data name="Some
Font" ttf="somefont.ttf"/><BR> <transform
slant-angle="10"/><BR></font></FONT></SPAN></FONT></DIV>
<DIV dir=ltr><FONT color=#0000ff size=2><SPAN
class=804012915-04102006></SPAN></FONT> </DIV>
<DIV dir=ltr><FONT size=2><SPAN class=804012915-04102006>Unfortunately, there
appears no capability to simulate bolding capabilities.</SPAN></FONT></DIV>
<DIV dir=ltr><FONT size=2><SPAN
class=804012915-04102006></SPAN></FONT> </DIV>
<DIV dir=ltr><FONT size=2><SPAN
class=804012915-04102006>--ewh</SPAN></FONT></DIV>
<DIV dir=ltr><FONT size=2><SPAN
class=804012915-04102006></SPAN></FONT> </DIV></BODY></HTML>