[jsword-devel] FontChooser bugs

DM Smith jsword-devel@crosswire.org
Thu, 18 Mar 2004 13:23:22 -0500


I'll be glad to zip the patches.

I saw in the JavaDoc for StyleSheet and CSS that some of it was present in 
1.3.
It seems really buried, even in 1.4.

I could not find anything on Google on how someone else use CSS with it.

I just happened across it while stepping through in the debugger. I saw a 
member
variable called css and traced it down.


>From: Joe Walker <joe@eireneh.com>
>Reply-To: jsword-devel@crosswire.org
>To: jsword-devel@crosswire.org
>Subject: Re: [jsword-devel] FontChooser bugs
>Date: Thu, 18 Mar 2004 18:17:35 +0000
>
>
>Thanks for the patch, it's great.
>You were right about CSS support. I wonder if this has changed since JDK 
>1.4.[1|0] or something, or  maybe I was using JDK1.3 at the time I tried 
>last
>I've played with CSSing <a> a bit.
>
>I've also fixed a bug that was causing the Readings thing to sort (or 
>rather not sort) properly.
>There is some more work to be done in that area.
>
>2 things on the patch - I'm still getting slightly garbled patch files. 
>Before they apply I need to go through and guess where line breaks got 
>added and remove them and add a space to the front of any lenpty line or 
>line that starts with a non-space.
>Please could you zip patch files before you send them? I would save me a 
>huge amount of time.
>
>The other thing was this which is probably not what you intended:
>
>>Index: resource/xsl/cswing/simple.xsl
>>===================================================================
>>retrieving revision 1.3
>>diff -u -r1.3 simple.xsl
>>--- resource/xsl/cswing/simple.xsl    29 Jan 2004 10:54:26 -0000    1.3
>>+++ resource/xsl/cswing/simple.xsl    18 Mar 2004 14:21:04 -0000
>
>...
>
>>@@ -185,6 +213,13 @@
>>           <xsl:apply-templates/>
>>         </xsl:otherwise>
>>       </xsl:choose>
>>+         except when followed by a text node or non-printing node.
>>+         This is true whether the href is output or not.
>>+      -->
>>+    <xsl:if test="$siblings[$next-position] and 
>>name($siblings[$next-position]) != ''">
>>+        <xsl:text> </xsl:text>
>>+      </xsl:if>
>>   </xsl:template>
>
>
>You've added a comment with no beginning. I guess there are some missed 
>lines - I just added a start comment.
>
>
>
>
>_______________________________________________
>jsword-devel mailing list
>jsword-devel@crosswire.org
>http://www.crosswire.org/mailman/listinfo/jsword-devel

_________________________________________________________________
Free up your inbox with MSN Hotmail Extra Storage. Multiple plans available. 
http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/