GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
SVG date display error in 2b.20


https://support.genopro.com/Topic14757.aspx
Print Topic | Close Window

By Howard53 - Tuesday, November 28, 2006
The dates of birth and death have slipped down the svg display in 2b.20 with the result that the date of death is being displayed behind the Gender symbol. Below is a screenshot from the svg:

By GenoProSupport - Tuesday, November 28, 2006
You are right about this, as it only occurs when a "date" is displayed on multiple lines.  This is new with the fix for the report generator generating SVG of what what is displayed on the screen.
By genome - Tuesday, November 28, 2006
Yes the code here had not been tested before. A quick fix is to change line 402 of genomap.svg in a custom skin. I'll put the fix in Beta 20b.
from
Report.WriteFormattedLn "", nFontSize, strCol, pos.x, Cstr(pos.y - nStep - nRowHeight - nFontSize/5)
to
Report.WriteFormattedLn "", nFontSize, strCol, pos.x, Cstr(pos.y - nStep - Util.GetHeight(.Dimension) - nFontSize/5)