Re: XSLT transformation to PDF, Chinese characters lost

2004-09-27 Thread Balaji Loganathan
Mike, This article would help you. http://www.javaranch.com/journal/200409/Journal200409.jsp#a9 => Creating Multiple Language PDF using Apache FOP. Regards Balaji --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > > On 23.09.2004 20:58:08 Mike J Boyersmith wrote: > > >On 23.09.2004 20:24:22 M

Re: Help required for Japanese FOP

2004-10-25 Thread Balaji Loganathan
Hi Sanket, See whether this article helps you ?? http://www.javaranch.com/journal/200409/Journal200409.jsp#a9 --- John Mok <[EMAIL PROTECTED]> wrote: > Sanket Desai wrote: > > > Hi John Mok, > > > > Thanks for your reply. I tried to make > font metrics for > > MSGothic fonts. I used ms

RE: Help required for Japanese FOP

2004-10-27 Thread Balaji Loganathan
sourceFile" > etc.. This thing I came to know when I looked into > the MSGothic.java file. > Apart from this, there are other parameters > (actually variables in > MSGothic.java file) like "lastChar", "firstChar" are > also not initialized. > So, it is basic

Rodolfo: FOP With Hebrew

2004-10-27 Thread Balaji Loganathan
Hi Rodolfo, I read your thread http://marc.theaimsgroup.com/?l=fop-user&m=106547256430537&w=2 , Will it be possible for you tell us what chanages you did on the Custom FOP. I am using Naqsh.ttf for arabic but characters appear reversed, so i used xsl to reverse the character and generate the PDF.

Re: arial font

2003-01-21 Thread Balaji Loganathan
Its depends on what sort of characters you want to display, for example for french, russian characters needs a different font than the default one. Regards Balaji --- MARTIN Franck <[EMAIL PROTECTED]> wrote: > What font can be used with fop? Does the arial font > work fine with FOP? > >

Creating own font file

2003-01-21 Thread Balaji Loganathan
Hi, I'm involved in displaying some mathematical/scientific characters like reciprocal per meter, square per meter etc., in PDF and HTML format I can able to display most of them without problem in the browser window with the help of unicode, but some characters were not appearing correct

Re: arial font

2003-01-21 Thread Balaji Loganathan
font? > - Original Message - > From: "Balaji Loganathan" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 21, 2003 5:08 PM > Subject: Re: arial font > > > > Its depends on what sort of characters you want to > > dis

Re: XSL_FO generator

2003-02-07 Thread Balaji Loganathan
Did you tried driver.setLogger(log); ? --- Gian Piero Bottini <[EMAIL PROTECTED]> wrote: > Hi all > Do somebody know how to integrate log4j and fop?? > In my project I have 2 log files created with log4j > and I would put the fop > output in them. > The code should be like this.. > > Hiera

fo:table

2003-03-17 Thread Balaji Loganathan
Hi, which option is better and fast for building a table? 1.Construct one table with 8 rows, 2 columns.(most of the rows have table inside table). 2.Construct 8 individual tables.(then insert table inside table). I hope my question is clear ?? Regards Balaji http://mobile.yahoo.com.au - Yahoo

: fo:table

2003-03-18 Thread Balaji Loganathan
Hi, Let me try to put my question again clearly!. Please see the attached image, thats the layout I'm trying to create in FOP. Now this can be done in two ways 1.By creating a single table with 5 rows, then each ROW will a contain a table of 3 to 5 columns in its own. 2.By creating 5

RE: table

