Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Xsl-fo

  • 05-07-2007 10:14am
    #1
    Registered Users, Registered Users 2 Posts: 11,264 ✭✭✭✭


    Anyone familiar with scaling graphics?

    I need to print a report that contains a table and in each row is a logo but they are of different sizes so I need to scale it. I've tried different permutations of the following but it's not working.
    <fo:external-graphic content-height="scale-to-fit" content-width="scale-to-fit" scaling="uniform" height="12mm">
       <xsl:attribute name="src">
         <xsl:value-of select="./@logo"/>
       </xsl:attribute>
    
    <fo:external-graphic content-width="12mm" content-height="12mm" scaling="uniform">
    


Comments

  • Subscribers Posts: 4,076 ✭✭✭IRLConor


    Does your XSL-FO processor/renderer support those features?

    What are you using? FOP? If so, what version?

    What format are the images in?


  • Registered Users, Registered Users 2 Posts: 11,264 ✭✭✭✭jester77


    IRLConor wrote:
    Does your XSL-FO processor/renderer support those features?

    What are you using? FOP? If so, what version?

    What format are the images in?

    Using FOP 0.92 and the images are all JPG's.
    Gave up on it and just gave the table row's a fixed height equal to the tallest logo. An ok workaround for now.


Advertisement