Discussion:
fo:inline with line-height, height, border or other block-like properties
Abel Braaksma
2006-10-13 13:32:12 UTC
Permalink
[something went wrong with subscription a while ago. This message was
originally send Monday 2 October, but apparently my subscription was
wrong. My apologies if this is the second time you see this message. I
will request a digest]

-------- Original Message --------

Dear List,

I am new to XSL-FO, but I am trying to read up and catch up. From what I
understand from the specs and from the book "Definitive XSL-FO", it is
possible to do the following:

<fo:block space-before="1em" space-after="1em">Paragraph with different
sizes: <fo:block/>
<fo:inline font-size="1.70" padding-top="2em">large,</fo:inline>
<fo:inline font-size="2.67" padding-top="2em">x-large,</fo:inline>
<fo:inline font-size="3.13" padding-top="2em">xx-large.</fo:inline>
And back to normal again.
</fo:block>

In that example, I use the common property "padding-top". From the
compliance page from Apache Fop, I understand that padding-properties
are supported. Same for border-top-width, height and the like. These
properties can be used on inline elements as well as on block elements.
For block elements they seem to work perfect, but for inline elements,
they are completely ignored.

Can someone help me here? What I am trying to do is make the line-height
higher when halfway up a line, not knowing up-front what the maximum
height will be for that line (I cannot know what fits on a line and what
not). In HTML (as a bad comparison), this is done automatically with
inline elements (<span>, <em> etc).

I tried using <fo:block> with keep-with-next, expecting that the
line-break on the end of the block would not appear, but alas, it did
anyway. So using a block as an inline element was no consort either.

Anybody any ideas?

Thanks in advance,

Cheers,
Abel Braaksma
Jeremias Maerki
2006-10-13 13:37:29 UTC
Permalink
You got an answer on your question from Manuel Mall:
http://www.nabble.com/fo%3Ainline-with-line-height%2C-height%2C-border-or-other-block-like-properties-tf2369401.html
Post by Abel Braaksma
[something went wrong with subscription a while ago. This message was
originally send Monday 2 October, but apparently my subscription was
wrong. My apologies if this is the second time you see this message. I
will request a digest]
-------- Original Message --------
Dear List,
I am new to XSL-FO, but I am trying to read up and catch up. From what I
understand from the specs and from the book "Definitive XSL-FO", it is
<fo:block space-before="1em" space-after="1em">Paragraph with different
sizes: <fo:block/>
<fo:inline font-size="1.70" padding-top="2em">large,</fo:inline>
<fo:inline font-size="2.67" padding-top="2em">x-large,</fo:inline>
<fo:inline font-size="3.13" padding-top="2em">xx-large.</fo:inline>
And back to normal again.
</fo:block>
In that example, I use the common property "padding-top". From the
compliance page from Apache Fop, I understand that padding-properties
are supported. Same for border-top-width, height and the like. These
properties can be used on inline elements as well as on block elements.
For block elements they seem to work perfect, but for inline elements,
they are completely ignored.
Can someone help me here? What I am trying to do is make the line-height
higher when halfway up a line, not knowing up-front what the maximum
height will be for that line (I cannot know what fits on a line and what
not). In HTML (as a bad comparison), this is done automatically with
inline elements (<span>, <em> etc).
I tried using <fo:block> with keep-with-next, expecting that the
line-break on the end of the block would not appear, but alas, it did
anyway. So using a block as an inline element was no consort either.
Anybody any ideas?
Thanks in advance,
Cheers,
Abel Braaksma
---------------------------------------------------------------------
Jeremias Maerki
Abel Braaksma
2006-10-13 14:26:44 UTC
Permalink
Post by Jeremias Maerki
http://www.nabble.com/fo%3Ainline-with-line-height%2C-height%2C-border-or-other-block-like-properties-tf2369401.html
Thanks Jeremias. This list apparently also works when you are not (or
not correctly) subscribed.

