|
|
|
Forum Master
      
Group: Customers
Last Login: 2 days ago @ 11:38:49 PM
GenoPro Version: 2.0.1.6
Posts: 726,
Visits: 6,096
|
|
| Please note that the end(tip) of an arrow is not colored in the SVG diagramm, only the line.
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 3:28:04 AM
GenoPro Version: 2.0.1.6
Posts: 1,174,
Visits: 5,582
|
|
Apologies for the late response on this. I am aware of this issue. Unfortunately whilst the SVG specification allows a line to be given style attribute specifying the 'marker' shape to be used as 'marker-end' or 'marker-start', the marker does not inherit the colour of the line it is qualifying, but it takes on the colour in the marker definition. So in order to fix this issue, seperate markers, or arrowhead shapes, need to be defined for each different line colour for which they are used as an attribute. This is not impossible, I'll just need to find the time to write and test the code.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Yesterday @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534,
Visits: 14,913
|
|
Is this a bug in the renderer? Should the SVG renderer display the arrow using the same color as the line color?
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 3:28:04 AM
GenoPro Version: 2.0.1.6
Posts: 1,174,
Visits: 5,582
|
|
No. It is not the SVG viewer that is at fault. I believe this is the way the SVG specifications is worded - wrongly in my opinion.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|
|
Legendary Master
       
Group: Administrators
Last Login: Yesterday @ 8:36:46 AM
GenoPro Version: 2.0.1.6
Posts: 3,534,
Visits: 14,913
|
|
Ron (5/21/2006) I believe this is the way the SVG specifications is worded - wrongly in my opinion.Ambiguous specifications caused are a real source of bugs in the computer industry .
|
|
|
|
|
Grand Master
      
Group: Customers
Last Login: Today @ 3:28:04 AM
GenoPro Version: 2.0.1.6
Posts: 1,174,
Visits: 5,582
|
|
I have managed to fix this bug but discovered another in Mozilla Firefox. Firefox does not orientate arrowhead at the start of a line correctly. I attached a revised genomap.svg template file that correctly colours the arrowheads with MS IE + Adobe SVG Viewer. The arrows heads are coloured correctly in Firefox but start arrowheads are misaligned (see below). This can be worked around by only using end arrowheads and where a start arrowhead is required then copy and invert the line arrow over itself to give the impression of both start & end arrows. The attached arrows.gno file demonstrate this. Here is a section of the report from the test .gno file as viewed in Mozilla Firefox 1.5.0.3
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
|