Hi Christoffer

Thanks for taking the time to look into this. Don’t think it is related to 
units, but I did notice that whenever I use a fop font (e.g. by making sure the 
font resolution fails and a default is used) as opposed to a macos one, it does 
seem to work.

So, seems font file/processing related

Peter

> On 19 Apr 2015, at 13:25, Christoffer Bruun <cdbr...@flyingpigs.dk> wrote:
> 
> Forgot to cc you directly
> 
> 
> -------- Videresendt meddelelse --------
> Subject:      Re: Rendering svg instream foreign object to pdf gives wrong 
> result when svg contains dy on text
> Date: Sun, 19 Apr 2015 13:19:35 +0200
> From: Christoffer Bruun <cdbr...@flyingpigs.dk> <mailto:cdbr...@flyingpigs.dk>
> To:   fop-users@xmlgraphics.apache.org 
> <mailto:fop-users@xmlgraphics.apache.org>
> 
> Hi Peter,
> 
> Could it be some sort of unit confusion?
> 
> You are using unit-less x and y attributes, but dy is given in px
> 
> /Christoffer
> 
> 
> 
> Den 15-04-2015 kl. 22:14 skrev Peter Coppens:
>> Hello 
>> 
>> I have a svg that has a text element positioned with a dy attribute. When 
>> the svg is displayed in the browser or rendered to a png using batik, the dy 
>> is taken into account, but when using fop to render to pdf it is not.
>> 
>> Attached the fo file, the resulting pdf and the png as rendered by batik.
>> 
>> Is there something wrong with the fo input or is the pdf transcoder not 
>> support the dy attribute?
>> 
>> All tips welcomed!
>> 
>> Tx
>> 
>> Peter
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org 
>> <mailto:fop-users-unsubscr...@xmlgraphics.apache.org>
>> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org 
>> <mailto:fop-users-h...@xmlgraphics.apache.org>
> 
> 

Reply via email to