2003-03-18 Thread Balaji Loganathan
> 281ms/page > 641 [main] DEBUG RenderPDF - Avg render time: > 305ms/page > AVRG: 298.2ms/page > > I hope this is what you are looking for. > > Rob > -Original Message- > From: Balaji Loganathan > [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2

bug ?

2003-12-04 Thread Balaji Loganathan
Just accidently, if i have a fo:block before fo:table-cell, then I'm getting the error java.lang.ClassCastException org.apache.fop.apps.FOPException: java.lang.ClassCastException at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) The sample code is here.. R

Re: bug ?

2003-12-04 Thread Balaji Loganathan
Yes!.. I very well know the below xsl:fo is wrong. But was just wondering why its throwing "Classcast exception" and thats the reason i posted it. --- Chris Bowditch <[EMAIL PROTECTED]> wrote: > Balaji Loganathan wrote: > > > Just accidently, if i have a fo:block be

Checking please delete

2002-03-14 Thread Balaji Loganathan
Checking please delete http://movies.yahoo.com.au - Yahoo! Movies - Vote for your nominees in our online Oscars pool.

Page Layout

2002-03-14 Thread Balaji Loganathan
Hi, I'm trying to design a Paper document using XSL:FO,PDF so that I can retrive and put the data from XML into PDF as if like filling Paper document in hand. Please see the attachment. I would to create a PDF with 210x 297mm as page width and height,and table's in it with different height and

RE: rotate text

2002-03-15 Thread Balaji Loganathan
Hi, I too want to write text in with property(6) in http://www.w3.org/TR/xsl/slice7.html#writing-mode-related and particularly on the fo:region-start,please look at the attached figure at the bottom "Some text in this direction". Is there any way ? I'm using apache FOP Thanks a lot for your tip Je

Printing Problem,

2002-03-15 Thread Balaji Loganathan
Hi, Please look at the below program and especially margin settings of body and table. If I print this out in HP printer,Lexmark printer and if I measure the paper output with a Millimeter scale or ruler.The margins all sides seems to vary by plus or minus 2-6 mm with HP printer and Lexmark.Ev

Re: Printing Problem,

2002-03-15 Thread Balaji Loganathan
nter (resolution, > font replacements etc). > > And another point: Keep in mind that a printer is > something mechanical > which has some tolerances. That may account for 2 or > 3 mm, but probably not > 6mm. > > On 15.03.2002 12:22:11 Balaji Loganathan wrote: > > Hi

Re: How to draw a border

2002-03-20 Thread Balaji Loganathan
Hi Marthin, There are some examples available from www.xrenderer.com tutorial for this.but i'm using fop to run that examples. Regards Balaji --- MARTIN Franck <[EMAIL PROTECTED]> wrote: > I can't figure how to draw a border around a word > that is embedded in a > sentence. > Does anyone have an

Best coding practice.

2002-05-03 Thread Balaji Loganathan
Hi, Is there is any best practice for coding the XSL:FO, that is always 1. use xsl:template 2. check whether the element exist or not even for mandatory elements. My xsl is of 578 lines,Suddenly i felt that my code is not object oriented beacuse no where i have used xsl:template.

Re: Best coding practice.

2002-05-06 Thread Balaji Loganathan
Dear Jeremias Maerki,J.Pietschmann and Chaumette Patrick Thanks a lot for your valuable replys.I'm clear now. Regards Balaji --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > Balaji Loganathan wrote: > > Hi, > > Is there is any best practice for coding

Re: Language Support

2002-05-06 Thread Balaji Loganathan
Hi, Yes it do support multi language in a different way.Please see the examples folder in fop-0.20.3 where there is example which include/imports japanese font.Hope this is what u r looking for. Regards Balaji --- kalyan kumar <[EMAIL PROTECTED]> wrote: > Hi, > I'm new to FOP. Can someone pl

Re: Re: Language Support

2002-05-07 Thread Balaji Loganathan
the same text > and the FOP is > not considering the values as UNICODE characters. > Please help me, > if I need to specify some property to let FOP treat > these > characters not as ASCII chars but as UNICODE chars. > > Thanks, > Kalyan. > > > On Mon, 06 Ma

import/include

2002-05-08 Thread Balaji Loganathan
Hi, Ofcourse this is a XSL question.Does using import/include increases the processing speed. I'm using Xalan and Fop. I tried importing a xsl with 43 variables instead of declaring them inside the main xsl.I didn't see any processing speed difference,I used my stop watch :-) to chk it. Regards

HTM Sevlet

2002-05-10 Thread Balaji Loganathan
Hi, I tried FopServlet example and its works fine for PDF. Is it possible to do the same for HTML that is http://servername/servlet/FopServlet?xml=data.xml&xsl=format.xsl&dummy=test.html ,I tried to change the code of FopServlet like .. response.setContentType("text/html"); Driver driver =

Re: HTM Sevlet

2002-05-10 Thread Balaji Loganathan
vlet :-) which uses > Apache XML and XSL technology including FOP to > generate html or PDF on > demand from XML source. > > Alex > > > At 11:31 10/05/2002, Balaji Loganathan wrote: > >Hi, > > I tried FopServlet example and its works fine > for > >P

Re: step-by-step instructions how to print Chinese in PDF?

2002-05-10 Thread Balaji Loganathan
Nice reply :) --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > Argyn Kuketayev wrote: > > I don't see anything about Chinese letters in > font metrics xml files. Btw, I > > don't speak Chinese :) I can't change locale or > regional settings on the PC > > due to deployment restrictions. What gl

Re: AW: Open and print pdf files

