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

--- Comment #15 from na...@th.ibm.com ---
(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 ?

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

Reply via email to