[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

FOP conversion font problems

Subject: FOP conversion font problems
From: Mike Ferrando <mikeferrando@xxxxxxxxx>
Date: Tue, 22 Apr 2003 13:53:52 -0700 (PDT)
cmr10.ttf
I am converting documents from XML using XSL into FO files then
using FOP to convert these into PDF.

The problem I am having is that some of my NCR are not transforming
(Numeric Character Reference). My FO file is correct. The
Character NCR is retained "&# 299;" (space added so that you can see
what the NCR is without the space it could appear correctly or
incorrectly) in the FO file.

The transformation is when I run my FO document through the FOP
engine:
Command prompt>fop file.fo file.pdf

What I see instead of the correct character (i with a line over it)
is a "#" (pound sign).

XML:
<element>Solov&# 299;</element> (space added)

--------
S & R '&#' with '& amp;#_'
--------

FO:
<fo:inline>Solov& amp;#_299;</fo:inline> (space added)

--------
S & R '& amp;#_' with '&#'
--------

PDF:
Solov#

I know my XML XSL transformation is no problem, since I regularly
transform XML into HTML or SGML. So, I am trying to fix the problem
that occurs between the FO file and the PDF output file.

I went to the FOP site but I cannot get the jar script to run
correctly. I do not have a cmr10.ttf file on my pc. I am using
Windows 2000.

I regularly get this error when I run my command line.
[ERROR] unknown font Arial,normal,bold so defaulted font to any

Any suggestions?
Sincerely,
Mike Ferrando
Washington, DC

__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.