<!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&nbsp;(or&nbsp;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>&nbsp;</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>&nbsp;</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.&nbsp; For example, to create italic, it applies a 
slanting algorithm&nbsp;to each glyph.&nbsp; For bold, it probably renders a 
glyph multiple times with each instance slightly offsetted to give a&nbsp;"bold" 
look.</SPAN></FONT></DIV>
<DIV dir=ltr><FONT size=2><SPAN 
class=804012915-04102006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2><SPAN class=804012915-04102006>Wrt RenderX, the 
versions I have worked with (&gt;=4.5) have a feature to&nbsp;"slant" a 
font&nbsp;to simulate italics.&nbsp; For example:</SPAN></FONT></DIV>
<DIV dir=ltr><FONT size=2><SPAN 
class=804012915-04102006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2><SPAN class=804012915-04102006><FONT 
color=#0000ff>&lt;font style="italic"&gt;<BR>&nbsp; &lt;font-data name="Some 
Font" ttf="somefont.ttf"/&gt;<BR>&nbsp; &lt;transform 
slant-angle="10"/&gt;<BR>&lt;/font&gt;</FONT></SPAN></FONT></DIV>
<DIV dir=ltr><FONT color=#0000ff size=2><SPAN 
class=804012915-04102006></SPAN></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV></BODY></HTML>