xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "PENPRAPA MUNKID" <miss_no...@hotmail.com>
Subject RE: AW: Custom cursor
Date Fri, 23 Jan 2004 04:29:11 GMT


more info
www.naraicoms.com

>From: REH Wolfgang <wolfgang.reh@alcatel.at>
>Reply-To: "Batik Users" <batik-users@xml.apache.org>
>To: 'Batik Users' <batik-users@xml.apache.org>
>Subject: AW: Custom cursor
>Date: Thu, 22 Jan 2004 15:17:14 +0100
>
>
>
>-----Ursprüngliche Nachricht-----
>Von: Thomas DeWeese [mailto:Thomas.DeWeese@Kodak.com]
>Gesendet: Donnerstag, 22. Jänner 2004 14:22
>An: Batik Users
>Betreff: Re: Custom cursor
>
>
>REH Wolfgang wrote:
>
> >
> > I am trying to assign a custom cursor to an element. If I load a SVG
> > file like:
> >
> >  <g style="cursor:url(#magglass)">
>
> > this always results in an error. Batik (I'm using version 1.5)
> > complains
> > about an 'invalid CSS declaration'. But as far as I can see the style
> > attribute for the <g>-element is correct. Opening the file with
> > squiggle shows:
>
>     If you read the SVG specification closely it _requires_ that the 
>cursor property end with one of the 'identifier' cursors.  So your 
>specification needs to be something like:
>
>     style="cursor:url(#magglass),crosshair"
>
>Sorry, I missed that point. The line you suggested works fine.
>
>	Thanks for the fast reply,
>		Wolfgang Reh
>
> > org.w3c.dom.DOMException: file:/D:/Documents/SVG/CursorTest.svg:
> > The attribute "style" represents an invalid CSS declaration
> > ("cursor:url(#magglass)").
> > Original message:
> > A malformed value was assigned to a "cursor" property.
> >     at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(Unknown
> > Source)
> >     at org.apache.batik.css.engine.CSSEngine.getComputedStyle(Unknown
> > Source)
> >     at org.apache.batik.bridge.CSSUtilities.getComputedStyle(Unknown
> > Source)
> >     at org.apache.batik.bridge.CSSUtilities.convertDisplay(Unknown 
>Source)
> >     at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown 
>Source)
> >     at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
> >     at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
> >     at org.apache.batik.swing.svg.GVTTreeBuilder.run(Unknown Source)
> >
> >
> >     Regards
> >         Wolfgang Reh
> >
> >
> >
> > * Wolfgang Reh
> >
> > *Scheydgasse 41
> > 1210 Wien
> >
> > mailto:Wolfgang.Reh@alcatel.at
> >
>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: batik-users-help@xml.apache.org
>

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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


Mime
View raw message