xml to pdf converstion(generic xsl-fo)

2006-09-18 Thread vijay
Hi This is urgent requirement for our project.we are in need of urgent solution for the problem , i am explaning below: 1.i need solution for the conversion of xml to PDF using XSL-fo.Because we are using fo concepts, it's specific to xsl-fo. My system is generating xml file. The generated xml

Re: Font names...

2006-09-18 Thread Luis Ferro
Luis Ferro wrote: > > The test is simple... > Not that simple i'm afraid... i think i'm in a goose chase here regarding font names... The font that is in use by FOP (thru the config options) either gets a diferent name in windows or isn't recognized by it (even thru it's a ttf font, albeit ca

Re: Font names...

2006-09-18 Thread Jeremias Maerki
I assume the problem comes from FOP's embedding only a subset of the TrueType font in the PDF. In that case we cannot use the original font name because we don't embed the full font. If you have to be able to edit the PDF you'd need to embed the full font in which case we could use the original nam

Re: Font names...

2006-09-18 Thread Luis Ferro
One of the things that appeared from the properties of the document is the "actual" font values. The config i used is: And i created the font metrics with the following class call (a short fused version based on the fop.bat): org.apache.fop.fonts.apps.TTFReader -enc

Re: keep-with-next causes last row of previous table to come along

2006-09-18 Thread Chris Bowditch
paul wrote: ok, why first attempt doesn't work is clear now, it's not implemented yet my workaround for the moment: Between Table A and Table B I insert an empty Block. Now everything works as I'd like it to. So maybe this is a BUG??? Doesnt sound like a bug to me. keep-with-next only tells t

Re: keep-with-next causes last row of previous table to come along

2006-09-18 Thread paul
thanks chris, you were right. In the meantime I had sent the fo-file to J.Maerki, and he recommended the same as you (acknowledging though that it is some kind of exception that will be fixed). cheers,and thanks everyone for the support&development --

Re: Using Adobe Asian Font Pack in FOP without embedding

2006-09-18 Thread Luis Ferro
Jeremias Maerki wrote: > > > I've never come across this error message. It may have something to do > with a bug in the PDF library in 0.20.5 which is fixed in FOP Trunk. > > This error appears to me with embed fonts (ansi so all glyphs are embed) and Acrobat Pro 7. Cheers LF -- View thi

xml to pdf (generic)

2006-09-18 Thread vijay
Hi all. This is a problem related to the conversion from XML to PDF. I have a system generated dynamic XML(where the child nodes may vary accordingly) that i need to convert to a PDF format file using xsl-fo. In the required PDF the node values in the system XML should appear in proper row n colu

RE: xml to pdf (generic)

2006-09-18 Thread Rick Roen
Vijay, This seems more like a question about XML -> XSLT conversion. A better group for that would be [EMAIL PROTECTED] Perhaps if you posted your XSLT and brief example of your XML we, or xsl-lists could be of more help, or if I misunderstand a more complete explanation of your problem since I

Re: xml to pdf converstion(generic xsl-fo)

2006-09-18 Thread Glen Mazza
I would recommend using XSLT to do the transformations that you need. Unfortunately you will need to learn XSLT first before you can use it. Check the Xalan website for more details. The Mulberry XSLT mailing list (google) is best for specific questions you may have. Glen vijay wrote: Hi

Re: Font names...

