Fonts in PDF (embedded postscript)
Hi all, I create pdf-documents with fop which have other postscript files inside. Now when I print the generated pdf, the fonts (specified in the postscript) are substituted by (I think) Courier. I've tried to embed these fonts into the pdf. Now the content of the pdf uses this fonts correctbut the embedded postscript looks still poor on printing. I print the pdf via command line on Acrobat Reader 5.0. Has anyone an idea? ThanX Torsten Erler Junior Software DeveloperE-mail: mailto:[EMAIL PROTECTED] Telephone: (+49) 351-31875-0Direct: (+49) 351-31875-754net-linx Europe GmbH Kaethe-Kollwitz-Ufer 76 01309 Dresden, Germany
Re: page-position=last, FOP vs XEP
Tim Landscheidt wrote: It has come to my attention that page-position=last is not yet implemented in FOP. That is a big problem for the purpose I have. I tried with XEP (from RenderX) and it seems to work here. The problem with XEP is a) it does note support pcl output, which I need, and b) it is a Windows-only-thing, which is also a problem. [...] AFAIK, XEP is not limited to Windows. Probably Nwilan meant Antenna formatter, which is windows only. XEP written in java hence is crossplatform app. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
and characters in fo:block
I have problem with '' and '' characters. I use fop for doing some reports, and from time to time I need to print something like 'empty' or 'null' Of course I cannot just write this in content of fo:block element, becouse XMLparser will expect /empty or /null tags, but how to print that MZ
Table footers and headers
Can I define table-headers and table-footers that are only visualized when the table is segmented into several pages? If the table spans 3 pages, is the effect that I want that page 1 has a footer but no header, page 2 has both header and footer, and page 3 has header but no footer. If the table spans 1 page, then no header or footer should be visualized. Thanks for any help! _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
RE: Fonts in PDF (embedded postscript)
Attached is a sample pdf file with one included postscsript-ad (Ad.ps). The PDF uses the same font like the original postscript file (BellCentennial). The postscript file is called in the generated fo-file as followed: fo:block text-align=center fo:external-graphic src=file:/c:/Ad.ps/ /fo:block I print the document on command line from whithin a java program: Runtime.getRuntime().exec( [path_to_acrobat]/acdrord32.exe myfile.pdf /p /h ); The text in the pdf is using this special font but the postscript font will be substituted on printing with Courier. If I print the generated pdf document to a postscript-file and open it with gsview everything looks ok (fonts are installed in ghostscripts fonts directory). It's impossible to embedd the font in each postscript file, because of the most of the postscript files contains only one line (like Name Tel.-Nr.). (Theoretically) hundreds of generated ad's are in one pdf-proof and thousends of proofs can be processed in a batch. ThanX Torsten -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Dienstag, 12. November 2002 13:37 To: [EMAIL PROTECTED] Subject: Re: Fonts in PDF (embedded postscript) Probably, it has something to do with the way a particular font is referenced. Acrobat maps the font names to different names when you convert a PDF to PS. The PS part in the PDF has then no access to the embedded fonts because the names don't match. You could try to let the application that produces your EPS files embedd the fonts. I've checked with CorelDraw and it works. But that will obviously mean that the font gets embedded twice, once for the EPS and once for the PDF. Another approach is to switch to SVG instead of EPS. Can you post a sample? How do you print the PDF? Jeremias Maerki attachment: example.zip
Re: xsl:external-graphic and jar file
Dang Minh Phuong wrote: is there any difference if my gif file and my xsl file are in the same jar archive. I don't know how to put the file name after file:/// (assume that every thing is in resource.jar) FOP has no idea where your xsl is stored, it just receives fo document as input. You must provide valid absolute or relative URI for each image, that's it, you can use http:, file:, jar:, gopher: protocols, whatever java supports. Have you tried jar:///path/rersource.jar!/foo/bar/image.gif? -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
Re: input form
On Tue, 2002-11-12 at 14:44, Thomas Ottosen wrote: Hi All, I am currently working on a project on xsl-fo but have a minor problem. How is it possible to make a input form in pdf, using FOP. A user can then filout the form and print it. see http://www.erhverv.toldskat.dk/Blanketter/31025.pdf Hi Thomas, Currently it is not possible. It should be quite possible to do this with an extension but so far no one has implemented such an extension. Keiron.
Re: input form
Bhalerao, Gauri N (GECP, MABG, 535876) wrote: Can somebody tell me how to unsubscribe from the list? Send a mesage to [EMAIL PROTECTED] -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
absolute position fo:block to attain magazine like layout
Is it possible to position a block in an exact location and have the rest of the text flow around it? example. I have a two column newsletter and I would like to put a callout box in the middle of the page. I am not sure if this is an XSL question of FOP so I am sending this question to both lists. asdfsdfsadfasasd asfasfsadfsafsadf asdfasfdsa asdfsa asdf asdf as fasd asdfsadfsd---asfsadff as as adf asdf | as asd s | as as as as sa| as as a | a asd af f s ff sf as asdf asf a asdf sad asfsadf asdf as asdfsf assafd sadf asdf asdfasfas asf asff asdfs asd asdffas asdfsaf I hope this illustrates what I would like to output. Thanks Noel
Re: Table footers and headers
Nwilan Glirt wrote: Can I define table-headers and table-footers that are only visualized when the table is segmented into several pages? If the table spans 3 pages, is the effect that I want that page 1 has a footer but no header, page 2 has both header and footer, and page 3 has header but no footer. If the table spans 1 page, then no header or footer should be visualized. Look at table-omit-footer-at-break and table-omit-header-at-break, that's all xsl-fo allows you to constrain. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
keep-with-next and small-caps
Title: keep-with-next and small-caps I have two problems: I'm trying to keep multiple rows together, like so: fo:table-row keep-with-next=always [ cells ] /fo:table-row fo:table-row keep-with-next=always [ cells ] /fo:table-row fo:table-row [ cells ] /fo:table-row That doesn't seem to keep it together though (no changed behavior). I looked at xsl:fo tutorials and this mailing list's history and it seemed to me the above should work. I'm using fop-0.20.4. Any alternatives/suggestions? I was using font-variant=small-caps in a table-header. That was working just perfect if this table only was one page. The header was also present on consecutive pages but the small-caps was gone (it was just normal font-variant). Why is that? In particular I'm very confused by that because I thought fop only evaluates the header once (I verified that with debug messages). So how can the header then be different for tables that span multiple pages? The above seemed fop issues to me (limitations?), so I hope I'm at the right place. If not let me know and I guess I'll seek an xsl-fo mailing list. thanks, Philip
Re: keep-with-next and small-caps
Berg, Philip wrote: I'm trying to keep multiple rows together, like so: fo:table-row keep-with-next=always [ cells ] /fo:table-row fo:table-row keep-with-next=always [ cells ] /fo:table-row fo:table-row [ cells ] /fo:table-row That doesn't seem to keep it together though (no changed behavior). I looked at xsl:fo tutorials and this mailing list's history and it seemed to me the above should work. I'm using fop-0.20.4. Any alternatives/suggestions? It works fine for me. Chances are you misunderstood the semantics a little bit. keep-with-next constraint means that last area generated by the object shouldn't be a trailing one within a context (page, column, line), therefore the only a situation when your table-row ends up and there is no areas after it on the page considered to be not satisfying the constraints. I mean if your row starts on 1 page and ends on 2 one then next row should be started immidiately after it on 2 page and the condition is satisfied. I was using font-variant=small-caps in a table-header. That was working just perfect if this table only was one page. The header was also present on consecutive pages but the small-caps was gone (it was just normal font-variant). Why is that? In particular I'm very confused by that because I thought fop only evaluates the header once (I verified that with debug messages). So how can the header then be different for tables that span multiple pages? The above seemed fop issues to me (limitations?), so I hope I'm at the right place. If not let me know and I guess I'll seek an xsl-fo mailing list. Hmmm, looks like a bug, file it to bugzilla. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
landscape orientation
Hi I am trying to print a name and address on an envelope using a landscape orientation fo:block reference-orientation="90" does not seem to work. haven't tried it in 20.4 yet is there a workaround for this in 20.3? thank you
Re: landscape orientation
Rick Delpo wrote: I am trying to print a name and address on an envelope using a landscape orientation fo:block reference-orientation=90 does not seem to work. haven't tried it in 20.4 yet reference-orientation is not implemented yet. is there a workaround for this in 20.3? thank you You can try swap page-height and page-width, for example 297mm wide x 210mm height page all printers around me understand as landscape oriented page. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
Re: landscape orientation
Thanks for your quick reply. It works great. THANKS AGAIN you saved me a ton of research time. keep up the good work !! - Original Message - From: Oleg Tkachenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 12, 2002 1:41 PM Subject: Re: landscape orientation Rick Delpo wrote: I am trying to print a name and address on an envelope using a landscape orientation fo:block reference-orientation=90 does not seem to work. haven't tried it in 20.4 yet reference-orientation is not implemented yet. is there a workaround for this in 20.3? thank you You can try swap page-height and page-width, for example 297mm wide x 210mm height page all printers around me understand as landscape oriented page. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
Re: PFM font embedding problems.
Dennis Myrn wrote: I am with joy using the FOP processor to generate PDF documents from XSL FO documents. I now have to embed a third party Postscript based font(a PFM file). I have experienced problems with this embedding inside the PDF document. Could someone give me a deep explanation on how to achive this, step by step? Step-by-step instructions described at http://xml.apache.org/fop/fonts.html, but looks like you know it already. Show us the font definition in your userconfig.xml and check if FOP complains about anything in a debug trace. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel
xsl-fo as a report writer
Hi, I am an analyst/programmer working for a small data processing application service provider. We currently use a proprietary 4GL as a report writer. Sadly the report writer in this 4GL isquite buggy. We have reported these bugs to the 4GL vendor but they have said that they have no intention to fix any of the bugs with their report writer module. The 4GL can export data in xml format. My intention is to evaluate xsl-fo/xsl to see how wellit can render this data to the printed page. My questions are: Can xsl-fo handle headers/subheaders/footers/subfooters/totals/subtotals/control breaks and so forth? Can xsl-fo handle line drawing? Thanks in advance, Regards, Bob Walsh Do you Yahoo!? U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD