Re: Increase in activity?

2007-01-25 Thread Vincent Hennebert
Chris Bowditch a écrit :
 Jeremias Maerki wrote:
 
 Do I have a slightly distorted perception or do we currently see an
 increase in activity, even patches, following the 0.93 release?
 
 Hi Jeremias,
 
 yes I think there has been a increase in both user and development
 activity in the few weeks since the New Year. Maybe as a result of the
 recent stable release.

Also, the adoption of Fop 0.93 seems to be rather quick in the DocBook
community. I've already seen many messages about it on the docbook-apps@
list.

That's all good news!
Vincent


DO NOT REPLY [Bug 41448] - java.lang.ClassCastException: org.apache.fop.layoutmgr.inline.WrapperLayoutManager

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41448.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41448





--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 00:29 ---
Created an attachment (id=19453)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19453action=view)
broken.xml reproduces this error, works.xml works. Includes .fo files

Used xsltproc:
   B:\xsltproc --version
   Using libxml 20619CVS2407, libxslt 10114CVS1012 and libexslt 812CVS1012
   xsltproc was compiled against libxml 20619, libxslt 10114 and libexslt 812
   libxslt 10114 was compiled against libxml 20619
   libexslt 812 was compiled against libxml 20619

DocBook XSL Stylesheets 1.71.1

fop-0.93

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41448] - java.lang.ClassCastException: org.apache.fop.layoutmgr.inline.WrapperLayoutManager

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41448.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41448


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 01:50 ---
The FO generated by docbook contains fo:wrapper elements as direct children of 
fo:flow, e.g.

fo:wrapper id=id91268
!--index term--
/fo:wrapper

In 0.93 this is the cause of the ClassCastException. The ClassCastException 
has been fixed in SVN. But the id attribute has no affect on an fo:wrapper in 
FOP currently. I guess docbook generates this as a placeholder for PDF 
destinations. If you don't care about PDF destinations and just want to 
overcome the ClassCastException then get an SVN client, download the code and 
compile it yourself. If you don't fancy doing that then you may want to tell 
the docbook folks about this problem. Maybe when fop1.extensions is set they 
could skip generating such fo:wrapper elements for PDF Destinations, since PDF 
Destinations aren't supported in FOP anyway.

I'm closing this bug as the ClassCastException is fixed.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41460] New: - Forced Line break breaks word wrap

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41460

   Summary: Forced Line break breaks word wrap
   Product: Fop
   Version: 0.93
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: page-master/layout
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


When generating a simple PDF which includes a word which is wider that the width
of the document, the word-wrapping of the rest of the document is wrong.  It
seems to half the horizontal space used.

Example fo:

?xml version=1.0?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=my-page page-width=100mm
page-height=70mm
fo:region-body margin-top=2px margin-bottom=2px
column-count=1 /
/fo:simple-page-master
/fo:layout-master-set
fo:page-sequence master-reference=my-page
fo:flow flow-name=xsl-region-body
fo:block color=black
 fo:block
This next little bit will test out us font sizes,
which we need to be able to change and play with.
Another interesting little test is this following URL, which
is too wide to fit on to a single
line of htis PDF.  Question is, will FOP split is in a
sensible way.
   
https://some.imaginary.long.url.com/chaptereight/love_experience/ecommerce/admin?showinfo
That'd be a yes then!
/fo:block
/fo:block
/fo:flow
/fo:page-sequence
/fo:root

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41460] - Forced Line break breaks word wrap

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41460.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41460


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 04:08 ---
This problem seems to be cropping up a lot

*** This bug has been marked as a duplicate of 41019 ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41019] - Left-align oddness with long, unbreakable strings following

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41019.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41019


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 04:08 ---
*** Bug 41460 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41019] - Left-align oddness with long, unbreakable strings following

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41019.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41019





--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 04:53 ---
Enabling hyphenation also seems to prevent the problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41019] - Left-align oddness with long, unbreakable strings following

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41019.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41019





--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 06:35 ---
I have created a patch fixing the BreakingAlgorithm, so that, when a restart is
needed, the algorithm starts from a previously deactivated node (if it exists)
instead of using either a short break or a long one (there are a few messages in
fop-dev concerning this).

This should solve the bug, but makes the testcase block_uax14_linebreaking.xml
fail; in particular, the block testing exclamation and question marks creates a
different set of breaks that looks quite worse than the expected one, while
still being correct.

I already have a couple of suspects:
- the LineLM can call findBreakingPoints() with a threshold equal to 20: this
allows a huge overstretch, especially with unjustified text when the glue
elements have some conventional (and quite high) stretch value
- the element sequences created by the TextLM have some unintentional feasible
breaks that could be actually chosen while the algorithm is ignoring the
hyphenation points

For the moment I'm attaching the partial patch, as I'm reluctant to apply it
before fixing the other details; I should have some time to finish it tomorrow
afternoon, but if someone else is quicker  :-)

   Luca

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41019] - Left-align oddness with long, unbreakable strings following

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41019.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41019





--- Additional Comments From [EMAIL PROTECTED]  2007-01-25 06:36 ---
Created an attachment (id=19459)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=19459action=view)
Partial fix, patching the BreakingAlgorithm


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41019] - Left-align oddness with long, unbreakable strings following

2007-01-25 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=41019.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41019


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC|[EMAIL PROTECTED]  |
   |tech.com|




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


Re: Adding Named Destinations for all IDs

2007-01-25 Thread Jay Bryant

I seem to remember doubts being raised as to whether it should be
made standard or handled by resurrecting the fox:destination
extension. Adding named destinations for each and every id in the
document may not always be desirable, so it may be better to leave
this choice up to the end-user.


Right, we were talking about an extension attribute to enable a named
destination as replacement for fox:destination.


OK. I'll look at doing it as an extension, with the form of fox:destination 
internal-destination=something.


Thanks.

Jay Bryant
Bryant Communication Services