RE: Version 0.92 beta

2006-05-25 Thread Krishna . Cherla
 Thankyou , Chris.

The problem was that in one of my templates ,I was calling another
template which had a table , into an fo:inline. 

But I am having problems with space alignments.What do you guys exactly
mean by saying " Space adjustment may not fully work everywhere yet" on
the compliance page? I don't understand what you meant.

Between I want to thank everyone who contributed to the Compliance Page
as that makes migrating from the older version to the newer version less
complicated when confronted by errors. 

-Original Message-
From: Chris Bowditch [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 25, 2006 1:51 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Version 0.92 beta

[EMAIL PROTECTED] wrote:

> 
> 
> I am currently looking at the new version of FOP, in particular the 
> PDF component. The PDF works well in with the older version (0.20.5), 
> but I am now trying to use the same style sheets to create PDF, and it

> doesn't even get past go. Is it a bug, or do I need to change the 
> format of my XSL code. The following is the error I get when i try 
> this command

This is bad news indeed. To help us track down the problem we will need
to see your FO. If it is large or confidential can you cut it down
(removing any confidential text) to a small sample that reproduces the
problem? Looks like it is falling over in one of your tables, possibly
as a child of fo:inline.

Chris





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





"MMS " made the following annotations.
--
--- NOTICE ---
This message is for the designated recipient only and may contain confidential, 
privileged or proprietary information.  If you have received it in error, 
please notify the sender immediately and delete the original and any copy or 
printout.  Unintended recipients are prohibited from making any other use of 
this e-mail.  Although we have taken reasonable precautions to ensure no 
viruses are present in this e-mail, we accept no liability for any loss or 
damage arising from the use of this e-mail or attachments, or for any delay or 
errors or omissions in the contents which result from e-mail transmission.

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: what's new in Fop 0.9

2006-05-25 Thread Renaud Richardet

Thank you Clay for the pointers,

I think it would be good to communicate the top new features right on
FOP's frontpage, so that people are compelled to upgrade. Just my 2
cents...

Best,
Renaud

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Transforming Img tag in HTML

2006-05-25 Thread Roland Neilands

Roland Neilands wrote:


J.Pietschmann wrote:

Roland Neilands wrote:

Sorry, my mistake. 20.5 wants height/width on the block container.

...
   content-width="3cm" 


FOP 0.20.5 doesn't support content-heigth/width either. Height
and width work.


I know, it ignores them though. That's why that bit of code worked in 
both versions of FOP.
Except where I'd trimmed the absolute positioning from the block 
container. I'll shut up now.


Cheers,
Roland.



J.Pietschmann





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Transforming Img tag in HTML

2006-05-25 Thread Roland Neilands


J.Pietschmann wrote:

Roland Neilands wrote:

Sorry, my mistake. 20.5 wants height/width on the block container.

...
   

FOP 0.20.5 doesn't support content-heigth/width either. Height
and width work.


I know, it ignores them though. That's why that bit of code worked in 
both versions of FOP.


Cheers,
Roland.



J.Pietschmann



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



keep-together not keeping!

2006-05-25 Thread Rick Roen








FOP 0.92b

 

I have the following fragment of an fo file that is not
working as expected:

 




   


  


  


 





   
leader-pattern="rule"/>




  
font-weight="bold"

  
color="maroon">Shortages must be reported in writing within 10
days of receipt.

Finance charges of 1.5% per
month (18% per annum) will be added to overdue accounts.




   
leader-pattern="rule"/>

 


  


   





 

Fist I had only “keep-together” and then
added “keep-together.within-page” and neither are keeping the
footnote-body block together.  In a particular case, the first fo:leader
is on one page and the balance of the fo:footnote is on the following page.

 

Am I applying this incorrectly, or is this not
working as expected?

 

Rick








Re: FOP 0.92: SVG Rendering problem to PDF

2006-05-25 Thread J.Pietschmann

Debasish Jana wrote:

I am having a problem in rendering a SVG, We used SVGGraphics2D for the
following SVG (within -- block), marked below. While trying to render
using FOP0.92 Beta, it is not showing up the pie chart in the rendered PDF.
The SVG is however being opened by any other SVG viewer e.g. a web browser.
We tried with alternate simplified SVG to render to PDF. That worked. Can
you please suggest any workaround? 

...

http://www.w3.org/1999/xlink";
color-rendering="auto" color-interpolation="auto" text-rendering="auto"
stroke="black" stroke-linecap="square" stroke-miterlimit="10"
shape-rendering="auto" stroke-opacity="1" fill="black"
stroke-dasharray="none" font-weight="normal" stroke-width="1"
xmlns="http://www.w3.org/2000/svg"; font-family="'Dialog'"
font-style="normal" stroke-linejoin="miter" font-size="12"
stroke-dashoffset="0" image-rendering="auto">


FOP has difficulties rendering SVGs which don't specify heigth
and width on the SVG root.
You should get something if you specify a height/width (in cm
or pt) and a proper viewport on the SVG and a matching content-height
and content-width on the fo:external-graphic.

J.Pietschmann

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Transforming Img tag in HTML

2006-05-25 Thread J.Pietschmann

Roland Neilands wrote:

Sorry, my mistake. 20.5 wants height/width on the block container.

...
   

FOP 0.20.5 doesn't support content-heigth/width either. Height
and width work.

J.Pietschmann


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



In Progress Page while processing

2006-05-25 Thread CalvinD

Does anyone have an example of how to display "progress" web page while an
embedded process is running? I am using the object to pdf processs and would
like to display something to show the user that the process is running.
Thank
Calvin

--
View this message in context: 
http://www.nabble.com/In+Progress+Page+while+processing-t1683088.html#a4565157
Sent from the FOP - Users forum at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FOP 0.92: SVG Rendering problem to PDF

2006-05-25 Thread Debasish Jana








Hi:

 

I am having a problem in rendering a SVG, We used SVGGraphics2D
for the following SVG (within -- block), marked below. While trying to
render using FOP0.92 Beta, it is not showing up the pie chart in the rendered
PDF. The SVG is however being opened by any other SVG viewer e.g. a web browser.
We tried with alternate simplified SVG to render to PDF. That worked. Can you
please suggest any workaround? 

 

Many thanks in advance,

 

Regards,

 

Debasish Jana



 

                                                                    Title                        Series1 = 5              Series2 = 7              Series3 = 8                                            Series3                      Series1                      Series2                

-









Re: font not found in 0.92beta from ant

2006-05-25 Thread Johannes Künsebeck


Jeremias Maerki wrote:
> Yes, it looks like the Ant task wasn't looked after properly. I've
> reconnected the configuration in FOP Trunk:
> http://svn.apache.org/viewvc?rev=408707&view=rev
>   
Hi Jeremias,
thanks for looking after it. I now switched to write my own Java-app,
which embeds fop.
Could it be there is  the same problem?
I could not get it to work, till i wrote my own very stupid FOURIResolver :

foUserAgent.setURIResolver(new FOURIResolver() {
public Source resolve(String href, String base) throws
TransformerException {
File f=new File(base,href);
return new StreamSource(f);   
}  
});   


Before  i tried a lot with :

fopFactory.setFontBaseURL(...);  
foUserAgent.setBaseURL(...);   

How do I use them ? I tried "file:/home/..." or "file:///home/..." or
without the protocol : "/home/..." ? but nothing worked (fonts/gfx).
Sorry, I don't have the code to show the problem anymore.
> It could probably do with some extra attention. For example, doing XSLT
> and FOP in one step to improve performance and to avoid temporary files.
> Want to give it a shot? Patches are always welcome.
>   
Ok, I will try.
Patches? Well, maybe one day when I'm grown up and a *real* Java-Coder ;)
> On 22.05.2006 10:03:24 Johannes Küpnsebeck wrote:
>   
>> Hi,
>> I have a project where I use ant to do some xslt and fop
>> transformations. Everything worked well till i switched to fop 0.92b.
>> Now my fonts aren't found. It works from commandline, too. Is the
>> anttask broken?
>> Ant log:
>>   [fop]
>> /home/jkuensebeck/www/kunden/f_und_c/ck2/xml2print/neu/out/programm.fo
>> -> /home/jkuensebeck/www/kunden/f_und_c/ck2/xml2print/neu/out/programm.pdf
>>   [fop] 22.05.2006 09:57:44 org.apache.fop.fonts.FontInfo
>> notifyFontReplacement
>>   [fop] WARNUNG: Font 'Myriad,normal,400' not found. Substituting
>> with default font.
>>   [fop] 22.05.2006 09:57:44 org.apache.fop.fonts.FontInfo
>> notifyFontReplacement
>>   [fop] WARNUNG: Font 'Myriad,normal,700' not found. Substituting
>> with default font.
>>   [fop] 22.05.2006 09:57:44 org.apache.fop.fonts.FontInfo
>> notifyFontReplacement
>>   [fop] WARNUNG: Font 'MyriadCondensed,normal,400' not found.
>> Substituting with default font.
>>   [fop] 22.05.2006 09:57:44 org.apache.fop.fonts.FontInfo
>> notifyFontReplacement
>>   [fop] WARNUNG: Font 'MyriadCondensed,normal,700' not found.
>> Substituting with default font.
>> build.xml:
>>
>> 
>>  
>>  
>> 
>> 
>>
>> 
>> 
>> 
>> 
>>
>> 
>>  
>> 
>> 
>>   
>>
>>   
>> 
>>
>> 
>>  
>> > userconfig="${conf}/fop.xconf"
>> format="application/pdf"
>> fofile="${out}/programm.fo"
>> outfile="${out}/programm.pdf" />
>> 
>> 
>> fop.xconf :
>> 
>> 
>>   .
>>   fonts
>>  
>>   300
>>   300
>>
>>   
>>   
>> 
>>   
>> null
>>   
>>   
>>   > kerning='yes' >
>>   
>>
>>   > kerning='yes' >
>>   
>>   
>>   > metrics-url='MyriadCondensed.xml' kerning='yes' >
>>   > weight='normal'/>
>>   
>>   > metrics-url='MyriadCondensedBold.xml' kerning='yes' >
>>   > weight='bold'/>
>>
>>   
>> 
>> ...
>> an example line form the programm.fo :
>>
>> 
>> > font-family="MyriadCondensed" font-style="normal" padding-top="22.5mm"
>> color="rgb(51,50,51)" margin-left="26mm">Betriebswirtschaft |
>> Organisation
>> 
>> 
>
>
>
> Jeremias Maerki
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>   

-- 
Johannes Künsebeck
Heeper Str. 52
33607 Bielefeld

0521 / 5202341
[EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Transforming Img tag in HTML

2006-05-25 Thread Chris Bowditch

Suresh Koya wrote:

I changed it as below. It finished the conversion pretty fast and did 
not create a PDF file. when I checked the output in debug mode I saw a 
classcast exception as below. Am I doing something wrong here.


FOP 0.20.5 only supports absolutely positioned block-containers, that is 
why you get a ClassCstException as you are trying to use it in a 
relatively positioned manner. I don't think block-containers will help 
you achieve what you want.


The problem is the unit of measurement you have specified for the image 
width and height. Trouble with pixels is they are device dependent. FOP 
defaults to 72dpi, and I guess HTML is 96dpi which is why the image 
appears 33% larger in FOP. If you specify a unit of measurement which 
isn't device dependent, e.g. inches, cm, mm, or pt then FOP should 
display your image fine.


In your case I would recommend dividing by the HTML resolution (i.e. 
96dpi) to give you a unit in inches in the XSLT to compute the height 
and width for fo:external-graphic tag.


Chris



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Version 0.92 beta

2006-05-25 Thread Chris Bowditch

[EMAIL PROTECTED] wrote:




I am currently looking at the new version of FOP, in particular the PDF 
component. The PDF works well in with the older version (0.20.5), but I 
am now trying to use the same style sheets to create PDF, and it doesn't 
even get past go. Is it a bug, or do I need to change the format of my 
XSL code. The following is the error I get when i try this command


This is bad news indeed. To help us track down the problem we will need 
to see your FO. If it is large or confidential can you cut it down 
(removing any confidential text) to a small sample that reproduces the 
problem? Looks like it is falling over in one of your tables, possibly 
as a child of fo:inline.


Chris





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Specifying table width in percentage

2006-05-25 Thread Chris Bowditch

Suresh Koya wrote:

I could not get this to work with the beta build also. Should I file a 
bug to this respect.


What couldn't you get to work? A table with width="75%" ??? Note, that 
table-layout="auto" still isn't implemented in 0.92beta.


Chris





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]