PDF generation causes Browser crash...
Hi Everybody, I have encountered a problem that doesn't have to be directly related to FOP but i still hope that someone could help me with this. Our PDFs that we generate using FOP, will always be shown in an internet browser because we use FOP in an internet application. The problem that one of our customers has is, that he doesn't get the PDF but a blank or black page wich results in crashing his browser. He has installed the newest version of Adobe Acrobat and uses Sky DSL ( Satelite DSL ). In hope that someone could help because i have absolutely no idea why this happens. Best regards, Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PDF generation causes Browser crash...
Ive had this myself - its a problem to do with outputting PDF to the browser with PHP I dont know what the answer is I just reverted to changing the http header content type disposition to force download as getting it to display in all browsers seemed like a fruitless task. Christian Loock wrote: Hi Everybody, I have encountered a problem that doesn't have to be directly related to FOP but i still hope that someone could help me with this. Our PDFs that we generate using FOP, will always be shown in an internet browser because we use FOP in an internet application. The problem that one of our customers has is, that he doesn't get the PDF but a blank or black page wich results in crashing his browser. He has installed the newest version of Adobe Acrobat and uses Sky DSL ( Satelite DSL ). In hope that someone could help because i have absolutely no idea why this happens. Best regards, Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jimmy Dixon, Perfiliate Technologies email : [EMAIL PROTECTED] phone : +44 (0)191 241 6500 Registered Office: Perfiliate Technologies Limited 7-15 Pink Lane, Newcastle upon Tyne. NE1 5DW Registered No. 3783384 in the UK Telephone +44 (0)191 241 6500 Facsimile +44 (0)191 241 9302 www.perfiliate.com Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. We check all emails for viruses, but please note that we do not accept liability for any viruses which may be transmitted in or with this email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PDF generation causes Browser crash...
Which Header exactliy did you send? Christian -Original Message- From: Jimmy Dixon [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 1:08 PM To: fop-users@xmlgraphics.apache.org Subject: Re: PDF generation causes Browser crash... Ive had this myself - its a problem to do with outputting PDF to the browser with PHP I dont know what the answer is I just reverted to changing the http header content type disposition to force download as getting it to display in all browsers seemed like a fruitless task. Christian Loock wrote: Hi Everybody, I have encountered a problem that doesn't have to be directly related to FOP but i still hope that someone could help me with this. Our PDFs that we generate using FOP, will always be shown in an internet browser because we use FOP in an internet application. The problem that one of our customers has is, that he doesn't get the PDF but a blank or black page wich results in crashing his browser. He has installed the newest version of Adobe Acrobat and uses Sky DSL ( Satelite DSL ). In hope that someone could help because i have absolutely no idea why this happens. Best regards, Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Jimmy Dixon, Perfiliate Technologies email : [EMAIL PROTECTED] phone : +44 (0)191 241 6500 Registered Office: Perfiliate Technologies Limited 7-15 Pink Lane, Newcastle upon Tyne. NE1 5DW Registered No. 3783384 in the UK Telephone +44 (0)191 241 6500 Facsimile +44 (0)191 241 9302 www.perfiliate.com Please note that electronic mail may be monitored. This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful. We check all emails for viruses, but please note that we do not accept liability for any viruses which may be transmitted in or with this email. - 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]
Pagination handling in FOP
Hi all, is it possible to use FOP to create pagination document? I want to generate an invoice like document which the last detail line cannot be broke by the page break. And I can know what's the total page number of the document. The source of the output document is a data xml file. Looking forward to your reply. Best regards, Leon __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Pagination handling in FOP
Hi, Leon, If you've got elements (paragraphs, headings, or other document pieces) that must remain together, you can put them in a table and specify keep-together=always on each row. Of course, if the elements are larger than a page, FOP has to put a page break in there anyway. Note: The solution described above works for 0.20.5. The new version (coming in a week or two, I believe) has much better keep handling and won't require a table to achieve the same solution. I hope that's enough info to get you started. If not, let us know. Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Signature Positioning.
Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Signature Positioning.
Hi, Hari, One approach to this problem is to put that line of text and the signature block into two rows in a table and then specify keep-together=always on both rows. You could also set break-before=page on that line, so as to always have that line and the signature block on its own page (a common practice in legal documents, in my experience). Those possibilities sidestep your actual question, but I'm assuming that your goal is to keep a leader paragraph with the signature block. FWIW Jay Bryant Bryant Communication Services (presently consulting at Synergistic Solution Technologies) Hariprasad Davanagere [EMAIL PROTECTED] 11/17/2005 10:52 AM Please respond to fop-users@xmlgraphics.apache.org To fop-users@xmlgraphics.apache.org cc Subject Signature Positioning. Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - 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: Signature Positioning.
You could use the space-before attribute on the signature block so the space between the block before is everytime the same. -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 5:53 PM To: fop-users@xmlgraphics.apache.org Subject: Signature Positioning. Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - 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: Signature Positioning.
Are you saying that you want to add the signature block AFTER the PDF has already been generated? Or as part of the xml to PDF process using fop? We had a client at one point who wanted to add the signature block after the PDF was generated. We had them look for specific text in the PDF (at a later time), get its x,y coordinates, and then put the signature at x,y coordinates relative to that, using our java PDF API, if that's what you're looking for. Thanks Riz --- Rizwan Virk CTO CambridgeDocs www.cambridgedocs.com 617-905-3518 [EMAIL PROTECTED] personal: [EMAIL PROTECTED] -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 11:53 AM To: fop-users@xmlgraphics.apache.org Subject: Signature Positioning. Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - 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: Signature Positioning.
Hi, Thankyou for the quick response. I am sorry to have not described my problem correctly. The text above the signature block is not the problem, but the other text which show up in the document before this signature block may vary moving the block from its position. I am finding it hard to get the new position (co-ordinates) of the signature block, which i require for SignatureAppearance.SetVisibleSignature(). Thanks Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html From: Christian Loock [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: RE: Signature Positioning. Date: Thu, 17 Nov 2005 17:58:14 +0100 You could use the space-before attribute on the signature block so the space between the block before is everytime the same. -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 5:53 PM To: fop-users@xmlgraphics.apache.org Subject: Signature Positioning. Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Signature Positioning.
hi Riz, Yes i am trying to add the signature block AFTER the PDF has already been generated? I have a line of text just above the position where the signauture has to appear. I am not aware of the method to get the co-ordinates of this text. Could you please guide me how to..? Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html From: Riz Virk [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: RE: Signature Positioning. Date: Thu, 17 Nov 2005 12:06:38 -0500 Are you saying that you want to add the signature block AFTER the PDF has already been generated? Or as part of the xml to PDF process using fop? We had a client at one point who wanted to add the signature block after the PDF was generated. We had them look for specific text in the PDF (at a later time), get its x,y coordinates, and then put the signature at x,y coordinates relative to that, using our java PDF API, if that's what you're looking for. Thanks Riz --- Rizwan Virk CTO CambridgeDocs www.cambridgedocs.com 617-905-3518 [EMAIL PROTECTED] personal: [EMAIL PROTECTED] -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 11:53 AM To: fop-users@xmlgraphics.apache.org Subject: Signature Positioning. Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Signature Positioning.
Hello Hari, It sounds like you're using some API already for adding the signature block, right? Whichever API you're using to add the signature block *might* have some methods to do this already I would think. If you're looking for an open source tool, I'm not sure which one would do this (though I believe xpdf has this functionality if you're comfortable with C++). Our company, CambridgeDocs, has commercial products which allow you to read the x,y coordinates of text runs on the page of a PDF. This is done by converting the page to XML using our xDoc Converter product, or by using our Java PDF API to cycle through the text runs on the page and get their x,y coordinates. In any case, it doesn't really seem like an fop issue and so we should take the discussion off-line. Thanks Riz --- Rizwan Virk CTO CambridgeDocs www.cambridgedocs.com 617-905-3518 [EMAIL PROTECTED] personal: [EMAIL PROTECTED] -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 12:16 PM To: fop-users@xmlgraphics.apache.org Subject: RE: Signature Positioning. hi Riz, Yes i am trying to add the signature block AFTER the PDF has already been generated? I have a line of text just above the position where the signauture has to appear. I am not aware of the method to get the co-ordinates of this text. Could you please guide me how to..? Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html From: Riz Virk [EMAIL PROTECTED] Reply-To: fop-users@xmlgraphics.apache.org To: fop-users@xmlgraphics.apache.org Subject: RE: Signature Positioning. Date: Thu, 17 Nov 2005 12:06:38 -0500 Are you saying that you want to add the signature block AFTER the PDF has already been generated? Or as part of the xml to PDF process using fop? We had a client at one point who wanted to add the signature block after the PDF was generated. We had them look for specific text in the PDF (at a later time), get its x,y coordinates, and then put the signature at x,y coordinates relative to that, using our java PDF API, if that's what you're looking for. Thanks Riz --- Rizwan Virk CTO CambridgeDocs www.cambridgedocs.com 617-905-3518 [EMAIL PROTECTED] personal: [EMAIL PROTECTED] -Original Message- From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 11:53 AM To: fop-users@xmlgraphics.apache.org Subject: Signature Positioning. Hi All, I am facing problems positioning the signature block in my PDF. I have a line of text right above the signature block in the PDF. Is it possible for me search for this text, get its co-ordinates and then place the signature relatively ?? The contents of the PDF may vary and hence i cannot use any absolute coordinates, e.g from the bottom of the page. Need some guidance in this regard, Thanks in advance, Hari htmlDIV P~BRSTRONGFONT color=#339900Contribution is not by invitation but by initiative /FONTBR/STRONGBRHariprasad N Davanagerenbsp;BR19929 Sweetgum Cir, #23BRGermantown,nbsp;MD - 20874/P PSTRONGCnbsp;- (757)nbsp;348 3647 BRH - (???) !!! BR/STRONG~ /P/DIV/html - 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] - 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: Compiled FOP versions
Hi again. Thanks for the reply. My provider's got PHP and Perl running. But I only have 200MB of webspace and am not allowed to install things that need root rights. I also looked up the JSE package at sun.com, and the complete pack is ~150MB. Only the core files still need 100MB. That's a bit rough for only wanting to run the 7MB of FOP... But best thanks anyway. Manuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FOP font width for custom font (Arial)
I'm using Arial font with FOP. I installed the fonts by following the step to install custom fonts from TTF on the FOP website using the TTFReader and adding entries in userconfig.xml. When I generate a PDF which uses the Arial font, the width of characters are different for uppercase and lowercase. The lowercase being lesser width. Is there anyway I can set any property so that the lowercase characters are also the same width as the uppercase characters? Thank you. Prakash - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP font width for custom font (Arial)
On Fri, 18 Nov 2005 04:46 am, Prakash R wrote: I'm using Arial font with FOP. I installed the fonts by following the step to install custom fonts from TTF on the FOP website using the TTFReader and adding entries in userconfig.xml. When I generate a PDF which uses the Arial font, the width of characters are different for uppercase and lowercase. The lowercase being lesser width. Is there anyway I can set any property so that the lowercase characters are also the same width as the uppercase characters? Arial is a so called proportional font. Not only have lowercase letters different widths to uppercase letters but even within the same case letters will have different widths, e.g. i will have a different width to m and W is different in width to J. If a fixed character width is important to your layout you need to use a fixed width (= non proportional) font. For example Courier. Thank you. Prakash Manuel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP font width for custom font (Arial)
Thanks Manuel. I understand the difference now. Let me rephrase my question. I'm using Arial font in FOP and when I render it to PDF with a specific font type and size (bold, size 12 pt) and I do the same with Microsoft word and print both. It is exact same line and same font etc. The Microsoft version of it is longer (when I overlay and compare) than the FOP version even though both are using the same fonts? Somehow the spacing of the characters/words seems to be different in FOP than with word. Is this a known issue? Can this be corrected? This is causing some inconsistency between 2 formats namely word and PDF. Please help. Thank you. Prakash --- Manuel Mall [EMAIL PROTECTED] wrote: On Fri, 18 Nov 2005 04:46 am, Prakash R wrote: I'm using Arial font with FOP. I installed the fonts by following the step to install custom fonts from TTF on the FOP website using the TTFReader and adding entries in userconfig.xml. When I generate a PDF which uses the Arial font, the width of characters are different for uppercase and lowercase. The lowercase being lesser width. Is there anyway I can set any property so that the lowercase characters are also the same width as the uppercase characters? Arial is a so called proportional font. Not only have lowercase letters different widths to uppercase letters but even within the same case letters will have different widths, e.g. i will have a different width to m and W is different in width to J. If a fixed character width is important to your layout you need to use a fixed width (= non proportional) font. For example Courier. Thank you. Prakash Manuel - 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: FOP font width for custom font (Arial)
On Nov 17, 2005, at 4:17 PM, Prakash R wrote: Thanks Manuel. I understand the difference now. Let me rephrase my question. I'm using Arial font in FOP and when I render it to PDF with a specific font type and size (bold, size 12 pt) and I do the same with Microsoft word and print both. It is exact same line and same font etc. The Microsoft version of it is longer (when I overlay and compare) than the FOP version even though both are using the same fonts? Somehow the spacing of the characters/words seems to be different in FOP than with word. Is this a known issue? Can this be corrected? This is causing some inconsistency between 2 formats namely word and PDF. Please help. Thank you. Prakash There are a few questions you might be able to answer and/or ask: - Does the Microsoft version use text-align=justify? - Are the Character Paragraph settings identical (MS Word has are a lot of options: condensed/expanded, char width, line-spacing, etc.) - Are they generated on the same platform? - Do the characters look identical, just the spacing is different? Expecting FOP output to look identical to Microsoft is (IMO) asking a lot. For most uses, people aren't going to be comparing the two, so it isn't a problem. I suspect that if you really need the output to look identical, you might need to either start submitting patches to fix the problem or paying someone to submit patches. Either of which would be welcome (IMO)! Regards, Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP font width for custom font (Arial)
On Nov 17, 2005, at 5:22 PM, Manuel Mall wrote I just did my own test and the results are intriguing (using the latest version of FOP). There is certainly a big difference between Word and FOP. It appears that FOP ignores the font-weight=bold. That is the text is rendered identically for font-weight=bold and font-weight=normal. This may be due to a lack of a font-triplet for BOLD, although you're using Arial (aren't you?) so IMO it should Just Work(tm) Secondly it appears to be rendered in nearly the same size as Word renders at font size 14. This is when the font is embedded into the PDF. This may be the problem. It may not be embedding the 'bold' version of the font for some reason. Converting my FO example to HTML/CSS both IE and FireFox render it identically and consistent with Word. This seems to need some further investigation... Regards, Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]