Re: PDF Header alignment

2009-10-22 Thread sivag_123
Hi, I tried your solution. When we insert the text and image in 2 different blocks, then the image comes to the left and text comes to the center. But they are not inline. I want the image in the left and text in the right in the same line. If you can share some ideas, it would be great. Thanks

Re: CIDset key for PDF/A

2009-10-22 Thread Jeremias Maerki
Fop does generate the CIDset and was also tested against the Adobe Acrobat that was available at the time. But as [1] shows, there may be a bug hidden in the code that was not discovered at that time. Unfortunately, I haven't had time to look at the patch, yet. Maybe you can apply it yourself and

Re: PDFA - Problem with embedding of fonts when fo document contains more than 1 page

2009-10-22 Thread Jeremias Maerki
Usually, this is caused by some whitespace somewhere in the document that may not even produce any visible output. My recommendation is to put a font-family property on fo:root to avoid any fallbacks to default fonts which are not embedded but only referenced. If this doesn't help, I'll need to

Re: another embedded svg font issue

2009-10-22 Thread Jeremias Maerki
Yes, that's tricky business. You have to use the font name under which it is provided by the operating system because Batik uses AWT/Java2D for font handling. If your font is the one I found, then you need to use Abduction II (notice the space). AbductionII works because FOP als registers the font

Re: Japanese Bolding Issue

2009-10-22 Thread Jeremias Maerki
AFAIK, MS Gothic has no bold variant. There's a possibility in PDF (PDF 1.4, section 5.5.2, page 321) to automatically derive a bold font from a normal one (although the result usually doesn't look so nice), but unfortunately, FOP doesn't support that, yet. If I were you I'd look in a good font

Re: PDF Header alignment

2009-10-22 Thread Jeremias Maerki
Either use a table with two columns, one left-aligned for the image and one right aligned for the text. Or you can do that in one fo:block and set that to text-align-last=justify and use an fo:leader for elastic spacing. On 22.10.2009 09:17:12 sivag_123 wrote: Hi, I tried your solution.

AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

2009-10-22 Thread Georg Datterl
Hi Deepthi, I understood that much. But maybe it already solves your problem if you try this: xsl:if Image is full. /fo:table-cell fo:table-row fo:table-cell number-column-spanned=2 fo:block

Bookmarks and bold values

2009-10-22 Thread JPee
Hi, I'm working with FOP embedded in a CMS for generating PDFs from data. Now i have the following problem. In my PDFs there are bookmarks, everything works fine with the bookmarks. I have sections of my PDF in the first tier of the bookmark-tree, in the second tier there are article titles. To

Re: PDFA - Problem with embedding of fonts when fo document contains more than 1 page

2009-10-22 Thread sivag_123
Hi Jeremias, I had already specified the font-family property in fo:root. But still the problem persists. I have attached the FO file herewith. Thanks for ur reply. Thanks and regards, Sivashankar Jeremias Maerki-2 wrote: Usually, this is caused by some whitespace somewhere in the

Re: Bookmarks and bold values

2009-10-22 Thread Jeremias Maerki
fo:bookmark-title supports color, font-weight and font-style: http://www.w3.org/TR/xsl11/#fo_bookmark-title But these three properties haven't been implemented in FOP for fo:bookmark-title, yet. On 22.10.2009 11:23:07 JPee wrote: Hi, I'm working with FOP embedded in a CMS for generating

Re: PDFA - Problem with embedding of fonts when fo document contains more than 1 page

2009-10-22 Thread Jeremias Maerki
Hi Sivashankar, thanks for the FO file. That helps. Two things: 1. There's a font-family= in the file. That will cause problems. 2. Check the log output from FOP. If there is only one warning about a font not being found (like: Font Arial,normal,400 not found. Substituting with any,normal,400.),

Re: PDF Header alignment

2009-10-22 Thread sivag_123
Hi Jeremias, I used the fo:leader tag and it works. Thanks a lot for ur suggestion. Thanks and regards, Sivashankar Jeremias Maerki-2 wrote: Either use a table with two columns, one left-aligned for the image and one right aligned for the text. Or you can do that in one fo:block and

AW: AW: AW: AW: AW: AW: AW: Regarding XSL-Fo table columns display

2009-10-22 Thread Georg Datterl
Hi Deepthi, That's OK. You don't need the full image table. It's more like a full image row. And then you can use number-columns-spanned, because your (outer, one and only) table has two columns. Replace your code between xsl:if Image is full. /xsl:if with my code between xsl:if Image

Re: another embedded svg font issue

2009-10-22 Thread Koen Martens
Hi Jeremias, Thanks, that was the missing bit of information I needed! It works beautifully now, you can't imagine how happy you have made me :) How did you figure out what name to use (and what the PS name is)? Is there some nifty program that shows .ttf meta-data or something? Gr, Koen On

Re: another embedded svg font issue

2009-10-22 Thread Jeremias Maerki
Koen, I can read binary. ;-) No seriously, I've done a lot of hacking around fonts so you learn a few things. Then there's the double-click on a TTF file on Windows, or simply a good Hex-Editor to look at this stuff. There are lots of font-related tools on the net, too. Finally, there's increasing

RE: Japanese Bolding Issue

2009-10-22 Thread Lucian Opris
Hi, Thanks for the answer. I've done a quick search for any Japanese Gothic bold font and most of them are OTF PostScript Outlines which FOP does not support yet. Lucian Opris -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Thursday, October 22, 2009

Footnotes broken?

2009-10-22 Thread Matthias Reischenbacher
) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:390) __ Information from ESET NOD32 Antivirus, version of virus signature database 4533 (20091022) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: Japanese characters in pdf Encryption

2009-10-22 Thread Chris Bowditch
Bharathram wrote: Hi, Hi Lucian Opris, I tried as you mentioned in userconfig.xml But the japanese characters are not displying. Here the file attached containing encrypted pdf and pdf without encryption images. I am expecting the further solution. encrypted+pdf+and+original+pdf.JPG

RE: Japanese characters in pdf Encryption

2009-10-22 Thread Lucian Opris
Related to this is the Japanese Bold working with this new trunk version? Lucian Opris -Original Message- From: Chris Bowditch [mailto:bowditch_ch...@hotmail.com] Sent: Thursday, October 22, 2009 11:36 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Japanese characters in pdf

Re: Japanese characters in pdf Encryption

2009-10-22 Thread Chris Bowditch
Lucian Opris wrote: Related to this is the Japanese Bold working with this new trunk version? No FOP cannot render bold variants of the glyphs from regular versions. MS Word can do this trick but FOP does not provide this feature in any version. Sorry, Chris Lucian Opris -Original

Re: Unable to display jpeg or PNG files in fop document

2009-10-22 Thread Jeremias Maerki
I've been able to reproduce this, thanks to your details. Apparently, the problem was an empty string returned by URL.getHost() which caused an additional backslash in the file name and that in turn probably caused a network access since the filename was interpreted as UNC path:

RE: Unable to display jpeg or PNG files in fop document

2009-10-22 Thread Jonathan Levinson
Thank you!!! Best Regards, Jonathan Levinson -Original Message- From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] Sent: Thursday, October 22, 2009 2:57 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Unable to display jpeg or PNG files in fop document I've been able to