I have no idea how it can be fixed,
because I will get in my template different images and I don't know the
meassurements of them.
Von: Luis Bernardo [mailto:lmpmberna...@gmail.com]
Gesendet: Mittwoch, 26. Februar 2014 00:56
An: fop-users@xmlgraphics.apache.org
Betreff: Re: AW: Scaling images
y the apache team or
should I build a workaround?
*Von:*Luis Bernardo [mailto:lmpmberna...@gmail.com]
*Gesendet:* Dienstag, 25. Februar 2014 14:05
*An:* fop-users@xmlgraphics.apache.org
*Betreff:* Re: Scaling images
Add the height attribute to the external-graphic element. Now, I was
expecting
, 25. Februar 2014 14:05
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Scaling images
Add the height attribute to the external-graphic element. Now, I was expecting
that height="100%" would work in this case but it doesn't seem to be the case
so either there is a bug in th
t;uniform"/>
>
>
>
>
>
>
>
> *Von:* Luis Bernardo [mailto:lmpmberna...@gmail.com]
> *Gesendet:* Montag, 24. Februar 2014 14:33
> *An:* fop-users@xmlgraphics.apache.org
> *Betreff:* Re: Scaling images
>
>
>
> I think the issue is
But it fails also.
Is there really a support of content-height="scale-to-fit"?
Von: Luis Bernardo [mailto:lmpmberna...@gmail.com]
Gesendet: Montag, 24. Februar 2014 15:46
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Scaling images
Yes, that is the best approach. You can even
gt;
>
>
>
> *Von:* Luis Bernardo [mailto:lmpmberna...@gmail.com]
> *Gesendet:* Montag, 24. Februar 2014 14:33
> *An:* fop-users@xmlgraphics.apache.org
> *Betreff:* Re: Scaling images
>
>
>
> I think the issue is height="100%", which doesn't wor
Ok should I use something like this?
Von: Luis Bernardo [mailto:lmpmberna...@gmail.com]
Gesendet: Montag, 24. Februar 2014 14:33
An: fop-users@xmlgraphics.apache.org
Betreff: Re: Scaling images
I think the issue is height="100%", which doesn&
I think the issue is height="100%", which doesn't work the way you probably
expect... When you specify 100%, you want 100% of what? Width does not
suffer from the same "problem" because the width is constrained by the page
width. Since the height is not constrained by the page height, as you maybe
Hello FOP,
I've got an issue about scalling images.
The target is to scale images so they fit to the space on the page.
Scaling the width works fine.
I set this ("breit.png" is a picture with extreme width):
So I tried this ("hoch.png" is a picture with extreme height) :
--> That failed --> The
I think the layout manager code for external-graphic and
instream-foreign-object still have smaller problems in this area. It
seems that the code doesn't properly check if they height exceed the
area made available. The image is always scaled horizontally to the
available limits. Now, if the image
Title: Scaling images that are running off the page!
Hello All,
I am trying to scale images that are running off the page owing to their width and height dimensions.
My page has a width of 7 inches and a height of 6.75 inches.
This is my fo: instruction:
<fo:external-grap
Well, now I'm investigating how to get the content-width of the image and
see if that exceeds the content-width of the content rectangle that will
hold the image.
Support for the scale-down-to-fit value for the content-width property
would work nicely. If I were to request an enhancement, that
12 matches
Mail list logo