Manuel, sorry for this belated reply, but I thought (really) that this
FOP User list was dead(ish) until I saw on the internet and XSLT list
referrers to recent posts. I retried. Here are my answers to your questions.
Post by Jeremias Maerki
No they are not ignored, although it may appear that way. This is one of
the peculiarities of the XSL-FO spec. For block areas border/padding
are inside the allocation rectangle for inline areas they are outside
(see section 4.2.3). Therefore defining border/padding top/bottom on an
inline area will not make the line any higher.
Post by Abel Braaksma
Can someone help me here? What I am trying to do is make the
line-height higher when halfway up a line, not knowing up-front what
the maximum height will be for that line (I cannot know what fits on
a line and what not). In HTML (as a bad comparison), this is done
automatically with inline elements (<span>, <em> etc).
Not sure I fully understand what you trying to achieve. FOP will use the
maximum height of any inlines as the height of the line.
Well, I really hoped so, But this is not what happens. If I have in one
paragraph different font sizes, the bigger font sizes will overlap over
the previous line. If I set the line-height to a given height, it is
applied to all lines of the paragraph, whereas I want the line to be of
the minimum height required *per line*, inside that paragraph.

Consider the following HTML snippet:
<html>
<body>
<div style="width:100px;">
<font size="2">This piece is in a small font
size but <font size="5">this is BIG</font>
and this is <font size="7">real BIG</font>
and back to normal again.
</div>
</body>

Paste it in a text file you see what I mean. The first lines have a
small line-height (automatically), the next lines are higher when
needed, to prevent overlap, the last lines have smaller line-height,
because no bit text anymore. All inside one paragraph. If I do the same
in XSL-FO, the BIG letters will overlap with the previous lines and look
ugly. If I increase the line height, the line heigh increases for the
whole paragraph.

What I want is to increase the line height only where it is needed: on
the inline element. But this I tried, and does not seem possible (though
what I got from the specs and what you say above, it should be possible
(?) )
Post by Jeremias Maerki
So, it should
do what you want without anything special. If I have misunderstood you
could you please rephrase what you trying to do.
Yes I can, see above, hope it clears things up a bit.
Post by Jeremias Maerki
BTW, which version of FOP are you using?
version 0.92a (latest, I believe).
Manuel Mall
2006-10-16 12:47:41 UTC
Permalink
Post by Abel Braaksma
Post by Jeremias Maerki
http://www.nabble.com/fo%3Ainline-with-line-height%2C-height%2C-bor
der-or-other-block-like-properties-tf2369401.html
Thanks Jeremias. This list apparently also works when you are not (or
not correctly) subscribed.
Manuel, sorry for this belated reply, but I thought (really) that
this FOP User list was dead(ish) until I saw on the internet and XSLT
list referrers to recent posts. I retried. Here are my answers to
your questions.
Post by Jeremias Maerki
No they are not ignored, although it may appear that way. This is
one of the peculiarities of the XSL-FO spec. For block areas
border/padding are inside the allocation rectangle for inline areas
they are outside (see section 4.2.3). Therefore defining
border/padding top/bottom on an inline area will not make the line
any higher.
Post by Abel Braaksma
Can someone help me here? What I am trying to do is make the
line-height higher when halfway up a line, not knowing up-front
what the maximum height will be for that line (I cannot know what
fits on a line and what not). In HTML (as a bad comparison), this
is done automatically with inline elements (<span>, <em> etc).
Not sure I fully understand what you trying to achieve. FOP will
use the maximum height of any inlines as the height of the line.
Well, I really hoped so, But this is not what happens. If I have in
one paragraph different font sizes, the bigger font sizes will
overlap over the previous line. If I set the line-height to a given
height, it is applied to all lines of the paragraph, whereas I want
the line to be of the minimum height required *per line*, inside that
paragraph.
<html>
<body>
<div style="width:100px;">
<font size="2">This piece is in a small font
size but <font size="5">this is BIG</font>
and this is <font size="7">real BIG</font>
and back to normal again.
</div>
</body>
Paste it in a text file you see what I mean. The first lines have a
small line-height (automatically), the next lines are higher when
needed, to prevent overlap, the last lines have smaller line-height,
because no bit text anymore. All inside one paragraph. If I do the
same in XSL-FO, the BIG letters will overlap with the previous lines
and look ugly. If I increase the line height, the line heigh
increases for the whole paragraph.
on the inline element. But this I tried, and does not seem possible
(though what I got from the specs and what you say above, it should
be possible (?) )
Sorry, but your example does not make sense to me. You provide HTML not
XSL:FO. Can you provide the exact fo file you feed into fop so we can
better understand your issue?
Post by Abel Braaksma
Post by Jeremias Maerki
So, it should
do what you want without anything special. If I have misunderstood
you could you please rephrase what you trying to do.
Yes I can, see above, hope it clears things up a bit.
Post by Jeremias Maerki
BTW, which version of FOP are you using?
version 0.92a (latest, I believe).
Manuel
Abel Braaksma
2006-10-16 13:15:06 UTC
Permalink
Post by Manuel Mall
Sorry, but your example does not make sense to me. You provide HTML not
XSL:FO. Can you provide the exact fo file you feed into fop so we can
better understand your issue?
My apologies. I thought it'd be clearer that way. Here's a snippet:

