<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=809573606-10052007><FONT face=Arial 
color=#0000ff size=2>Justin, Have you tried enclosing the name in single quotes? 
~Dee</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=809573606-10052007>&lt;font-family name=" ' 
OCR-B (CBA) ' "&gt;</SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-xep-support@renderx.com 
[mailto:owner-xep-support@renderx.com] <B>On Behalf Of </B>Justin 
Lipton<BR><B>Sent:</B> Wednesday, May 09, 2007 9:38 PM<BR><B>To:</B> 
xep-support@renderx.com<BR><B>Subject:</B> [xep-support] Font names with 
parentheses in them<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR><BR>Of late our good friends at Microsoft have taken to 
putting parentheses in font names - "Arial (W1)" is an example that keeps coming 
up.<BR>Unfortunately these seems to break XEP 4.9<BR><BR>Here's the font 
definition fragment from my xep.xml<BR><BR><PRE>&lt;font-group xml:base=<A class=moz-txt-link-rfc2396E href="file:/tmp/">"file:/tmp/"</A> label="Windows TrueType" embed="true" subset="true"&gt;</PRE><PRE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;font-family name="OCR-B (CBA)"&gt;</PRE><PRE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;font&gt;&lt;font-data ttf="TT0646Z_.ttf"/&gt;&lt;/font&gt;</PRE><PRE>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/font-family&gt;</PRE><PRE>&lt;/font-group&gt;</PRE><BR>My relevant xsl:fo fragment looks like 
this:<BR><BR><PRE>&lt;fo:block id="Paragraph_2" background-color="transparent" 
space-before="0pt" space-after="1.0E-4pt" line-height="120%"
&nbsp;color="black" margin-right="0pt" margin-left="0pt" font-size="12pt" 
font-family="OCR-B (CBA), Symbol, serif" font-weight="normal" 
text-align="left" text-indent="0pt" white-space-collapse="false"&gt;
BTW OCR-B (CBA) rocks &lt;/fo:block&gt;</PRE><BR>XEP Warnings are:<BR><BR><PRE>XEP Warning: Unexpected token in font-family: FUNCTOR</PRE><PRE>XEP Warning: Unexpected token in font-family: RIGHT PARENTHESIS</PRE><BR>and 
I get no PDF output.<BR><BR>I've also tried escaping the parentheses:<BR><PRE>&lt;fo:block id="Paragraph_2" background-color="transparent"
space-before="0pt" space-after="1.0E-4pt" line-height="120%"
color="black" margin-right="0pt" margin-left="0pt" font-size="12pt"
font-family="OCR-B \(CBA\), Symbol, serif" font-weight="normal"
text-align="left" text-indent="0pt" white-space-collapse="false"&gt;BTW
OCR-B (CBA) rocks &lt;/fo:block&gt;</PRE><BR>to no avail.<BR><BR>Renaming the 
font to remove the parentheses resolves the issue.<BR>Is this a bug? - Any help 
would be appreciated.<BR><BR>Regards,<BR>Justin.<BR><BR><BR>
<DIV class=moz-signature>-- <BR><BASEFONT face="Arial, Helvetica, sans-serif" 
color=#666666 size=2>
<DIV>
<P style="FONT-FAMILY: sans-serif" align=left><STRONG>Justin 
Lipton</STRONG><BR><A 
href="mailto:justin.lipton@exari.com">justin.lipton@exari.com</A><BR>Level 7, 
10-16 Queen Street, Melbourne 3000 Australia <BR>Tel +61 3 9621 2775 | Fax +61 3 
9621 2776 <BR></P></DIV>
<DIV>
<P style="FONT-FAMILY: sans-serif" align=left><STRONG>Exari 
Systems</STRONG><BR>London | Melbourne | San Francisco <BR><A 
href="http://www.exari.com">www.exari.com</A></P>
<P style="FONT-FAMILY: sans-serif" align=left><STRONG>Really Important 
Notice</STRONG><BR><SMALL>Actually, this is only important if this email was 
sent to you by mistake or if someone sent it to you when they shouldn't have. If 
you got it by mistake, please reply and tell us so we can re-send it to the 
right person. If you got it from someone who should know better, please tell 
them they're in big trouble. In either case, please don't forward it on to 
anyone else. Or print it. Or talk about it. Otherwise you'll be in big trouble 
too.</SMALL><BR><BR><A href="http://www.exari.com/document-assembly.html"><IMG 
height=24 alt="exari logo" src="cid:809573606@10052007-02C4" width=72 
align=bottom border=0></A><BR></P></DIV></DIV></BASEFONT></BODY></HTML>