|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 6 hours ago
Posts: 3,388,
Visits: 26,037
|
GenoPro Monica (aka Gamma) currently outlines the text in the top and bottom labels of an Individual's genomap symbol.
The color used to outline the text can be set explicitly or left to ' auto'. On a genomap within GenoPro itself, if a border background color is set then the label fill/outline 'auto' setting uses the same color as the border background. However the Report Generator sets the label fill colors (i.e. tags Display.Colors.Label.Fill.Top and Display.Colors.Label.Fill.Bottom) to FFFFFF (white) if set to 'auto'. Thus in a report skin it is not possible to tell whether the user intended an explicit 'white' fill or whether it should be defaulted to the background color.
I believe that when set to 'auto' these tags should either be set to null of the border background color.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Edited: Sunday, October 24, 2010 by
Ron
|
|
|
Gamma Moderators Administrators FamilyTrees.GenoPro.com Customers GenoPro version: 3.1.0.0
Last Login: Wednesday, October 7, 2020
Posts: 952,
Visits: 10,075
|
The entire outline will be put back as a option disabled by default and review because it's cause many issues here and there.
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 29 minutes ago
Posts: 4,887,
Visits: 22,769
|
I modified the code to import old .gno documents to adjust the colors. It should be fine now. Let me know if you see another problem with this.
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 6 hours ago
Posts: 3,388,
Visits: 26,037
|
There is no change in results with version 2.5.2.5Note that the problem is not related to import of old versions of .gno files. If I create a new .gno under 2.5.2.5 and create two individuals with border, one with the label fill defaulted and the other with it set explicitly to white e.g. and then run the Report Generator e.g. with this skin template<%[for (var iCnt = 0; iCnt < Individuals.Count; iCnt++) { i = Individuals(iCnt); Report.LogComment(i.ID + ': '+i.Name +' Label.Fill.Bottom='+ i.Display.Colors.Label.Fill.Bottom);}Report.AbortReport();]%>
Then I get the result: ind00001: "bottom fill default" Label.Fill.Bottom=#FFFFFFind00002: "bottom fill white" Label.Fill.Bottom=#FFFFFFI.e. from the Report Generator's view point, the formatting of the two individuals is the same with text outline set to white. However it is obvious from the picture of the genomap above that they are not the same because when the label fill color is defaulted then the border background color, yellow in this case, is used. I repeat: if the label fill color is defaulted (i.e. shown as 'auto' in the Display tab of the Propertoes dialog, then the Report Generator should set the Display.Colors.Label.Fill.Bottom & Top to an empty string or null.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 29 minutes ago
Posts: 4,887,
Visits: 22,769
|
I slightly modified the drawing logic for the text outline color of top and bottom labels. In a nutshell, if the color is set to automatic, then the text outline color of labels uses the same color as the background of the individual. On the other hand, if there is no background, then the text outline color is white. I wanted to fix the problem where the "transparent text for labels" displaying text in an ugly way... I thought this was a good solution, however this change creates a bunch of other problems.
Do you have a better suggestion?
Edited: Thursday, October 28, 2010 by
GenoProSupport
|
|
|
Administrators Customers Important Contributors FamilyTrees.GenoPro.com GenoPro version: 3.1.0.1
Last Login: 6 hours ago
Posts: 3,388,
Visits: 26,037
|
GenoProSupport (10/28/2010)I slightly modified the drawing logic for text outline color of top and bottom labels. do you have a better suggestion?
I have no problem with the modified logic. I want to be able to use the same logic within the Narrative Report so as to achieve the same result. But my problem is that at present I cannot determine when the 'auto' rule is being applied because Report Generator api returns the wrong value for the property Display.Label.Fill.Top & Display.Label.Fill.Bottom. Instead of returning the expected emrty string or null it returns #FFFFFF. I need to be able to determine when the label fill has been set to 'auto' and so all I am asking is that you set the Fill values correctly.As an additional point that has been made elsewhere I would also like to have an option to use a text background as per 2.0.1.6 as well as the text outline method.
'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 29 minutes ago
Posts: 4,887,
Visits: 22,769
|
I have fixed the code to return the proper color for the report generator. On my computer, the generated SVG displays the top & bottom labels fine without any modification to your report skin. I still several little things to fix before uploading the update.
Edited: Thursday, November 11, 2010 by
GenoProSupport
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: 29 minutes ago
Posts: 4,887,
Visits: 22,769
|
The fix is available at http://www.genopro.com/monica/ . I also wrote code t honor compatibility with previous versions to display individuals with the proper background color and date formats.
|