<fo:block line-height="313%" space-before="1em"
space-after="1em">Paragraph with different sizes: <fo:block/>
<fo:inline font-size="60%" role="xhtml:font">x-small, </fo:inline>
<fo:inline font-size="80%" role="xhtml:font">small,</fo:inline>
<fo:inline font-size="100%" role="xhtml:font">normal,</fo:inline>
<fo:inline font-size="135%" role="xhtml:font">larger,</fo:inline>
<fo:inline font-size="171%" role="xhtml:font">large,</fo:inline>
<fo:inline font-size="267%" role="xhtml:font">x-large,</fo:inline>
<fo:inline font-size="313%" role="xhtml:font">xx-large.</fo:inline>
And back to normal again.
</fo:block>


Here you see that I set the line-height on the block element. When I set
the line-height on the fo:inline elements, it does not have any effect.
If the block is small enough so that it spans multiple lines, without
the line-height in the block element, the text will overlap. But with
it, *all* lines will have the maximum height. I do not want that. I only
want the lines to have the minimum needed line-height for the size of
the text it contains.

From the specs I understand that the line-height property is available
on inline level elements also. I tried, but to no effect, like this
(actually, I expected the overlap not to happen at all, unless I'd
specifically say so):

<fo:block space-before="1em" space-after="1em">Paragraph with
different sizes: <fo:block/>
<fo:inline line-height="60%" font-size="60%"
role="xhtml:font">x-small, </fo:inline>
<fo:inline line-height="80%" font-size="80%"
role="xhtml:font">small,</fo:inline>
<fo:inline line-height="100%" font-size="100%"
role="xhtml:font">normal,</fo:inline>
<fo:inline line-height="135%" font-size="135%"
role="xhtml:font">larger,</fo:inline>
<fo:inline line-height="171%" font-size="171%"
role="xhtml:font">large,</fo:inline>
<fo:inline line-height="267%" font-size="267%"
role="xhtml:font">x-large,</fo:inline>
<fo:inline line-height="313%" font-size="313%"
role="xhtml:font">xx-large.</fo:inline>
And back to normal again.
</fo:block>

Hmm, I see now there's also a line-stacking-strategy. Should I do
something with that?

Any ideas are very welcome,

Cheers,
-- Abel Braaksma
Manuel Mall
2006-10-16 13:58:13 UTC
Permalink
Post by Abel Braaksma
Post by Manuel Mall
Sorry, but your example does not make sense to me. You provide HTML
not XSL:FO. Can you provide the exact fo file you feed into fop so
we can better understand your issue?
<fo:block line-height="313%" space-before="1em"
space-after="1em">Paragraph with different sizes: <fo:block/>
<fo:inline font-size="60%" role="xhtml:font">x-small,
</fo:inline> <fo:inline font-size="80%"
role="xhtml:font">small,</fo:inline> <fo:inline font-size="100%"
role="xhtml:font">normal,</fo:inline> <fo:inline font-size="135%"
role="xhtml:font">larger,</fo:inline> <fo:inline font-size="171%"
role="xhtml:font">large,</fo:inline> <fo:inline font-size="267%"
role="xhtml:font">x-large,</fo:inline> <fo:inline font-size="313%"
role="xhtml:font">xx-large.</fo:inline> And back to normal again.
</fo:block>
If I remove the line-height="313%" from the fo:block it seems to do
exactly what you want, that is each line get the minimum necessary
height to render it.

