Re: font problem in fop generated pcl file
Darryl Nortje wrote: > I am trying to get the font Garamond printed on my pcl output. When I use > pdf as the output the font is on the pdf document. But when I use -pcl as > the output, there is no Garamond font there. The following are excerps from > the userconfig file, the command line argument I use to generate the pcl, > and output printlines from fop. This is a question for fop-user, but: you embed a TrueType font into you PDF file. The PCL (and PostScript as well) output of FOP do not implement font embedding, TrueType format or not. So, for this to work, you'd have to download the Garamond font to your PCL printer prior to printing the PCL file produced by FOP. How you do this and in which format (I don't really know PCL 6, but in "old" PCL, you cannot use TrueType fonts) is up to you (and your actual printer), unfortunately. You don't get a different log output, because FOP cannot look into your printer and therefore cannot see whether the Garamond font is there. So it assumes everything is ok and doesn't log an error. Hope this helps, Arnd -- Cappelino Informationstechnologie GmbH Arnd Beißner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
font problem in fop generated pcl file
Hi guys. I have an interesting problem that I hope you can help with. I am trying to get the font Garamond printed on my pcl output. When I use pdf as the output the font is on the pdf document. But when I use -pcl as the output, there is no Garamond font there. The following are excerps from the userconfig file, the command line argument I use to generate the pcl, and output printlines from fop. fop -c c:\java\investec\conf\userconfig.xml -xml c:\1.xml -xsl c:\1.xsl -pcl c:\1.pcl C:\fop\fop-0.20.4>java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib \xml-apis.jar;lib \avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -c c:\java\investec\conf\ userconfig.xml -xml c:\1.xml -xsl c:\1.xsl -pcl c:\1.pcl [INFO] FOP @version@ [INFO] building formatting object tree [INFO] rendering areas to PCL [INFO] [1] [INFO] [2] [INFO] [3] [INFO] [4] [INFO] Parsing of document complete, stopping renderer [INFO] writing out PCL When I output to -pdf, The fop printlines are exactly the same. The only difference is that the garamond font is on the pdf. Please help. Thanks Darryl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]