This sounds bad, shouldn't FOP take the charge of font
metric measurement before rendering to different
format?
Does this mean that for different fonts, SVG output
will alway have the same number of character in each
line?

George

--- Keiron Liddle <[EMAIL PROTECTED]> wrote:
> Hi George,
> 
> 
> The SVG output uses the AWT font metrics of the
> current system, which is the 
> same font metrics that Batik uses to do the text
> rendering.
> Whereas the PDF output uses the PDF font metrics
> which are standardized 
> across any system.
> These metrics are often different which will explain
> the different output you are 
> experiencing as the flow of the text depends on the
> size of each character in the 
> font.
> 
> Keiron
> 
> 
> > Hi, everyone.
> > 
> > I recently come across to that the SVG output and
> PDF
> > output are slightly off each other. 
> > 
> > Take a look at the examples\basic\simple.fo, the
> > difference starts at the 4th line, in SVG, it ends
> > with
> > word "with" while in PDF, it ends with "both".
> This
> > difference is small for font "san-serif", but it
> is
> > very distinguish when using some narrow fonts.
> > 
> > Is this a known issue?
> > 
> > George
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

Reply via email to