You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Robert P. J. Day" <rp...@mindspring.com> on 2003/10/20 20:23:48 UTC

puzzling FOP behaviour with filenames and breaking over lines

  this is a sort of repeat of a post of mine from some time ago,
related to the way FOP likes to break filenames.

  in my docbook document, i have a <variablelist> element with
two terms that are two filenames that both start with a "/".
FOP 0.20.5 has the annoying habit of presenting those two filenames 
as 

  /etc/modules.conf, /
  /etc/modprobe.conf

that is, it grabs the leading slash from the second filename
and uses it to, what, pad out the first line?  very irritating.

  in addition, i have a paragraph just below that with the same
behaviour -- getting toward the end of a line, FOP ends the line
with a single "/" and continues the filename that that slash is a
part of on the next line, so i get:

      blah blah ...         ... /
      etc/grub.conf ...

where that slash was the leading character in the filename.

  is this a known problem?  is there a fix for it?  thanks.

rday

p.s.  and, yes, when i first reported this happening in variablelist
terms, i checked the .fo file and everything seemed fine in there, so
i'm *pretty* sure it's FOP that's making some strange break decisions.

p.p.s.  as i mentioned, working with FOP 0.20.5.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


RE: puzzling FOP behaviour with filenames and breaking over lines

Posted by "Andreas L. Delmelle" <a_...@pandora.be>.
> -----Original Message-----
> From: Robert P. J. Day [mailto:rpjday@mindspring.com]
>
> On Mon, 20 Oct 2003, J.Pietschmann wrote:
> >
> > I can't confirm it, but surely there is *no* fix.
>
> i'm not sure what you mean by "surely".  recall that this is the
> same problem i mentioned a while back -- in a variable list, i asked
<snip/>
>
> when we had this earlier discussion, i verified that the FO file
> did not contain anything that would suggest this kind of break,
> so it was pretty clearly FOP that was doing something weird.
>

if i'm not mistaken, the reply was <q> according to the code, this shouldn't
happen </q>
and that the stated problem would be looked at in more detail, if there was
the time for it...

> so what do you mean by saying that there is surely no fix?
>

i guess this means that this is not the case. perhaps it got a bit out of
focus because no one bothered to enter a bug for it?

Greetz,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: puzzling FOP behaviour with filenames and breaking over lines

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Glen Mazza wrote:
> first--but I'm sure Joerg meant no fix (i.e. patch)
> had been submitted yet--not that it can't be fixed!  

Well, I meant nothing had changed, and the problem hadn't been
investigated.
In any case, have alook at the code (in LineArea.java), it is
an utter mess. I don't think cleaning up is worth the trouble,
which means there will be no fix, except switching to HEAD.

J.Pietschmann




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: puzzling FOP behaviour with filenames and breaking over lines

Posted by Glen Mazza <gr...@yahoo.com>.
--- "Robert P. J. Day" <rp...@mindspring.com> wrote:
> On Mon, 20 Oct 2003, J.Pietschmann wrote:
> 
> > Robert P. J. Day wrote:
> > >   is this a known problem?  is there a fix for
> it?
> > 
> > I can't confirm it, but surely there is *no* fix.
> 
> so what do you mean by saying that there is surely
> no fix?
> 
> rday
> 

Yes, that statement confused me a bit too at
first--but I'm sure Joerg meant no fix (i.e. patch)
had been submitted yet--not that it can't be fixed!  

Robert, can you provide a short and simple .fo file
exhibiting this behavior, *without* requiring us to
perform an XSLT transform to obtain it, and submit it
to Bugzilla?  No guarantees when we can get to it,
however.  Also, due to a developer shortage right now,
we may end up being more interested in just making
sure this problem isn't occuring in our future 1.0
version, especially if fixing the problem turns out to
very complex in 0.20.5.

Thanks,
Glen


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: puzzling FOP behaviour with filenames and breaking over lines

Posted by "Robert P. J. Day" <rp...@mindspring.com>.
On Tue, 21 Oct 2003, Glen Mazza wrote:

> Robert,
> 
> I checked the code in both our maintenance and
> development versions--we do appear to have some
> problems with the hyphenation w.r.t. forward
> slashes--I just added a Bugzilla report for them:
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23985
> 
> Thanks for bringing this to our attention.

ok, so i'm assuming that, if you've verified that there is an
issue, you don't need a small sample from me then.  (it's *very*
reproducible, such as when i have a filename and it's rendered
as:
 
  ... line of text ...                       /
  etc/passwd.

in the middle of a paragraph.

thanks for verifying it, so i know it's not just *me*. :-)

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: puzzling FOP behaviour with filenames and breaking over lines

Posted by Glen Mazza <gr...@yahoo.com>.
Robert,

I checked the code in both our maintenance and
development versions--we do appear to have some
problems with the hyphenation w.r.t. forward
slashes--I just added a Bugzilla report for them:

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23985

Thanks for bringing this to our attention.

Glen


--- "Robert P. J. Day" <rp...@mindspring.com> wrote:
> On Mon, 20 Oct 2003, J.Pietschmann wrote:
> 
> > Robert P. J. Day wrote:


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: puzzling FOP behaviour with filenames and breaking over lines

Posted by "Robert P. J. Day" <rp...@mindspring.com>.
On Mon, 20 Oct 2003, J.Pietschmann wrote:

> Robert P. J. Day wrote:
> >   is this a known problem?  is there a fix for it?
> 
> I can't confirm it, but surely there is *no* fix.

i'm not sure what you mean by "surely".  recall that this is the
same problem i mentioned a while back -- in a variable list, i asked
for two terms, "/bin" and "/usr/bin" to be used in a variable list.

what was rendered in the final PDF was

  /bin, /
  usr/bin

when we had this earlier discussion, i verified that the FO file
did not contain anything that would suggest this kind of break,
so it was pretty clearly FOP that was doing something weird.

so what do you mean by saying that there is surely no fix?

rday


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Re: puzzling FOP behaviour with filenames and breaking over lines

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Robert P. J. Day wrote:
>   is this a known problem?  is there a fix for it?

I can't confirm it, but surely there is *no* fix.

J.Pietschmann



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org