Re: Embedded Fonts Relative Path 0.94
Both are possible: using a config file and in code, although in code is better if you don't know beforehand which directory it will be, i.e. you have to determine it at runtime. I simply couldn't believe that this shouldn't work and I wrote a little test (see below) where I set the font base directory in code. It worked with no problems. I used the same config file as shown earlier except that I removed the font-base element. import java.io.File; import java.io.OutputStream; import javax.xml.transform.Result; import javax.xml.transform.Source; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.xml.transform.sax.SAXResult; import javax.xml.transform.stream.StreamSource; import org.apache.fop.Version; import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.Fop; import org.apache.fop.apps.FopFactory; import org.apache.fop.apps.FormattingResults; import org.apache.fop.apps.MimeConstants; public class RelFonts { public void doit() throws Exception { FopFactory fopFactory = FopFactory.newInstance(); fopFactory.setUserConfig(C:/Dev/FOP/temp/help/MichaelBurke/test.xconf); File fopRoot = new File(C:/Dev/FOP/main/xml-fop-temp3); fopFactory.setFontBaseURL(fopRoot.toURL().toExternalForm() + test/resources/fonts/); FOUserAgent userAgent = fopFactory.newFOUserAgent(); File fo = new File(C:/Dev/FOP/temp/help/MichaelBurke/relfont.fo); File pdf = new File(D:/out.pdf); OutputStream out = new java.io.FileOutputStream(pdf); out = new java.io.BufferedOutputStream(out); Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, userAgent, out); TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); // identity transformer Source src = new StreamSource(fo); Result res = new SAXResult(fop.getDefaultHandler()); transformer.transform(src, res); // Result processing FormattingResults foResults = fop.getResults(); System.out.println(Generated + foResults.getPageCount() + pages in total.); } public static void main(String[] args) { try { System.out.println(FOP Version: + Version.getVersion()); RelFonts app = new RelFonts(); app.doit(); } catch (Throwable t) { t.printStackTrace(); } } } On 14.01.2008 19:24:01 Michael Burke wrote: I tried that. I can set the font base in code, but the fonts will not embed. The only way I've got them to embed is if I point to them in my font config file by pointing to them using an absolute path file://c:/.., which I can't do, due to the fact that I can't change the path for every server. If you want to embed the fonts does it have to be done using the config file or is it possible to do it in code. Thanks again for your help. Thanks, Mike --- Jeremias Maerki [EMAIL PROTECTED] wrote: Ah, you wanted to use a relative path on the font base setting, not on the individual paths. Shouldn't really be a problem as long as you know where your current directory is (new File(.).getCanonicalPath()). But if you know the absolute base directory, it's better set that. Something like... FopFactory fopFactory = fopFactory.setFontBaseURL(file:///C:/something/fonts); ...should do the trick. HTH On 14.01.2008 18:34:05 Michael Burke wrote: Hi Jeremias, Thanks for responding so quickly. Is it possible to set the font base path relatively? Reason being, is this will be moved to many development, QA and Production machines so we won't alway know the path absolute path. If we can't do this in the config file. Is it possible to do it in code? I've set the FOPFactory.setFontBasePath to the path of where our font and font metrics reside. However it does not embed the fonts. Any help would be greatly appreciated. Thanks, Michael Burke --- Jeremias Maerki [EMAIL PROTECTED] wrote: Here's a minimal config file demonstrating relative fonts. You will simply need to adjust the font-base setting (glb12.ttf is a font that's found in the FOP source distribution). test.xconf: ?xml version=1.0? fop version=1.0 font-baseC:\Dev\FOP\main\trunk-clean\test\resources\fonts/font-base renderers renderer mime=application/pdf fonts font embed-url=glb12.ttf font-triplet name=Gladiator style=normal weight=normal/ font-triplet name=Gladiator style=normal weight=bold/ /font /fonts /renderer /renderers /fop A minimal FO file (relfont.fo): ?xml version=1.0 ? fo:root
Re: [ANN] New release of PDF image support for Apache FOP
Thanks. I've added a redirect. It actually should have been http://www.jeremias-maerki.ch/development/fop/ On 14.03.2008 22:38:54 Kamal Bhatt wrote: In your readme, you specify the following website: http://www.jeremias-maerki.ch/dev/fop/ This website doesn't seem to work any more. Jeremias Maerki wrote: I've just published a new release (Version 1.1) of the PDF image support plug-in for Apache FOP. Note: this release is only interesting for people using FOP Trunk revision 611768 or later. Version 1.1 doesn't work with FOP 0.94 or any earlier version. If you use FOP 0.94, you can use Version 1.0 of the plug-in which is still available for download. For details on the plug-in, please read the README file in the distribution. Downloads: http://www.jeremias-maerki.ch/download/fop/pdf-images/ Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Word Doc to FO to PDF
Hi, I have a document containing a few sentences, one GIF image and one multi-page table of 4 columns. The data that goes into the table is dynamic data, drawn from a third-party webservice. I used the WordML2FO tool to supply the relevant file to FOP. The page margins in the PDF are not as per my original document. The right margin is absent, characters overflow the page, and the GIF image at the top of the page is missing. Here's an extract of the xml file going into the FOP. (I suspect this might contain the cause). ?xml version=1.0 encoding=utf-8 ? - fo:root font-family=TimesNewRoman xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:w=http://schemas.microsoft.com/office/word/2003/wordml; - fo:layout-master-set xmlns:rx=http://www.renderx.com/XSL/Extensions; xmlns:o=urn:schemas-microsoft-com:office:office xmlns:v=urn:schemas-microsoft-com:vml xmlns:wx=http://schemas.microsoft.com/office/word/2003/auxHint; xmlns:aml=http://schemas.microsoft.com/aml/2001/core; xmlns:w10=urn:schemas-microsoft-com:office:word xmlns:dt=uuid:C2F41010-65B3-11d1-A29F-00AA00C14882 - fo:simple-page-master master-name=section1-first-page page-width=8.2701389in page-height=11.6902778in margin-top=36pt margin-bottom=36pt margin-right=54pt margin-left=54pt fo:region-body margin-top=18pt margin-bottom=18pt / fo:region-before region-name=first-page-header extent=11in / fo:region-after region-name=first-page-footer extent=11in display-align=after / /fo:simple-page-master Need help identifying the cause of the problem. Paddy -- View this message in context: http://www.nabble.com/Word-Doc-to-FO-to-PDF-tp14838586p14838586.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Word Doc to FO to PDF
Hi Paddy, I do not know anything about the WordML2FO tool. I use an other way to transform Word into PDF : 1 - I first transform the Word into a Postscript file using a printer that prints directly into a postscript file. (install a new local printer on Windows, then choose the port FILE, then choose the generic MS Publisher Color Printer printer device. The step 1 can be automated by the following command line start /wait rundll32 printui.dll,PrintUIEntry /if /b MyPrinter /f %windir%\inf\ntprint.inf /r file: /m MS Publisher Color Printer ). 2 - Then, I the transform this postscript file using ghostscript (refer to the command line : gswin32.exe -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=final.pdf test.ps) Regards, Greg -Message d'origine- De : Padmanabha [mailto:[EMAIL PROTECTED] Envoye : mardi 15 janvier 2008 13:11 A : fop-users@xmlgraphics.apache.org Objet : Word Doc to FO to PDF Hi, I have a document containing a few sentences, one GIF image and one multi-page table of 4 columns. The data that goes into the table is dynamic data, drawn from a third-party webservice. I used the WordML2FO tool to supply the relevant file to FOP. The page margins in the PDF are not as per my original document. The right margin is absent, characters overflow the page, and the GIF image at the top of the page is missing. Here's an extract of the xml file going into the FOP. (I suspect this might contain the cause). ?xml version=1.0 encoding=utf-8 ? - fo:root font-family=TimesNewRoman xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:w=http://schemas.microsoft.com/office/word/2003/wordml; - fo:layout-master-set xmlns:rx=http://www.renderx.com/XSL/Extensions; xmlns:o=urn:schemas-microsoft-com:office:office xmlns:v=urn:schemas-microsoft-com:vml xmlns:wx=http://schemas.microsoft.com/office/word/2003/auxHint; xmlns:aml=http://schemas.microsoft.com/aml/2001/core; xmlns:w10=urn:schemas-microsoft-com:office:word xmlns:dt=uuid:C2F41010-65B3-11d1-A29F-00AA00C14882 - fo:simple-page-master master-name=section1-first-page page-width=8.2701389in page-height=11.6902778in margin-top=36pt margin-bottom=36pt margin-right=54pt margin-left=54pt fo:region-body margin-top=18pt margin-bottom=18pt / fo:region-before region-name=first-page-header extent=11in / fo:region-after region-name=first-page-footer extent=11in display-align=after / /fo:simple-page-master Need help identifying the cause of the problem. Paddy -- View this message in context: http://www.nabble.com/Word-Doc-to-FO-to-PDF-tp14838586p14838586.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
last-line-end-indent in 0.94
It appears that FOP 0.94 treats negative values for last-line-end-indent as 0, which is wrong. Non-negative values produce the expected results. Eric Amick Legislative Computer Systems Office of the Clerk
FW: Text Formatting Problem
I have a three-column listing of phone numbers, and most of the time, each column entry has only one line of text. Sometimes, however, I have entries that look like this: Text that spans two lines ... 9 More text that spans two lines In case the format gets garbled, the number in the second column should line up with the last line of text in the first column and the first line of text in the third column. I've tried using display-align and vertical-align, but I can't come up with a way that works. Does anyone have any suggestions? Eric Amick Legislative Computer Systems Office of the Clerk
Rendering time configuration settings using fo:declarations
Hi all, A thought occurred to me whilst implementing something and I thought I would share it with you.. I don't have time to implement this but maybe somebody else would like to pick up this idea/suggestion... Basically, I was wondering if anyone thought it would be a useful feature to be able to provide renderer configuration settings within the fo:declarations section of an FO document? These settings could resemble and override any user configuration settings that may have been set at startup time through the API or user configuration file (e.g. fop.xconf). So the top of your FO document might look something like the following :- fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:declarations fox:strict-validationtrue/fox:strict-validation fox:renderers fox:renderer mime=application/postscript /fox:renderer fox:renderer mime=application/pdf /fox:renderer . /fox:renderers /fo:declarations fo:layout-master-set /fo:root Something like this shouldn't be too difficult to implement (any volunteers?) and I think it might provide quite a bit of value. It would be important to remember that the lifetime of these settings would only remain within the rendering run of the particular document that is being processed and subsequent documents being processed would revert back to FOP's default startup time settings. Adrian. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
language specification for PDF document
Hi All, Our goal is: Create a PDF document via FOP with the language set to English (en) at the document level. Is there a way in Apache FOP to achieve this goal? Does the common hyphenation property language applicable? Your help is greatly appreciated, Henry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Rendering time configuration settings using fo:declarations
Adrian Cumiskey wrote: snip/ Something like this shouldn't be too difficult to implement (any volunteers?) and I think it might provide quite a bit of value. It would be important to remember that the lifetime of these settings would only remain within the rendering run of the particular document that is being processed and subsequent documents being processed would revert back to FOP's default startup time settings. Yes I think this would definitely be a useful feature :) A number of Renderer options such as ps-page-setup are implemented as extension elements which allows them to be changed on a document by document basis. Currently its not possible for options which are not implemented as extension elements which can be an annoying restriction in some projects. I have no time to help with the implementation though! Thanks, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: language specification for PDF document
Li, Hao wrote: Hi All, Our goal is: Create a PDF document via FOP with the language set to English (en) at the document level. Is there a way in Apache FOP to achieve this goal? Does the common hyphenation property language applicable? Yes you can specify language property on fo:root element, e.g. fo:root language=en fo:layout-master-set ... fo:page-sequence master-reference=a4 ... /fo:root Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: language specification for PDF document
Thanks Chris. I followed your instruction to generate the pdf. After I open it in acrobat, under file-document properties-advanced-reading options, the language option is still blank. Am I missing something? Please help. Thank you very much. -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 12:58 PM To: fop-users@xmlgraphics.apache.org Subject: Re: language specification for PDF document Li, Hao wrote: Hi All, Our goal is: Create a PDF document via FOP with the language set to English (en) at the document level. Is there a way in Apache FOP to achieve this goal? Does the common hyphenation property language applicable? Yes you can specify language property on fo:root element, e.g. fo:root language=en fo:layout-master-set ... fo:page-sequence master-reference=a4 ... /fo:root Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: last-line-end-indent in 0.94
On Jan 15, 2008, at 17:26, Amick, Eric wrote: Hi It appears that FOP 0.94 treats negative values for last-line-end- indent as 0, which is wrong. Non-negative values produce the expected results. That seems like a bug indeed. The XSL-FO 1.1 Recommendation clearly states that 'Positive values indent the edge, negative values outdent the edge' (from 7.16.3 last- line-end-indent) If you don't mind, please record this in Bugzilla (http:// issues.apache.org/bugzilla/), so we don't lose track of this. Thanks! Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: language specification for PDF document
The language identifier (for the natural language of the document) is part of the chapter about Logical Structure in the PDF specification. That is something FOP doesn't support, yet. On 15.01.2008 20:37:54 Li, Hao wrote: Thanks Chris. I followed your instruction to generate the pdf. After I open it in acrobat, under file-document properties-advanced-reading options, the language option is still blank. Am I missing something? Please help. Thank you very much. -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 12:58 PM To: fop-users@xmlgraphics.apache.org Subject: Re: language specification for PDF document Li, Hao wrote: Hi All, Our goal is: Create a PDF document via FOP with the language set to English (en) at the document level. Is there a way in Apache FOP to achieve this goal? Does the common hyphenation property language applicable? Yes you can specify language property on fo:root element, e.g. fo:root language=en fo:layout-master-set ... fo:page-sequence master-reference=a4 ... /fo:root Chris Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: language specification for PDF document
On Jan 15, 2008, at 20:37, Li, Hao wrote: Hi I followed your instruction to generate the pdf. After I open it in acrobat, under file-document properties-advanced-reading options, the language option is still blank. Am I missing something? As far as I know, the 'language' property is used by FOP *only* for determining the hyphenation pattern file to use (if hyphenation is enabled). I don't think that the property is used for anything else (and so, will not yet be reflected in the document properties) It's probably not too difficult to implement (given enough time and enough knowledge about the PDF Specification). Patches are always welcome. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: language specification for PDF document
Hi Jeremias, Is this document level language identifier part of XSL-FO standard and its usage is fo:root language=en like Chris suggested? Or can it be xml:lang attribute? Thanks a lot. Henry -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 2:54 PM To: fop-users@xmlgraphics.apache.org Subject: Re: language specification for PDF document The language identifier (for the natural language of the document) is part of the chapter about Logical Structure in the PDF specification. That is something FOP doesn't support, yet. On 15.01.2008 20:37:54 Li, Hao wrote: Thanks Chris. I followed your instruction to generate the pdf. After I open it in acrobat, under file-document properties-advanced-reading options, the language option is still blank. Am I missing something? Please help. Thank you very much. -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 12:58 PM To: fop-users@xmlgraphics.apache.org Subject: Re: language specification for PDF document Li, Hao wrote: Hi All, Our goal is: Create a PDF document via FOP with the language set to English (en) at the document level. Is there a way in Apache FOP to achieve this goal? Does the common hyphenation property language applicable? Yes you can specify language property on fo:root element, e.g. fo:root language=en fo:layout-master-set ... fo:page-sequence master-reference=a4 ... /fo:root Chris Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: language specification for PDF document
On Jan 15, 2008, at 21:29, Li, Hao wrote: Hi Is this document level language identifier part of XSL-FO standard and its usage is fo:root language=en like Chris suggested? Or can it be xml:lang attribute? The xml:lang 'attribute' in XSL-FO is classified as a shorthand (http://www.w3.org/TR/xsl11/#xml.lang), and as such, in theory it could be used to set the native XSL-FO 'language' property (but at the same time also 'country' and 'script', if applicable). In practice, this shorthand is not-yet-implemented in FOP (http:// xmlgraphics.apache.org/fop/compliance.html#fo-property-xml:lang). Even if it would be, it would still suffer the same limitations as the 'language' property. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] New release of PDF image support for Apache FOP
Jeremias Maerki wrote: Thanks. I've added a redirect. It actually should have been http://www.jeremias-maerki.ch/development/fop/ This would be useful to my company if you supported the addition of PDFs to postscript files or the addition of postscript files to PDFs. Do you have any plans to do so? Thanks. On 14.03.2008 22:38:54 Kamal Bhatt wrote: In your readme, you specify the following website: http://www.jeremias-maerki.ch/dev/fop/ This website doesn't seem to work any more. Jeremias Maerki wrote: I've just published a new release (Version 1.1) of the PDF image support plug-in for Apache FOP. Note: this release is only interesting for people using FOP Trunk revision 611768 or later. Version 1.1 doesn't work with FOP 0.94 or any earlier version. If you use FOP 0.94, you can use Version 1.0 of the plug-in which is still available for download. For details on the plug-in, please read the README file in the distribution. Downloads: http://www.jeremias-maerki.ch/download/fop/pdf-images/ Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kamal Bhatt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Rendering time configuration settings using fo:declarations
On Jan 15, 2008, at 18:11, Adrian Cumiskey wrote: Hi A thought occurred to me whilst implementing something and I thought I would share it with you.. I don't have time to implement this but maybe somebody else would like to pick up this idea/ suggestion... Basically, I was wondering if anyone thought it would be a useful feature to be able to provide renderer configuration settings within the fo:declarations section of an FO document? Splendid idea to post it here. I sure do hope it reaches the right person for the job. These settings could resemble and override any user configuration settings that may have been set at startup time through the API or user configuration file (e.g. fop.xconf). So the top of your FO document might look something like the following :- fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:declarations fox:strict-validationtrue/fox:strict-validation Basically a cool idea, but I would not put it in the default extension namespace. Instead, we could reserve a special FOP-config namespace for it. Definitely seems to have a lot of potential to be able to include the configurable settings at the XSLT stage, if desired. Those using Saxon 8-SA, could then have that config file validated against the fop-configuration.xsd at runtime. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Text Formatting Problem
On Jan 15, 2008, at 18:03, Amick, Eric wrote: Hi I have a three-column listing of phone numbers, and most of the time, each column entry has only one line of text. Sometimes, however, I have entries that look like this: Text that spans two lines ... 9 More text that spans two lines In case the format gets garbled, the number in the second column should line up with the last line of text in the first column and the first line of text in the third column. I've tried using display-align and vertical-align, but I can't come up with a way that works. Does anyone have any suggestions? Can you post the FO-snippet you currently have? I was thinking something like (only works in case you always have three lines, and they're all in the same font-size): fo:table fo:table-column column-width=proportional-column-width(2) / fo:table-column column-width=proportional-column-width(1) / fo:table-column column-width=proportional-column-width(2) / fo:table-body fo:table-cell starts-row=true display-align=before fo:blockText that spans two lines .. /fo:block /fo:table-cell fo:table-cell display-align=center fo:block9/fo:block /fo:table-cell fo:table-cell ends-row=true display-align=after fo:blockMore text that spans two lines/fo:block /fo:table-cell /fo:table-body /fo:table Another way to achieve something similar, would be by means of fo:block-containers (implemented) or fo:inline-containers (unimplemented, but being worked on). The display-align properties do not apply to fo:block or fo:inline. Maybe that's the reason why it doesn't work for you (? remote guess) HTH! Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] New release of PDF image support for Apache FOP
Stuff like that is on my wishlist but I currently have no such plans. Embedding PDF in PostScript files requires a PDF interpreter. PDFBox has the beginnings of one but it needs more work. I think Ben Litchfield (the primary author of PDFBox) would be happy get help/resources to improve that part. Having a good Java-based PDF interpreter/viewer that is liberally licensed would be a great thing in the first place. The alternative (depends on licensing options) is to use GhostScript (GPL/commercial license) to convert PDF to EPS. EPS is directly supported by the PDF renderer. Embedding PostScript in PDF requires a PostScript interpreter. There's no decent one, yet, in the Java world so you end up with GhostScript again. Depending on how useful this functionalty is to your company, we could talk off-list about some sponsoring. ;-) On 15.01.2008 22:11:09 Kamal Bhatt wrote: Jeremias Maerki wrote: Thanks. I've added a redirect. It actually should have been http://www.jeremias-maerki.ch/development/fop/ This would be useful to my company if you supported the addition of PDFs to postscript files or the addition of postscript files to PDFs. Do you have any plans to do so? Thanks. On 14.03.2008 22:38:54 Kamal Bhatt wrote: In your readme, you specify the following website: http://www.jeremias-maerki.ch/dev/fop/ This website doesn't seem to work any more. Jeremias Maerki wrote: I've just published a new release (Version 1.1) of the PDF image support plug-in for Apache FOP. Note: this release is only interesting for people using FOP Trunk revision 611768 or later. Version 1.1 doesn't work with FOP 0.94 or any earlier version. If you use FOP 0.94, you can use Version 1.0 of the plug-in which is still available for download. For details on the plug-in, please read the README file in the distribution. Downloads: http://www.jeremias-maerki.ch/download/fop/pdf-images/ Jeremias Maerki Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kamal Bhatt Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: language specification for PDF document
Thanks Andreas. Does it mean that the implementation will be Apache FOP specific, because there is no such XSL-FO standard property for document level language of PDF? Thank you very much, Henry -Original Message- From: Andreas L Delmelle [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 15, 2008 2:47 PM To: fop-users@xmlgraphics.apache.org Subject: Re: language specification for PDF document On Jan 15, 2008, at 20:37, Li, Hao wrote: Hi I followed your instruction to generate the pdf. After I open it in acrobat, under file-document properties-advanced-reading options, the language option is still blank. Am I missing something? As far as I know, the 'language' property is used by FOP *only* for determining the hyphenation pattern file to use (if hyphenation is enabled). I don't think that the property is used for anything else (and so, will not yet be reflected in the document properties) It's probably not too difficult to implement (given enough time and enough knowledge about the PDF Specification). Patches are always welcome. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: language specification for PDF document
On Jan 15, 2008, at 23:36, Li, Hao wrote: Hi Henry Does it mean that the implementation will be Apache FOP specific, because there is no such XSL-FO standard property for document level language of PDF? Basically: yes. There is no connection/obligation of a FO processor to any particular output format, like PDF or PostScript. Also, it is currently unimplemented at the moment, so should someone decide to have a shot at implementing it, and he does not know what AntennaHouse or RenderX do with the related properties (language/ country/script), then it is very likely that an eventual implementation will be specific to Apache FOP. Cheers Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Making serialization documents in FOP
Hi. I'm creating java servlet for making PDF file from xml and xslt files. It's possible making documents with 1000 pages or more ? How many memory i must have in my server to do this ? How long take generate this file ? -- View this message in context: http://www.nabble.com/Making-serialization-documents-in-FOP-tp14871674p14871674.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Making serialization documents in FOP
It's impossible to give hard numbers here because so many influencing factors play a role (factors are: information density, layout complexity, document structure etc.). Following a few rules it's perfectly possible to produce documents with over 1000 pages but that may not always be possible depending on the requirements. Some hints on how to keep memory consumption low can be found here: http://xmlgraphics.apache.org/fop/stable/running.html#memory Performance also depends a lot on the document complexity. On 16.01.2008 08:35:01 Neuro wrote: Hi. I'm creating java servlet for making PDF file from xml and xslt files. It's possible making documents with 1000 pages or more ? How many memory i must have in my server to do this ? How long take generate this file ? -- View this message in context: http://www.nabble.com/Making-serialization-documents-in-FOP-tp14871674p14871674.html Sent from the FOP - Users mailing list archive at Nabble.com. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]