-
I have read manuals many times and some hours using net to read scaling problems with fop.
This give about good result but not absolut answer:
img {
content-height: scale-to-fit;
content-width: scale-to-fit;
display: graphic;
scaling: uniform;
src: src;
}
img.pic {
content-width: scale-to-fit;
content-height: 100%;.
2009-05-19 10:45:14 UTC in CSSToXSLFO
-
I have tried to make generic css rules for images, but no so lucky.
*small png images*
Like to scale as they are on the display = about wysewyg, now output is bigger as original.
<img class="button" src="plus.png" alt="plus"></img>
*big images*
Ex. I have img which width is 1000px
<img class="pic" src="display.png"...
2009-05-19 09:53:45 UTC in CSSToXSLFO
-
I set to the css
hyphenate: false;
then works fine.
java -jar $MYCLASS/css2fopnew.jar -p preprocess_xhtml.xsl manual.xhtm -fop -pdf manual.pdf.
2009-04-21 09:29:07 UTC in CSSToXSLFO
-
I have tried to start us this css2fopnew
I have fop.jar, saxon9.jar and xalan-2.7.0.jar, but not so lucky to do pdf.
To put preprocessor and fopnew together ? fop version is 0.95.
Then I tried:
java -jar $MYCLASS/saxon9.jar manual.xhtml preprocess_xhtml.xsl > manual.html
java -jar $MYCLASS/css2fopnew.jar manual.html -fop -pdf manual.pdf
First I got error
21.4.2009 10:36:59...
2009-04-21 08:11:50 UTC in CSSToXSLFO