Re: Failed trying to compile souce, cannot find TraXLiaison

2011-10-18 Thread Pascal Sancho
Hi,

AFAIK, those lib are not required to build FOP. Typically, they are for
FOP dev usage.

using ant, you can avoid to launch the test suite, by typing in:
ant package
(or ant clean package if needed.

for further FOP ant options, type in: ant -p.

see [1] for further details

[1] http://xmlgraphics.apache.org/fop/1.0/compiling.html#env-ant

Le 18/10/2011 04:12, Glenn Adams a écrit :
 Note the messages further up:
 
 [echo] JAI Support NOT Present
 [echo] JUnit Support NOT Present - Committers are required to have
 JUnit working
 [echo] XMLUnit Support NOT Present - you can get it from
 http://xmlunit.sourceforge.net
 
 You need too install support for JAI, JUnit, and XMLUnit before you will
 get a successful build. Also, you may need to tweak the
 build-local.properties file. I'm attaching mine to this message to give
 you an idea of a working build customization.
 
 On Tue, Oct 18, 2011 at 9:33 AM, bzb999 bzb...@gmail.com
 mailto:bzb...@gmail.com wrote:
 
 
 Hello All,
 
 I did a checkout of the 1.0 version of the FOP.  When I tried to compile
 using Ant, I got the following exception.  Something to do with missing
 TraXLiaison.
 
 Could someone help out?
 Thanks
 
 
 $ ant -version
 Apache Ant version 1.7.1 compiled on October 20 2009
 
 $ ant
 Buildfile: build.xml
 
 init-avail:
 [echo] --- Apache FOP 1.0 [1999-2010]
 
 [echo] See build.properties and build-local.properties for
 additional
 build settings
 [echo] Apache Ant version 1.7.1 compiled on October 20 2009
 [echo] VM: 19.1-b02, Sun Microsystems Inc.
 [echo] JAVA_HOME: /etc/alternatives/java_sdk_sun
 [echo] JAI Support NOT Present
 [echo] JCE Support PRESENT
 [echo] JUnit Support NOT Present - Committers are required to have
 JUnit working
 [echo] XMLUnit Support NOT Present - you can get it from
 http://xmlunit.sourceforge.net
 
 init:
 
 codegen:
 [echo] Generating the java files from xml resources
[mkdir] Created dir: /home/wt/MyDocuments/fop-1.0-src/build/gensrc
[mkdir] Created dir:
 /home/wt/MyDocuments/fop-1.0-src/build/gensrc/org/apache/fop/fonts/base14
 [xslt] java.lang.ClassNotFoundException:
 org.apache.tools.ant.taskdefs.optional.TraXLiaison
 [xslt] at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
 [xslt] at java.security.AccessController.doPrivileged(Native
 Method)
 [xslt] at
 java.net.URLClassLoader.findClass(URLClassLoader.java:190)
 [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
 [xslt] at
 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
 [xslt] at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
 [xslt] at java.lang.Class.forName0(Native Method)
 [xslt] at java.lang.Class.forName(Class.java:169)
 [xslt] at
 org.apache.tools.ant.taskdefs.XSLTProcess.loadClass(XSLTProcess.java:548)
 [xslt] at
 
 org.apache.tools.ant.taskdefs.XSLTProcess.resolveProcessor(XSLTProcess.java:533)
 [xslt] at
 org.apache.tools.ant.taskdefs.XSLTProcess.getLiaison(XSLTProcess.java:785)
 [xslt] at
 org.apache.tools.ant.taskdefs.XSLTProcess.execute(XSLTProcess.java:300)
 [xslt] at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
 [xslt] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
 Source)
 [xslt] at
 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 [xslt] at java.lang.reflect.Method.invoke(Method.java:597)
 [xslt] at
 
 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [xslt] at org.apache.tools.ant.Task.perform(Task.java:348)
 [xslt] at org.apache.tools.ant.Target.execute(Target.java:357)
 [xslt] at
 org.apache.tools.ant.Target.performTasks(Target.java:385)
 [xslt] at
 org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
 [xslt] at
 org.apache.tools.ant.Project.executeTarget(Project.java:1306)
 [xslt] at
 
 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [xslt] at
 org.apache.tools.ant.Project.executeTargets(Project.java:1189)
 [xslt] at org.apache.tools.ant.Main.runBuild(Main.java:758)
 [xslt] at org.apache.tools.ant.Main.startAnt(Main.java:217)
 [xslt] at
 org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
 [xslt] at
 org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
 
 BUILD FAILED
 java.lang.ClassNotFoundException:
 org.apache.tools.ant.taskdefs.optional.TraXLiaison

Re: Complex Script Support

2011-10-18 Thread Simon Pepping
I am pleased to let you know that Glenn Adams updated his work with a
new patch. This patch includes the following:

* bug fixes
* new layout engine tests for right-to-left writing mode
* new test utility for using TTX files in testing advanced typographic tables
* new test cases for GDEF/GSUB/GPOS advanced typographic tables
* new test cases for ~85000 arabic word forms against four fonts
* new implementation of number formatter for number to string conversion, which 
adds support for arabic, hebrew, thai, and kana scripts

See milestone Patch 5 at http://skynav.trac.cvsdude.com/fop/report/6 for
further details.

The update has been imported into FOP's code in the
Temp_ComplexScripts branch. The new code is available at the URLs
cited below.

With this patch, Complex Script Support for FOP now supports
* Arabic, Hebrew, and Devanagari Scripts
* PDF output format

Support for
* additional scripts
* additional output formats
remains to be done.

The current state of complex scripts support has been proposed for
merger into the main development trunk, subject to appropriate
evaluation and verification by the FOP community.

You can download the binary distribution or the fop jar file from
http://people.apache.org/~spepping/.

You can check out the source code from FOP's subversion repository,
http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts.

You can follow the work at FOP's Bugzilla, bug nr. 49687,
https://issues.apache.org/bugzilla/show_bug.cgi?id=49687.

Simon Pepping

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


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



Re: Complex Script Support

2011-10-18 Thread Simon Pepping
If you went to the web site http://people.apache.org/~spepping/ very
rapidly after I sent this email, you may have read obsolete 'Notes
about the current state of the work'. Many limitations that were
listed there have now been removed, since those limitations have been
addressed in the course of development over the past year.

Best, Simon Pepping

On Tue, Oct 18, 2011 at 12:51:20PM +0200, Simon Pepping wrote:
 I am pleased to let you know that Glenn Adams updated his work with a
 new patch. This patch includes the following:
 
 * bug fixes
 * new layout engine tests for right-to-left writing mode
 * new test utility for using TTX files in testing advanced typographic tables
 * new test cases for GDEF/GSUB/GPOS advanced typographic tables
 * new test cases for ~85000 arabic word forms against four fonts
 * new implementation of number formatter for number to string conversion, 
 which adds support for arabic, hebrew, thai, and kana scripts
 
 See milestone Patch 5 at http://skynav.trac.cvsdude.com/fop/report/6 for
 further details.
 
 The update has been imported into FOP's code in the
 Temp_ComplexScripts branch. The new code is available at the URLs
 cited below.
 
 With this patch, Complex Script Support for FOP now supports
 * Arabic, Hebrew, and Devanagari Scripts
 * PDF output format
 
 Support for
 * additional scripts
 * additional output formats
 remains to be done.
 
 The current state of complex scripts support has been proposed for
 merger into the main development trunk, subject to appropriate
 evaluation and verification by the FOP community.
 
 You can download the binary distribution or the fop jar file from
 http://people.apache.org/~spepping/.
 
 You can check out the source code from FOP's subversion repository,
 http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ComplexScripts.
 
 You can follow the work at FOP's Bugzilla, bug nr. 49687,
 https://issues.apache.org/bugzilla/show_bug.cgi?id=49687.
 
 Simon Pepping
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 
 
 -
 To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
 For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
 

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



Re: numberformatting problem (austrian format)

2011-10-18 Thread Haichao
This worked, Thanks!
And sorry for the late reply. 

Haichao


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



How To Implement Ligature For Indian Languages In Pdf Documents?

2011-10-18 Thread dilipvshah

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