Re: uncommitted patches

2002-01-11 Thread Christian Geisert

Keiron Liddle wrote:
 
 Hi Christian,
 
 I agree that it is good to get patches in, the problem has been that in
 many cases these patches are altering messy code (eg. LineArea.java) and

I had the same thoughts while looking at the patches... but I think it's ok
for the maintenance branch.

 its a case of fix one problem and create others or it is not clear if it
 works properly. This problem is best solved by better design and testing
 (and more resources).

Absolutly agreed. The most important (and hardest) part is the to make a good
new design (and I hope I can contribute a bit).

 I will commit the ones you propose and hope for the best.

Thanx! 

 Regards,
 Keiron.

Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




uncommitted patches

2002-01-10 Thread Christian Geisert

Ok,

while browsing the archives I found the following uncomitted patches,
and as it is quite frustrating if your patch gets not noticed (and you
worked hard for it..) we should try to commit all (if possible).

* improved font-encoding by Peter S. Housel
(see http://marc.theaimsgroup.com/?l=fop-devm=100559770232644w=2)
To build with this patch you need optional.jar from ant 1.3 
(download
http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/jakarta-ant-1.3-optional.jar
 
and copy it to lib/optional.jar) and add it to build.bat (build.sh has it two
times ;-)
I noticed the same problems as Rainer Garus
(see http://marc.theaimsgroup.com/?l=fop-devm=100790930100949w=2)
Peter, what do you think?

* improved line-breaking-algorithm for japanese by Satoshi Ishigami
(see http://marc.theaimsgroup.com/?l=fop-devm=100311137529637w=2)
Looks good :-) and does not seem to break anything.
My proposal: commit

* bug fix for hypenation by Enrico Schnepel
(see http://marc.theaimsgroup.com/?l=fop-devm=100162872404800w=2)
Fixes a infinite loop and does not seem to break anything.
My proposal: commit

* new swing-handler from Alistair Hopkins
(see http://marc.theaimsgroup.com/?l=fop-devm=100591163523860w=2)
Seems to be work in progress, probably something for the main branch

* Patch that keeps list-item-label and list-item-body together
by Don Wellington
(see http://marc.theaimsgroup.com/?l=fop-devm=99842833609271w=2)
Strange patch format, Don can you resubmit as unified patch?

* AWTRenderer patch by Ralph LaChance: fixes small border problem
(see http://marc.theaimsgroup.com/?l=fop-devm=99719917329956w=2)
I've done a real patch and attached it to this mail.

Christian.

Index: src/org/apache/fop/render/awt/AWTRenderer.java
===
RCS file: /home/cvspublic/xml-fop/src/org/apache/fop/render/awt/AWTRenderer.java,v
retrieving revision 1.38
diff -u -r1.38 AWTRenderer.java
--- src/org/apache/fop/render/awt/AWTRenderer.java  26 Sep 2001 12:00:42 - 
 1.38
+++ src/org/apache/fop/render/awt/AWTRenderer.java  10 Jan 2002 16:44:33 -
@@ -271,10 +271,14 @@
 int starty = pageHeight - ((y + 500) / 1000);
 int endx = (x + w + 500) / 1000;
 int endy = pageHeight - ((y + h + 500) / 1000);
-if (drawAsOutline)
+if (drawAsOutline) {
 graphics.drawRect(startx, starty, endx - startx, endy - starty);
-else
+} else {
+//don't round down to zero
+if (w != 0  endx == startx) endx++;
+if (h != 0  endy == starty) endy++;
 graphics.fillRect(startx, starty, endx - startx, endy - starty);
+}
 }
 
 protected void addFilledRect(int x, int y, int w, int h,




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]


Re: uncommitted patches

2002-01-10 Thread Peter S. Housel

 while browsing the archives I found the following uncomitted patches,
 and as it is quite frustrating if your patch gets not noticed (and you
 worked hard for it..) we should try to commit all (if possible).

 * improved font-encoding by Peter S. Housel
 (see http://marc.theaimsgroup.com/?l=fop-devm=100559770232644w=2)
 To build with this patch you need optional.jar from ant 1.3
 (download

http://jakarta.apache.org/builds/jakarta-ant/release/v1.3/bin/jakarta-ant-1.
3-optional.jar
 and copy it to lib/optional.jar) and add it to build.bat (build.sh has it
two
 times ;-)
 I noticed the same problems as Rainer Garus
 (see http://marc.theaimsgroup.com/?l=fop-devm=100790930100949w=2)
 Peter, what do you think?

I'll fix the problems and come up with a revised patch by this weekend.

Cheers,
-Peter S. Housel-   [EMAIL PROTECTED]   http://members.home.com/housel/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]