Forum How do I...?

Page Scale Percent

epanagio
Is there a way to scale the content to a certain percentage?

Thanks,
Evan
mikeday
You can scale content to fit within the page if it is too big, like this:
@page {
    prince-shrink-to-fit: auto
}

Prince 8.1 will also support CSS3 Transforms, which allow scaling and rotating arbitrary elements.
epanagio
Is the following syntax valid?
@page {
    prince-shrink-to-fit: auto
}
@page {
   @bottom {
       content: "Page " counter(page) " of " counter(pages);
       font-size:6pt; 
   }
   size: letter landscape;
}

or does the "prince-shrink-to-fit: auto" have to be withn the second @page:
@page {
   prince-shrink-to-fit: auto 
   @bottom {
       content: "Page " counter(page) " of " counter(pages);
       font-size:6pt; 
   }
   size: letter landscape;
mikeday
Either syntax should be fine, although in the second example you will need a semicolon after the auto value.