Re: How To Implement Ligature For Indian Languages In Pdf Documents?

2011-10-19 Thread Simon Pepping
Support for Indian scripts is being developed. See the overview at
http://people.apache.org/~spepping/. You could help by testing this
work.

At this moment support for Indian scripts is limited to devanagari.
Gujarati is in the planning.

Simon Pepping

On Tue, Oct 18, 2011 at 02:32:10PM -0700, 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.

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Where's the class?

2011-10-19 Thread Eric Douglas
I downloaded fop as the latest trunk snapshot and it says you took away
a class?
What happened to org.apache.fop.render.pdf.PDFRenderer?


Re: Where's the class?

2011-10-19 Thread mehdi houshmand
Hi Eric,

The renderers of old were removed quite a while ago in commit#989178.

Hope that helps

Mehdi

On 19 October 2011 14:33, Eric Douglas edoug...@blockhouse.com wrote:
 I downloaded fop as the latest trunk snapshot and it says you took away a
 class?
 What happened to org.apache.fop.render.pdf.PDFRenderer?

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: Where's the class?

2011-10-19 Thread mehdi houshmand
Sorry Eric, I meant to say, this is a developer question, could you
post questions concerning the code on fop-dev in future.

Thanks

Mehdi

On 19 October 2011 14:47, mehdi houshmand med1...@gmail.com wrote:
 Hi Eric,

 The renderers of old were removed quite a while ago in commit#989178.

 Hope that helps

 Mehdi

 On 19 October 2011 14:33, Eric Douglas edoug...@blockhouse.com wrote:
 I downloaded fop as the latest trunk snapshot and it says you took away a
 class?
 What happened to org.apache.fop.render.pdf.PDFRenderer?


-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How To Implement Ligature For Indian Languages In Pdf Documents?

2011-10-19 Thread dilipvshah

My immediate need is generating PDF with Gujarati text and have a reasonably
large dataset in Gujarati to test such a functionality. I would be more than
happy to participate in the testing process when that support is ready. I'm
assuming that you have Gujarati experts participate in the planning and
development process when that starts. Here also, if you need any help, let
me know.

Dilip


Simon Pepping @ Home wrote:
 
 Support for Indian scripts is being developed. See the overview at
 http://people.apache.org/~spepping/. You could help by testing this
 work.
 
 At this moment support for Indian scripts is limited to devanagari.
 Gujarati is in the planning.
 
 Simon Pepping
 
 On Tue, Oct 18, 2011 at 02:32:10PM -0700, 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.
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/How-To-Implement-Ligature-For-Indian-Languages-In-Pdf-Documents--tp32677144p32683156.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



Test of complex scripts

2011-10-19 Thread Simon Pepping
I tested the new version of the complex scripts functionality on one
test file with a text written in devanagari script. I used the fonts
Aparajita v.5.91, Kokila v.5.91, Mangal v.5.90, Utsaah v.5.91. I
compared it with the expected outcome and the fit was perfect.

Note that I do not have the versions of these fonts in Windows 7,
which are v.1.00. Even so, I got good results.

I do not quite remember where I got the test file from. I believed it
came from the skynav trac site, together with the expected outcome,
but I cannot find it there.

I am happy with this good result. I leave more extensive testing to
users who use devanagari natively.

Simon Pepping

-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org



Re: How To Implement Ligature For Indian Languages In Pdf Documents?

2011-10-19 Thread Glenn Adams
Dilip,

Thanks for your offer of test data. What I need is a UTF-8 encoded text file
containing Gujarati word forms, one form on each line. If that data is
available in an unencumbered form on the Web, then let me know a link for
downloading. Otherwise, I would need you to post it as an attachment to the
current complex script bug [1], and also will need you to complete and send
an Individual Contributors License Agreement (ICLA) [2] to the ASF.

Once I have this data, I will be in a better position to add the small
amount of code needed to support the Gujarati script, with which I am
already familiar [I authored the Unicode Standard's detailed treatment of
Indic scripts.]

Regards,
Glenn

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=49687
[2] http://www.apache.org/licenses/icla.txt

On Wed, Oct 19, 2011 at 11:15 PM, dilipvshah dilipvs...@hotmail.com wrote:


 My immediate need is generating PDF with Gujarati text and have a
 reasonably
 large dataset in Gujarati to test such a functionality. I would be more
 than
 happy to participate in the testing process when that support is ready. I'm
 assuming that you have Gujarati experts participate in the planning and
 development process when that starts. Here also, if you need any help, let
 me know.

 Dilip


 Simon Pepping @ Home wrote:
 
  Support for Indian scripts is being developed. See the overview at
  http://people.apache.org/~spepping/. You could help by testing this
  work.
 
  At this moment support for Indian scripts is limited to devanagari.
  Gujarati is in the planning.
 
  Simon Pepping
 
  On Tue, Oct 18, 2011 at 02:32:10PM -0700, 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.
 
  -
  To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
  For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
 
 

 --
 View this message in context:
 http://old.nabble.com/How-To-Implement-Ligature-For-Indian-Languages-In-Pdf-Documents--tp32677144p32683156.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: How To Implement Ligature For Indian Languages In Pdf Documents?

2011-10-19 Thread dilipvshah

Hi Glenn,

I've attached a UTF-8 encoded file to link [1]. Let me know if it's helpful
or you expect it in some other form.

I'll fill up form [2] and complete that part.

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--tp32677144p32687045.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