2002-05-16 Thread Balaji Loganathan
Apart From Chaumette Patrick idea,have you tried the FOPPrintServlet.java example from FOP,it works good for me.I tested only in Windows Envt.Of course it depends whether u use Servlet/JSP. Regards Balaji --- "Chaumette, Patrick" <[EMAIL PROTECTED]> wrote: > Hello Franck, > > on WinNT you can

Re: XSL-FO for HTML and PDF

2002-05-17 Thread Balaji Loganathan
I think you can do that by using a decalring global varibale set to HTML or PDF,then you can write some thing like if variable is HTML .. Write HTML XSL else Write PDF XSL Bad idea !! ?? Its better to go for two xsl than doing this. --- Mark Jiang <[EMAIL PROTECTED]> wrote: > Hi All, > >

Supplying options in servlet

2002-05-21 Thread Balaji Loganathan
Hi, I'm trying to supply the option file "userconfig.xml" to the servlet.In command line we give it as fop -c userconfig.xml -xsl -xml -pdf But how we can supply this servlet.?This i'm trying for adding addtional font. I tried to use the Options class but didn't succeeded.Below is FopServlet sn

Re: Supplying options in servlet

2002-05-21 Thread Balaji Loganathan
figure my Web.xml so that i make my servlet/JSP to read/write at different location. Thanks again. Regards Balaji --- Oleg Tkachenko <[EMAIL PROTECTED]> wrote: > Balaji Loganathan wrote: > > > I'm trying to supply the option file > "userconfig.xml" &

Re: Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Balaji Loganathan
I have another question , Is it possible to supply XSL variable value to FO, For example. Hello World Is this possible.It not worked for me. Regards Balaji --- Eric Smith <[EMAIL PROTECTED]> wrote: > > Is there a way of passing XSLT parameter values on > the FOP command line? > > fo

RE: Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Balaji Loganathan
lo > World > > Sumanta > > -Original Message- > From: Balaji Loganathan > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 21, 2002 10:39 AM > To: [EMAIL PROTECTED] > Subject: Re: Passing XSLT parameters to FOP (old > topic I know) > > > I have ano

Re: Passing XSLT parameters to FOP (old topic I know)

2002-05-21 Thread Balaji Loganathan
Thanks for reply again,Yes it working now!I think i might have slept before. Regards Balaji --- Oleg Tkachenko <[EMAIL PROTECTED]> wrote: > Balaji Loganathan wrote: > > Sorry Dutta, > >Its not working its giving error > > Element type "fo:block" mus

RE: Rookie Question

2002-05-23 Thread Balaji Loganathan
Hi, You can visit this link,where I have asked the similiar question.http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=31&t=002274 I hope I'm not redirecting you to another forum. Regards Balaji --- Roland Neilands <[EMAIL PROTECTED]> wrote: > >My web application needs to

Another step-by-step Multiple Language/font support.

2002-05-23 Thread Balaji Loganathan
Hi, This thread may be reduntant,but I felt may be useful for newbies.. This thread will give you some tips on supporting multiple language/fonts. 1.Create a Language resource XML. Lang.xml example Hello World! Cooperate Courier Hallo Welt!coo

Again out of Memory Error

2002-06-04 Thread Balaji Loganathan
Hi, Recently many people were discussing abt avoiding out of memory error,I read previous threads but couldn't able to find solution for me. Is this error related to Number of pages or input xml size.Because i have a xml with 1588 group of element,which i have to render into PDF in table forma

Re: Again out of Memory Error

2002-06-05 Thread Balaji Loganathan
Hi Cyril, You are right.I did the first step told by you and by Pietschmann at http://marc.theaimsgroup.com/?l=fop-user&m=102020754932144&w=2,Increased my JVM heap size to 256M.Its working now.At one stage its using 359MB of total memory,i'm using window2000. 1.Is this the right way to do it ?Is

Re: Again out of Memory Error -2

2002-06-05 Thread Balaji Loganathan
My xsl snippet. ... ... ... .. my Xml snippet:

Re: Again out of Memory Error -2

2002-06-05 Thread Balaji Loganathan
Hi Cyril, Thanks a lot for replying. I'm using Tomcat 3.2,so I think there shd be someway to imporve JVM heap size. Now I understood the multiple page sequence advantage.I tried to change my to have XSLT to print 20 rows at a time,still coding/re-coding my XSLT to get a good result and not y

Re: Using FOP on a ASP.NET server to convert FO to PDF

2002-06-16 Thread Balaji Loganathan
Hi, Did u able to install Tomcat with IIS.if so then integrating FOP with .NET server is easy. My suggestion is , 1.Try to install Tomcat and run some sample servlet examples. 2.Try to configure FOP with Tomcat so that u can run the FopServlet(a sample servlet which convert FO/XSL to pdf)from