If I leave your settings the line-height on the first line is correctly
set to 37.56pt (12pt * 313%). Note: As you didn't specify a font-size
on the fo:block the inherited font-size is chosen which is the document
default size of 12pt. The other lines get either the minimum
line-height of 37.56pt or a bigger height if larger fonts are used.
Post by Abel Braaksma
Here you see that I set the line-height on the block element. When I
set the line-height on the fo:inline elements, it does not have any
effect. If the block is small enough so that it spans multiple lines,
without the line-height in the block element, the text will overlap.
But with it, *all* lines will have the maximum height. I do not want
that. I only want the lines to have the minimum needed line-height
for the size of the text it contains.
Setting the line-height on an inline element does simply set the minimum
height for that element. In your examples this never takes effect as
the actual height is larger then the line-height. For example:
<fo:inline line-height="60%" font-size="60%" role="xhtml:font">x-small,
</fo:inline>
Assuming on the enclosing block the font-size is 12pt. That means the
font-size on the inline is 7.2pt (60% of 12pt). Now you say the
line-height is 60% of that value making it 4.32pt (60% of 7.2pt).
Obviously that won't fit.
Post by Abel Braaksma
From the specs I understand that the line-height property is
available on inline level elements also. I tried, but to no effect,
like this (actually, I expected the overlap not to happen at all,
<fo:block space-before="1em" space-after="1em">Paragraph with
different sizes: <fo:block/>
<fo:inline line-height="60%" font-size="60%"
role="xhtml:font">x-small, </fo:inline>
<fo:inline line-height="80%" font-size="80%"
role="xhtml:font">small,</fo:inline>
<fo:inline line-height="100%" font-size="100%"
role="xhtml:font">normal,</fo:inline>
<fo:inline line-height="135%" font-size="135%"
role="xhtml:font">larger,</fo:inline>
<fo:inline line-height="171%" font-size="171%"
role="xhtml:font">large,</fo:inline>
<fo:inline line-height="267%" font-size="267%"
role="xhtml:font">x-large,</fo:inline>
<fo:inline line-height="313%" font-size="313%"
role="xhtml:font">xx-large.</fo:inline>
And back to normal again.
</fo:block>
Hmm, I see now there's also a line-stacking-strategy. Should I do
something with that?
Any ideas are very welcome,
Cheers,
-- Abel Braaksma
Hope this helps

Manuel
Abel Braaksma
2006-10-16 14:21:44 UTC
Permalink
Post by Manuel Mall
If I remove the line-height="313%" from the fo:block it seems to do
exactly what you want, that is each line get the minimum necessary
height to render it.
This is precisely what I want to happen. Hmm, I'll make a full test,
leaving out as much as possible, and if it still doesn't work, I will
post my results online, so you can see the resulting PDF. I use FOP
0.92a. Perhaps that's the prb?
Post by Manuel Mall
If I leave your settings the line-height on the first line is correctly
set to 37.56pt (12pt * 313%). Note: As you didn't specify a font-size
on the fo:block the inherited font-size is chosen which is the document
default size of 12pt. The other lines get either the minimum
line-height of 37.56pt or a bigger height if larger fonts are used.
That last thing still doesn' t happen. Hmm, my guess is, I have some
setting alongside my copy 'n' past xsl-fo that I missed (?).
Post by Manuel Mall
Setting the line-height on an inline element does simply set the minimum
height for that element.
My thoughts exactly
Post by Manuel Mall
In your examples this never takes effect as
<fo:inline line-height="60%" font-size="60%" role="xhtml:font">x-small,
</fo:inline>
Assuming on the enclosing block the font-size is 12pt. That means the
font-size on the inline is 7.2pt (60% of 12pt). Now you say the
line-height is 60% of that value making it 4.32pt (60% of 7.2pt).
Obviously that won't fit.
Aha! That maybe what I am missing here. I thought '60% of original
inherited font size".
Post by Manuel Mall
Post by Manuel Mall
Hope this helps
I will try these new insights. Thanks for making me understand the
subject matter a little better.

Regards,
-- Abel
Abel Braaksma
2006-10-17 00:32:15 UTC
Permalink
Post by Abel Braaksma
Post by Manuel Mall
If I remove the line-height="313%" from the fo:block it seems to do
exactly what you want, that is each line get the minimum necessary
height to render it.
This is precisely what I want to happen. Hmm, I'll make a full test,
leaving out as much as possible, and if it still doesn't work, I will
post my results online, so you can see the resulting PDF. I use FOP
0.92a. Perhaps that's the prb?
It simply does not work, still, all text is mixed through one another
(see below for link). Here's the full XSLFO document I used to create my
document, as you can see, I tried the last inline element to increase
the line-height. But it has zero effect:

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-width="auto" page-height="auto"
master-name="all-pages">
<fo:region-body margin-top="1in" margin-right="1in"
margin-bottom="1in" margin-left="1in"
column-count="1"
column-gap="12pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="all-pages">
<fo:flow flow-name="xsl-region-body">
<fo:block space-before="1em" space-after="1em">Paragraph
with different sizes: <fo:block/>
<fo:inline font-size="60%" >x-small </fo:inline> and
back to normal,
<fo:inline font-size="80%" >small</fo:inline> and back
to normal,
<fo:inline font-size="100%" >normal</fo:inline> and back
to normal,
<fo:inline font-size="135%" >larger</fo:inline> and back
to normal,
<fo:inline font-size="171%" >large</fo:inline> and back
to normal,
<fo:inline font-size="267%" >x-large</fo:inline> and
back to normal,
<fo:inline line-height="600%" font-size="313%"
Post by Abel Braaksma
xx-large</fo:inline> and back to normal,
And back to normal again.
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

If you want to see the PDF document (in case it is different from
yours), you can see it online here:
http://abelleba.metacarpus.com/xslfo/test.pdf

Hope you (or anyone) has any ideas how to resolve this.

Cheers,
-- Abel Braaksma
Manuel Mall
2006-10-17 00:43:02 UTC
Permalink
Post by Abel Braaksma
Post by Abel Braaksma
Post by Manuel Mall
If I remove the line-height="313%" from the fo:block it seems to
do exactly what you want, that is each line get the minimum
necessary height to render it.
This is precisely what I want to happen. Hmm, I'll make a full
test, leaving out as much as possible, and if it still doesn't
work, I will post my results online, so you can see the resulting
PDF. I use FOP 0.92a. Perhaps that's the prb?
It simply does not work, still, all text is mixed through one another
(see below for link). Here's the full XSLFO document I used to create
my document, as you can see, I tried the last inline element to
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-width="auto" page-height="auto"
master-name="all-pages">
<fo:region-body margin-top="1in" margin-right="1in"
margin-bottom="1in" margin-left="1in"
column-count="1"
column-gap="12pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="all-pages">
<fo:flow flow-name="xsl-region-body">
<fo:block space-before="1em" space-after="1em">Paragraph
with different sizes: <fo:block/>
<fo:inline font-size="60%" >x-small </fo:inline> and
back to normal,
<fo:inline font-size="80%" >small</fo:inline> and
back to normal,
<fo:inline font-size="100%" >normal</fo:inline> and
back to normal,
<fo:inline font-size="135%" >larger</fo:inline> and
back to normal,
<fo:inline font-size="171%" >large</fo:inline> and
back to normal,
<fo:inline font-size="267%" >x-large</fo:inline> and
back to normal,
<fo:inline line-height="600%" font-size="313%"
Post by Abel Braaksma
xx-large</fo:inline> and back to normal,
And back to normal again.
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
If you want to see the PDF document (in case it is different from
http://abelleba.metacarpus.com/xslfo/test.pdf
Hope you (or anyone) has any ideas how to resolve this.
I can only say - works for me (PDF attached as produced with
fop-0.92beta).
Post by Abel Braaksma
Cheers,
-- Abel Braaksma
Manuel
Pascal Sancho
2006-10-17 07:47:29 UTC
Permalink
-----Original Message-----
Sent: Friday, October 13, 2006 4:27 PM
Post by Jeremias Maerki
BTW, which version of FOP are you using?
version 0.92a (latest, I believe).
Abel,
0.92a does not exists...

Either 0.90alpha, 0.91beta, or 0.92beta

Can you confirm what version do you use?

(FYI, I've tried your XSL-FO both with FOP v0.92beta and FOP latest
TRUNK, and I get same result as Manual)

Pascal
Abel Braaksma
2006-10-17 08:17:23 UTC
Permalink
Abel,
Post by Pascal Sancho
0.92a does not exists...
Either 0.90alpha, 0.91beta, or 0.92beta
Can you confirm what version do you use?
Pascal, Manuel,

I use 0.92beta, just checked.
But you are right! It was a version problem! It was the age-old 0.20.5
version I used, without knowing: The Eclipse plugin of Oxygen was
blinding my eyes. It uses a non-standard way of installing (not in
Eclipse plugin dir). So, I thought I had upgraded fop.jar everywhere,
but forgot about Oxygen.

Just tested with the correct 0.92beta. And you are both right. My
apologies for not checking deeper in the first place (these darn java
lib paths!).

This brings me to a little q.: in XSLT, I can get the vendor version by
using system-property("xsl:vendor"). Is there a similar way for XSLFO?
It would prevent me for making the same mistake next time ;-)

Cheers!
-- Abel Braaksma
http://www.nuntia.com
Pascal Sancho
2006-10-17 08:32:21 UTC
Permalink
-----Original Message-----
Sent: Tuesday, October 17, 2006 10:17 AM
Abel,
Post by Pascal Sancho
0.92a does not exists...
Either 0.90alpha, 0.91beta, or 0.92beta
Can you confirm what version do you use?
Pascal, Manuel,
I use 0.92beta, just checked.
But you are right! It was a version problem! It was the
age-old 0.20.5 version I used, without knowing: The Eclipse
plugin of Oxygen was blinding my eyes. It uses a non-standard
way of installing (not in Eclipse plugin dir). So, I thought
I had upgraded fop.jar everywhere, but forgot about Oxygen.
Just tested with the correct 0.92beta. And you are both
right. My apologies for not checking deeper in the first
place (these darn java lib paths!).
This brings me to a little q.: in XSLT, I can get the vendor
version by using system-property("xsl:vendor"). Is there a
similar way for XSLFO?
It would prevent me for making the same mistake next time ;-)
commandLine: -v option
Java: org.apache.fop package, Class Version, getVersion() method.

