Re: Gujarati Support [Was: How To Implement Ligature For Indian Languages In Pdf Documents?]
Hi Glen, Language / ligatures are perfect in the PDF document. This is very encouraging, especially because the words in the document are quite complex. I know that many users of my application use Arial Unicode MS on Windows and so that would be a good font family to test. I'm thrilled to see it take shape! I'll be happy to review other documents you generate and once the code is stable, would be happy to test it out. Regards, Dilip From: Glenn Adams Sent: Wednesday, November 30, 2011 10:57 AM To: fop-users@xmlgraphics.apache.org Cc: dilipvs...@hotmail.com Subject: Gujarati Support [Was: How To Implement Ligature For Indian Languages In Pdf Documents?] Hi Dilip, Attached is a test FO file and resulting PDF I just generated with Gujarati support enabled. Could you take a quick look to verify. I used an excerpt from [1] as a sample. I currently have only the Shruti (regular and bold) fonts from Windows 7 to test against. Do you have other Gujarati OpenType (1.5 or later) fonts you would like me to verify? [1] http://gu.wikipedia.org/wiki/મુખપૃષ્ઠ Regards, Glenn On Wed, Nov 30, 2011 at 8:39 AM, Glenn Adams gl...@skynav.com wrote: yes; i started work on this (Gujarati) a few days ago On Wed, Nov 30, 2011 at 8:24 AM, dilipvshah dilipvs...@hotmail.com wrote: Are we still shooting for the end of the year release? Dilip dilipvshah wrote: I wish to use XSL-FO technology to generate PDF documents in Indian languages. Here are the steps I took: 1) I downloaded fop-1.0 and tried their first example to display a name. I tried to display name in one of the Indian languages, Gujarati. 2) I modified the fop configuration file to load Arial Unicode MS 3) The example application does produce PDF document with Gujarati fonts but the text is displayed as a sequence of individual characters and doesn't use ligature to display the text correctly. The font glyphs are displayed in the ordered they are entered in Google's transliterate tool but since ligature rules are not applied, the name is displayed incorrectly. Does FOP have ligature rules for Indian languages? If so, how do I apply them when generating a PDF document. Thanks! -- View this message in context: http://old.nabble.com/How-To-Implement-Ligature-For-Indian-Languages-In-Pdf-Documents--tp32677144p32884784.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Gujarati Support [Was: How To Implement Ligature For Indian Languages In Pdf Documents?]
Besides matra positioning, there seems to be issues with combining several characters such as ત with ર, બ with ધ and so on. From: Glenn Adams Sent: Wednesday, November 30, 2011 12:35 PM To: Dilip Shah Cc: fop-users@xmlgraphics.apache.org Subject: Re: Gujarati Support [Was: How To Implement Ligature For Indian Languages In Pdf Documents?] Thanks for checking. I just ran the same data with Arial Unicode MS (see attached). There appears to be some issues on matra positioning. I'll look into this. On Wed, Nov 30, 2011 at 1:18 PM, Dilip Shah dilipvs...@hotmail.com wrote: Hi Glen, Language / ligatures are perfect in the PDF document. This is very encouraging, especially because the words in the document are quite complex. I know that many users of my application use Arial Unicode MS on Windows and so that would be a good font family to test. I'm thrilled to see it take shape! I'll be happy to review other documents you generate and once the code is stable, would be happy to test it out. Regards, Dilip From: Glenn Adams Sent: Wednesday, November 30, 2011 10:57 AM To: fop-users@xmlgraphics.apache.org Cc: dilipvs...@hotmail.com Subject: Gujarati Support [Was: How To Implement Ligature For Indian Languages In Pdf Documents?] Hi Dilip, Attached is a test FO file and resulting PDF I just generated with Gujarati support enabled. Could you take a quick look to verify. I used an excerpt from [1] as a sample. I currently have only the Shruti (regular and bold) fonts from Windows 7 to test against. Do you have other Gujarati OpenType (1.5 or later) fonts you would like me to verify? [1] http://gu.wikipedia.org/wiki/મુખપૃષ્ઠ Regards, Glenn On Wed, Nov 30, 2011 at 8:39 AM, Glenn Adams gl...@skynav.com wrote: yes; i started work on this (Gujarati) a few days ago On Wed, Nov 30, 2011 at 8:24 AM, dilipvshah dilipvs...@hotmail.com wrote: Are we still shooting for the end of the year release? Dilip dilipvshah wrote: I wish to use XSL-FO technology to generate PDF documents in Indian languages. Here are the steps I took: 1) I downloaded fop-1.0 and tried their first example to display a name. I tried to display name in one of the Indian languages, Gujarati. 2) I modified the fop configuration file to load Arial Unicode MS 3) The example application does produce PDF document with Gujarati fonts but the text is displayed as a sequence of individual characters and doesn't use ligature to display the text correctly. The font glyphs are displayed in the ordered they are entered in Google's transliterate tool but since ligature rules are not applied, the name is displayed incorrectly. Does FOP have ligature rules for Indian languages? If so, how do I apply them when generating a PDF document. Thanks! -- View this message in context: http://old.nabble.com/How-To-Implement-Ligature-For-Indian-Languages-In-Pdf-Documents--tp32677144p32884784.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Freezing when attempting to create new instance of FopFactory.
Hello, I'm working on a print template system for an application, and everything seemed to work fine, then I deployed it. The problem traces down to where I create a new instance of the FopFactory by using: FopFactory fopFactory = FopFactory.newInstance(); Now here's the thing. There are no exceptions thrown, no errors either it seems. It just gets to this point in the code and stops. Does anyone know what could possibly be the problem, or where I should start to look? -- --- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT --- http://jrsofty1.stinkbugonline.com http://www.galahtech.org
Re: Freezing when attempting to create new instance of FopFactory.
Hi, it sounds like you have a library problem. What version of FOP are you using? What are the libraries that your application is using? Possibly you inherit some libraries from the application server. I had a similar problem in the past and it was related with the libraries. Regards, k. On 12/1/2011 5:11 PM, JRSofty wrote: Hello, I'm working on a print template system for an application, and everything seemed to work fine, then I deployed it. The problem traces down to where I create a new instance of the FopFactory by using: FopFactory fopFactory = FopFactory.newInstance(); Now here's the thing. There are no exceptions thrown, no errors either it seems. It just gets to this point in the code and stops. Does anyone know what could possibly be the problem, or where I should start to look? -- --- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT --- http://jrsofty1.stinkbugonline.com http://www.galahtech.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: Freezing when attempting to create new instance of FopFactory.
I had something like that - it was hitting the create FopFactory and just exiting, no error no nothing, To resolve this I set my logging to debug, and suddenly I saw the problem appear in the logs. Kindest regards Theresa Forster Senior Software Developer From: JRSofty [mailto:jrso...@gmail.com] Sent: 01 December 2011 15:12 To: fop-users@xmlgraphics.apache.org Subject: Freezing when attempting to create new instance of FopFactory. Hello, I'm working on a print template system for an application, and everything seemed to work fine, then I deployed it. The problem traces down to where I create a new instance of the FopFactory by using: FopFactory fopFactory = FopFactory.newInstance(); Now here's the thing. There are no exceptions thrown, no errors either it seems. It just gets to this point in the code and stops. Does anyone know what could possibly be the problem, or where I should start to look? -- --- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT --- http://jrsofty1.stinkbugonline.com http://www.galahtech.org
RE: Freezing when attempting to create new instance of FopFactory.
I just checked the list going back to when I had the problem this is what I found back then.. I thought I had posted, I discovered the issue, it was noclassdeffound errors but tomcat was swallowing them so I wasn't getting anywhere on debug, however when I took the code into a stand alone app it gave me the error, I was missing all sorts of jars that the previous version of fop I was using (something like 0.23 modified) wasn't needed, including xml-api-ext and Avalon framework. Kindest regards Theresa Forster Senior Software Developer
Re: Freezing when attempting to create new instance of FopFactory.
Hello All, Thanks for the help, you were right it was a library problem, however, the library was there someone had just accidentally added bin after the .jar in the classpath reference and of course that means it didn't find the library. Thanks again, Jason On Thu, Dec 1, 2011 at 4:25 PM, Theresa Jayne Forster ther...@inbrand.co.uk wrote: I just checked the list going back to when I had the problem this is what I found back then…. ** ** I thought I had posted, I discovered the issue, it was noclassdeffound errors but tomcat was swallowing them so I wasn’t getting anywhere on debug, however when I took the code into a stand alone app it gave me the error, I was missing all sorts of jars that the previous version of fop I was using (something like 0.23 modified) wasn’t needed, including xml-api-ext and*** * Avalon framework. ** ** ** ** ** ** Kindest regards ** ** Theresa Forster Senior Software Developer -- --- THIS IS A SIGNATURE NO NEED TO CLICK ON LINKS UNLESS YOU FEEL LIKE IT --- http://jrsofty1.stinkbugonline.com http://www.galahtech.org