https://issues.apache.org/bugzilla/show_bug.cgi?id=53573

--- Comment #16 from Glenn Adams <gad...@apache.org> ---
(In reply to comment #15)
> (In reply to comment #14)
> > (In reply to comment #13)
> > > (In reply to comment #10)
> > > > (In reply to comment #6)
> > > > > The first 3 lines of generated PDF from you give a near correct look.
> > > > > The problem is at character 26, Mai-Ek.
> > > > > It ship too far to the left.
> > > > 
> > > > I understand. I will investigate this further.
> > > > 
> > > > > I have few questions regarding to your output.
> > > > > I changed my fo:block element removing all attribute except 
> > > > > font-family.
> > > > > My result is different from what you got.
> > > > > It is look similar to the second line in first jpg attachment.
> > > > > Why the different ?
> > > > 
> > > > That's hard to say. I am using FOP1.1rc1 and Version 5.0 of the 
> > > > AngsanaUPC
> > > > font (from Windows 7). If you are using different versions, then that 
> > > > could
> > > > cause the difference.
> > > > 
> > > I'm using AngsanaUPC 5.0 from Windows 7 SP1 64 bits [Version 6.1.7601]
> > > I uses FOP from SVN trunk, checked out today.
> > 
> > Hmmm. Strange. Here is the config I am using (fop.xconf):
> > 
> > <?xml version="1.0"?>
> > <fop version="1.0">
> >   <use-cache>false</use-cache>
> >   <base>./</base>
> >   <strict-configuration>true</strict-configuration>
> >   <renderers>
> >     <renderer mime="application/pdf">
> >       <filterList>
> >     <value>flate</value>
> >       </filterList>
> >       <fonts>
> >     <directory>./fonts</directory>
> >       </fonts>
> >     </renderer>
> >   </renderers>
> > </fop>
> > 
> > I placed the angsanu.ttf file in a fonts directory in the directory that
> > contains this config. I turned of the font-cache to make sure it is using
> > that font.
> > 
> > Perhaps you might try this also?
> 
> Tried it. Nothing change. I might forget to mention you that i embed FOP
> into java application. I copied fop.xconf from FOP 1.0 directory and put it
> right into my java project. The only section i changed is all those you
> mention above.
> Do i have to set anything other than that for embedded use ?

What results do you get when running FOP directly from command line using fop
script or directly from Java command?

Here is a debug output from my invocation (I'm using Ant to invoke java
directly):

     [java] Executing
'/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java'
with arguments:
     [java] '-Xms512m'
     [java] '-Xmx2048m'
     [java] '-Djava.awt.headless=true'
     [java] '-Djava.util.logging.config.file=logging.properties'
     [java] '-ea:org.apache.fop...'
     [java] '-classpath'
     [java]
'/Users/glenn/work/fop/build/fop.jar:/Users/glenn/work/fop/lib/avalon-framework-4.2.0.jar:/Users/glenn/work/fop/lib/batik-all-1.7.jar:/Users/glenn/work/fop/lib/commons-io-1.3.1.jar:/Users/gl\
enn/work/fop/lib/commons-logging-1.0.4.jar:/Users/glenn/work/fop/lib/fop-hyph.jar:/Users/glenn/work/fop/lib/serializer-2.7.0.jar:/Users/glenn/work/fop/lib/servlet-2.2.jar:/Users/glenn/work/fop/lib/xalan\
-2.7.0-sources.jar:/Users/glenn/work/fop/lib/xalan-2.7.0.jar:/Users/glenn/work/fop/lib/xercesImpl-2.7.1.jar:/Users/glenn/work/fop/lib/xml-apis-1.3.04.jar:/Users/glenn/work/fop/lib/xml-apis-ext-1.3.04.ja\
r:/Users/glenn/work/fop/lib/xmlgraphics-commons-1.5svn.jar'
     [java] 'org.apache.fop.cli.Main'
     [java] '-q'
     [java] '-c'
     [java] 'fop.xconf'
     [java] '-fo'
     [java] './test.fo.xml'
     [java] '-pdf'
     [java] './test.pdf'

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to