end of arrow not colored in SVG
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



end of arrow not colored in SVG Expand / Collapse
Author
Message
Post #11123 Posted 5/5/2006 6:36:12 AM


Forum Master

Forum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum MasterForum Master This user is an important contributor to the translation of GenoPro This user is an important contributor to the GenoPro community This user is a contributor to FamilyTrees.GenoPro.com 

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.
Post #11214 Posted 5/21/2006 3:27:29 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

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"
Post #11215 Posted 5/21/2006 4:58:59 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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?

Post #11217 Posted 5/21/2006 5:11:35 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

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"
Post #11218 Posted 5/21/2006 5:15:59 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

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 .

Post #11245 Posted 5/24/2006 11:36:38 AM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

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"
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 3:40 AM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.