Hi Matthias, I've just taken a quick look at this and I'm not really sure what you're attempting to do here. Why have you made the viewBox so large and then put scale to fit on the "<fo:instream-foreign-object>"? You can reduce the size of the view box such that you don't need to scale-to-fit the SVG image. Is there any reason why you're trying to use such large fonts sizes and drawing space?
I'm going to look into why the kerning on that "M" is so far off, but you may be able to work around this issue. Thanks Mehdi On 24 September 2012 03:20, Matthias Reischenbacher <matthias8...@gmx.at>wrote: > Hi, > > one of my clients reported a strange problem with SVG text being misplaced > in PDF output when very high font size values are used. The sample SVG file > also uses very high viewBox values. I created a test case which reproduces > the issue when increasing the font size from 2578pt to 2579pt: suddenly the > characters are misaligned. > The issue doesn't occur when outputting PNG or PS files, so perhaps this > is only related to the PDF code. I've been debugging for several hours, but > I can't find the cause. > I'm attaching a fo file which reproduces the issue and the current PDF > output. Perhaps someone can have a look at it and tell me which code part I > should check, in order to fix the issue. > > Thanks for your help. > > Best regards, > Matthias > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org >