Hello, I am trying to produce a pdf document in Sanskrit based on a docbook source. I use Xalan (with -p body.font.family "'chandas'") to generate an fo file, as well as an html, and then fop to convert the fo into pdf.
The html file seems to be correct, in that they render the following characters as a joint character: िश्च (see fop.png, which is the fo file seen with Firefox in Linux). The pdf file, however, doesn't seem to be correct. (see pdf.png) I would appreciate any help on the topic. Thanks, Matt Note: (1) I use fop-0.93 on a Linux 2.6.20 64bit (gentoo), with sun-jdk-1.5.0.11 (2) I have registered the chandas.ttf (see http://www.sanskritweb.org/cakram/) with fop: <font metrics-url="file:///usr/local/fop/conf/chandas.xml" kerning="yes" embed-url="file:///usr/local/share/fonts/devanagari/chandas.ttf"> <font-triplet name="chandas" style="normal" weight="normal"/> </font> (3) Running fop `/usr/local/fop/fop -c /usr/local/fop/conf/fop.xconf utf8.fo -pdf utf8.pdf` produces several warnings: [EMAIL PROTECTED] ~ $ /usr/local/fop/fop -c /usr/local/fop/conf/fop.xconf utf8.fo -pdf utf8.pdf Apr 23, 2007 10:06:27 AM org.apache.fop.apps.FopFactory initUserConfig INFO: Source resolution set to: 72.0dpi (px2mm=0.35277778) Apr 23, 2007 10:06:27 AM org.apache.fop.apps.FopFactory initUserConfig INFO: Default page-height set to: 11in Apr 23, 2007 10:06:27 AM org.apache.fop.apps.FopFactory initUserConfig INFO: Default page-width set to: 8.26in Apr 23, 2007 10:06:27 AM org.apache.fop.apps.FopFactory getBaseURLfromConfig INFO: base set to: file:/home/matt/./ Apr 23, 2007 10:06:27 AM org.apache.fop.apps.FOUserAgent configure INFO: Target resolution set to: 72.0dpi (px2mm=0.35277778) Apr 23, 2007 10:06:29 AM org.apache.fop.hyphenation.Hyphenator getHyphenationTree SEVERE: Couldn't find hyphenation pattern en Apr 23, 2007 10:06:29 AM org.apache.fop.fonts.FontInfo notifyFontReplacement WARNING: Font 'chandas,normal,700' not found. Substituting with 'chandas,normal,400'. (4) You can find the following files: http://www.area403.org/utf8.xml (docbook source) http://www.area403.org/utf8.fo (Xalan output w/ fo/docbook.xsl (1.70.1)) http://www.area403.org/utf8.pdf (fop output) http://www.area403.org.utf8.html (Xalan output w/ html/docbook.xsl (1.70.1))
fop.png
Description: PNG image
pdf.png
Description: PNG image
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
