Re: PDF-Images - When scaling embedded PDFs with links, the link position is not moved/scaled in relation to image scaling.

David Law <[email protected]>
Newsgroups gmane.text.xml.fop.user
Message-ID <[email protected]>
Mark,

it certainly looks very suspicious.

Could it be that some Margins, Borders or Padding are muddying the waters?

Maybe its worth trying...
<fo:block *background-color="#F38222"*>
     <fo:external-graphic *background-color="#4F491D"*
         src="image1.pdf"
     />
</fo:block>
...and...
<fo:block *background-color="#F38222"*>
     <fo:external-graphic *background-color="#4F491D"*
         src="image1.pdf"
         width="70%"
         content-height="scale-down-to-fit"
         content-width="scale-down-to-fit"
     />
</fo:block>
...to see how large the areas are?

All the best,
DaveLaw


On 17/08/2022 00:31, Mark Gibson wrote:
>
> Hi
>
> When using PDF-Images to embed a PDF with links, when scaling the 
> image, the links are not scaled/repositioned according to the image 
> scaling.
>
> I’ve attached two “fo” files, the image with links to be embedded, and 
> their resultant PDFs.
>
> Wondering if we’re missing some magic XSL-FO incantation, or whether 
> this is a bug.
>
> Thanks
>
> Mark
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:[email protected]
> For additional commands, e-mail:[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.