2006-09-18 Thread Luis Ferro
Jeremias Maerki-2 wrote: > > In that case we cannot use the original font > name because we don't embed the full font. 2 questions then... a) What happens if with a partial embed font it's used the same name as the original font name? b) What happens if with a full embed font (with use of -an

Unicode Fonts!!!!

2006-09-18 Thread Paul Loy
Hi All, I've inherited a poorly written system. Part of it uses FOP to create PDFs from an xslt. Now, we have international people on our site which is fine in HTML (xhtml1.1, utf-8) but when I try to use FOP I get # instead of any polish characters. I think this is due to the font we were us

Re: Unicode Fonts!!!!

2006-09-18 Thread Paul Loy
Do I have to translate all the foreign characters into a character reference? Paul Loy wrote: Hi All, I've inherited a poorly written system. Part of it uses FOP to create PDFs from an xslt. Now, we have international people on our site which is fine in HTML (xhtml1.1, utf-8) but when I try

Re: Unicode Fonts!!!!

2006-09-18 Thread Paul Loy
And these are the characters I need displayed (see attached) Paul Loy wrote: Hi All, I've inherited a poorly written system. Part of it uses FOP to create PDFs from an xslt. Now, we have international people on our site which is fine in HTML (xhtml1.1, utf-8) but when I try to use FOP I get #

Looking for advice on "positioning" of fo:instream-foreign-object and fo:external-graphic

2006-09-18 Thread Peter
Gentlepeople, I am trying to get rid of line-leading (not sure this is the correct term actually) when adding an instream-foreign-object or external-graphic to a block As an example In the result (pdf using fop 0.92) the instream object (with a red backg

Re: Unicode Fonts!!!!

2006-09-18 Thread Luis Ferro
Paul Loy wrote: > > Do I have to translate all the foreign characters into a character > reference? > Prolly not... But i had to use "" as the xml definition in the master page... or it would present everything wrong... (a bit like it happened to you)... Cheers, Luis Ferro -- View this m

RE: Unicode Fonts!!!!

2006-09-18 Thread Kai Mütz
Did you check: http://xmlgraphics.apache.org/fop/trunk/fonts.html? > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of Paul Loy > Sent: Monday, September 18, 2006 5:35 PM > To: fop-users@xmlgraphics.apache.org > Subject: Re: Unicode Fonts > > > Do I h

Re: Unicode Fonts!!!!

2006-09-18 Thread Paul Loy
yeah but that still doesn't give me the fonts I need. Where are the unicode PS fonts that I can use? Kai Mütz wrote: Did you check: http://xmlgraphics.apache.org/fop/trunk/fonts.html? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Paul L

RE: Unicode Fonts!!!!

2006-09-18 Thread Kai Mütz
On windows systems you probably find Arial TTF files in windows fonts directory ("C:\Windows\Fonts" on my machine). You can use the TTFReader to create the metrics files as described at   http://xmlgraphics.apache.org/fop/trunk/fonts.html#truetype-metrics -Original Message-From:

Re: Unicode Fonts!!!!

2006-09-18 Thread Luis Ferro
On a mac you can check the acrobat reader directories to get some type1 font that works... ;) (i'm not sure where are the system fonts instaled on macs) The principle is the same and anyway, FOP is system transparent (hope my faith isn't displaced, so far it isn't)... if you create a metrics fil

Re: Unicode Fonts!!!!

2006-09-18 Thread Luis Ferro
On my "unicode" wars... i've found one site of huge value: http://www.unicode.org/charts/charindex.html This has ALL the unicode tables of ALL supported glyphs on ALL the standards (specially important if you need just "that" glyph and you don't know it's code). I ended up consulting it regula

Re: Unicode Fonts!!!!

2006-09-18 Thread Paul Loy
Oh, forgot to mention that I'm on a mac. Thanks for the suggestions so far! Paul. Kai Mütz wrote: On windows systems you probably find Arial TTF files in windows fonts directory ("C:\Windows\Fonts" on my machine). You can use the TTFReader to create the metrics files as described a

RE: Png output and transparent background

2006-09-18 Thread Peter
Sorry for the late reply (was ooo). But...it works great and this really helps a lot. Thanks! Peter -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: zondag 10 september 2006 18:45 To: fop-users@xmlgraphics.apache.org Subject: Re: Png output and transparent backg

RE: Unicode Fonts!!!!

2006-09-18 Thread Karl Roberts
Hi, you can generate the metrics from the TTF file as per instructions at http://xmlgraphics.apache.org/fop/trunk/fonts.html , a decent unicode font that covers loads of the glyphs is "Arial Unicode MS" font found at C:\WINDOWS\Fonts on my PC. See:- http://www.alanwood.net/unicode/fonts.html