Pascal
Cheers!
-- Abel Braaksma
http://www.nuntia.com
Abel Braaksma
2006-10-17 08:39:21 UTC
Permalink
Post by Pascal Sancho
commandLine: -v option
Java: org.apache.fop package, Class Version, getVersion() method.
Pascal
I am aware of those options, they are all at places hidden for me, as a
user. All I can do is provide an XSLT which creates (from some source)
XSLFO (which in turn is automatically processed by the internal fop
proc, which can be different on different installations). As a user of
our system, I cannot access the fop.jar directly.

Hmm, perhaps I can create an extension function for XSLT. But then, that
will call the fop version available on the moment that the XSLT is
processing. Which is (in our case) not necessarily the same (esp. in the
aforementioned case, where fop.jar was from a diff. location than I
expected.

-- Abel
Pascal Sancho
2006-10-17 08:54:25 UTC
Permalink
-----Original Message-----
Sent: Tuesday, October 17, 2006 10:39 AM
Post by Pascal Sancho
commandLine: -v option
Java: org.apache.fop package, Class Version, getVersion() method.
Pascal
I am aware of those options, they are all at places hidden
for me, as a user. All I can do is provide an XSLT which
creates (from some source) XSLFO (which in turn is
automatically processed by the internal fop proc, which can
be different on different installations). As a user of our
system, I cannot access the fop.jar directly.
Hmm, perhaps I can create an extension function for XSLT. But
then, that will call the fop version available on the moment
that the XSLT is processing. Which is (in our case) not
necessarily the same (esp. in the aforementioned case, where
fop.jar was from a diff. location than I expected.
-- Abel
You cannot have the FOP version in the XSL-FO file since at this stage,
FOP is not yet invoked.
But you can check the "PDF producer" property of your PDF file, witch
gives engine+version used to make the PDF.
Awt viewer can help you too.

Pascal
Abel Braaksma
2006-10-17 09:16:14 UTC
Permalink
Post by Pascal Sancho
You cannot have the FOP version in the XSL-FO file since at this stage,
FOP is not yet invoked.
Sorry for being unclear. I did not mean "in the XSLFO file", but "with
the XSLFO file". Like, that there exists an instruction such as:
<fo:vendor-version /> or something like that. Perhaps it just does not
exist.
Post by Pascal Sancho
But you can check the "PDF producer" property of your PDF file, witch
gives engine+version used to make the PDF.
That will help. Thanks! Indeed, the document that I put online shows FOP
0.20.5. That takes away my last uncertainty of what version was used here.
Loading...