On Wed, 31 Aug 2005 03:46 pm, Dirk Bromberg wrote:
Hi,
i've a short question using fop 20.5.
When i want to keep two elements on my page together what must i
do?
Have you seen:
http://xmlgraphics.apache.org/fop/faq.html#keep-with
Manuel
fo:blockFirst Element/fo:block
fo:blockSecond
Ok, I did the following :
1. Remove JAI and test. - Result is the same error.
2. Reinstall JAI and set CLASSPATH=...directory where jai_core and codec.jar
are located and test - Result is the same error.
Please, keep me in touch if any corrected trunk is available
Regards
Lawrence
Clean ant followed by Ant result to a successful build. Thanks.
Unfortunately, I still get the same error message at FO processing with a GIF
Image:
Exception in thread main java.lang.NoClassDefFoundError:
com/sun/media/jai/codec/FileCacheSeekableStream
at
Fop invocation is done as follow :
Batch file :
CALL ..\..\Tools\fop-0.20.5\fop -c ..\..\Tools\fop-0.20.5\conf\PostConfig.xml
-fo ..\XSL-FO\uml_dp2_Handsortierung_BE.fo -pdf
..\Publikation\Generated\EA_Ist\PDF\TA\uml_dp2_Handsortierung_BE.pdf
Lawrence
-Message d'origine-
De : Manuel
I got it :
The typical installation of JSDK5 will create two directories : one for JDK,
and the other one for JRE. The Jai installation has only filled the
SDK/jre/lib/.../ext/ directory, and did not add anything in the
JRE/lib/.../ext/ one. I firgot to install the JAI for JRE! (Except that I
Sorry, I forgot to post the fo:external-graphics :
fo:block text-align=center padding-after=15pt
fo:external-graphic
content-type=image/bmp
src=../Publikation/Images/HS_Einfaechern.gif
inline-progression-dimension.optimum=auto
Are the SVG and JPEG images the same size as the GIF, i.e. same number
of pixels horz/vert and same resolution (dots/in)? What size is the
actual GIF in pixels horz/vert?
BTW, the content-type should most likely be image/gif but I doubt it
matters.
Manuel
On Wed, 31 Aug 2005 06:43 pm, [EMAIL
[EMAIL PROTECTED] wrote:
Sorry, I forgot to post the fo:external-graphics :
fo:block text-align=center padding-after=15pt
fo:external-graphic
content-type=image/bmp
src=../Publikation/Images/HS_Einfaechern.gif
inline-progression-dimension.optimum=auto
And to add to the other comments, you should rather use content-height
and content-width instead of i-p-d and b-p-d because the latter only
defines the size of the viewport, not of the reference area in which the
image is painted. There seems to be a lot of confusion about the use of
these
On 31.08.2005 14:37:35 michella wrote:
Ok... But how could it be possible that it had worked properly with the
older version of FOP?
Rather, it could be that FOP Trunk finally does what the specification
says. :-) content-height was not supported by FOP 0.20.5 and the
width/height properties
I have four specific cases that should be automatically handled :
Let X be maxWidth, let Y be maxHeight (in px):
1. if imgWidth X and imgHeight = Y -- uniform scale until imgWidth fits to X
2. if imgWidth X and imgHeight Y -- uniform scale until imgWidth and
imgHeigth fits to X and Y
3. if
I've just committed the demo section to examples/fo/images.fo.
http://svn.apache.org/viewcvs?rev=265037view=rev
I must say I'm happy to see that FOP seems to do its job well now (FOP
Trunk). You should quickly find the property combination you need to use
in your case.
My suggestion below is
Ok, the min/opt/max stuff definitely doesn't work correctly, yet. I'd
simply set a hard-coded height value (preferably not in px) and use
content-height=scale-to-fit. That should solve your problem and
maintain compatibility to 0.20.5.
On 31.08.2005 15:31:23 Jeremias Maerki wrote:
snip/
I'm not
I have an xml document which looks like this:
products
product
nameshirt/name
metadata fieldid=1
fieldvaluelong sleeve/fieldvalue
metadata fieldid=2
fieldvaluered/fieldvalue
Thank you Jeremias, I followed the instructions and now I can make it work
by embedding the font in the document.
Looking at the samples in userconfig.xml, this is how I register the fonts:
font metrics-file=ttfarialuni.xml
embed-file=C:\WINDOWS\Fonts\ArialUni.ttf kerning=yes
font-triplet
15 matches
Mail list logo