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. !-- userconfig -- fonts font metrics-file=file://c:/java/investec/conf/gara.xml kerning=yes embed-file=file:///c:/windows/fonts/GARA.TTF font-triplet name=Garamond style=normal weight=normal/ /font font metrics-file=file://c:/java/investec/conf/garab.xml kerning=yes embed-file=file:///c:/windows/fonts/GARABD.TTF font-triplet name=Garamond style=normal weight=bold/ /font /fonts !-- command line arguments -- fop -c c:\java\investec\conf\userconfig.xml -xml c:\1.xml -xsl c:\1.xsl -pcl c:\1.pcl !-- fop output -- C:\fop\fop-0.20.4java -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]
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]
Help! About font problem.
In order to resolve the display ... problem, I embed a truetype font by setting up userconfig.xml and call new Option in program. So, the PDF file created by FOP can show the foreign words correctly. But at this time, there are some unbreak text block displaying out of the body region. Somebody help me please. Regards Jesse. _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Help! About font problem.
Yueshu Jesse wrote: In order to resolve the display ... problem, I embed a truetype font by setting up userconfig.xml and call new Option in program. So, the PDF file created by FOP can show the foreign words correctly. But at this time, there are some unbreak text block displaying out of the body region. Somebody help me please. Without seeing an example I understand nothing from your explanation. Provide a small fo snippet, which illustrates your problem. And post it to fop-user list, please. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
embedded font problem (was: Re: FOP 0.20.0 Release now available)
On Mon, 13 Aug 2001 03:27:37 Arved Sandstrom wrote: Confirmed, on all counts: 1) NPE running your 'dsrb2' example, something to do with the lazy font code it looks like; 2) 500 K file for 17 pages with your 'emp' example. I'm not familiar with fonts, so someone else is going to want to examine this; 3) problems with some letters in 'emp'. We advertise font support prominently on the website; I'm not going to announce FOP-0.20.0 until we have some resolution on this. Okay, this should be fixed now. The problem was due to the fonts being added to the reasources after each page. It is now added at the end, in stopRenderer. This also caused the npe that you were experiencing (I'm not sure how, something to do with setting characters as used) I'm not sure about the problem letters, I couldn't get the font file. Maybe someone else can check if this is still a problem. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: embedded font problem (was: Re: FOP 0.20.0 Release now available)
At 09:59 AM 8/13/01 +0200, Keiron Liddle wrote: On Mon, 13 Aug 2001 03:27:37 Arved Sandstrom wrote: Confirmed, on all counts: 1) NPE running your 'dsrb2' example, something to do with the lazy font code it looks like; 2) 500 K file for 17 pages with your 'emp' example. I'm not familiar with fonts, so someone else is going to want to examine this; 3) problems with some letters in 'emp'. We advertise font support prominently on the website; I'm not going to announce FOP-0.20.0 until we have some resolution on this. Okay, this should be fixed now. The problem was due to the fonts being added to the reasources after each page. It is now added at the end, in stopRenderer. This also caused the npe that you were experiencing (I'm not sure how, something to do with setting characters as used) I'm not sure about the problem letters, I couldn't get the font file. Maybe someone else can check if this is still a problem. OK, great. I will create another distro, retire 0.20.0, and put up 0.20.1, this evening. (build.xml will also reflect Chetan Vig's proposed changes). Regards, Arved Fairly Senior Software Type e-plicity (http://www.e-plicity.com) Wireless * B2B * J2EE * XML --- Halifax, Nova Scotia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Font problem
Hello, I noticed that the character quote ' is not changed in Times Roman and in Courrier font in the PDF of FOP whereas this character is different in WORD when you change the font. Does anybody have the same problem ? Nam _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]