GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
Problem with Hebrew tree display in SVG


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

By Liliya_S - Saturday, February 24, 2007
The tree in the report is not the same like in the Genopro and is not correct. Are there any way to fix that?

By GenoProSupport - Sunday, February 25, 2007
The direction of Hebrew text is from right-to-left, and I am not sure if Adobe SVG viewer does handle this.  GenoPro itself has trouble handling Hebrew text.  GenoPro needs to use Unicode Script Processor (http://msdn2.microsoft.com/en-us/library/ms906461.aspx) to do the right thing, however this is not an easy task.
By Liliya_S - Sunday, February 25, 2007
But in Genopro Beta there was no problem...........
By GenoProSupport - Sunday, February 25, 2007
Liliya_S (2/25/2007)
But in Genopro Beta there was no problem...........

Thanks for the feedback.  This is very useful, because if it was working before, we can make it work again.

Ron is currently away for a few days...  Maybe he knows the answer.  Lots of things have changed during the long Beta period.

By eu7 - Sunday, March 18, 2007
 I too look forward to a soution to Hebrew text - I have the same problem in the viewer.

I also have the obvious problem in the text part, where the standard text is in English and the names are in Hebrew, thus making it difficult to read.

By Liliya_S - Thursday, September 20, 2007
Hello all!

After a few month break I am back to my geneology research and to Genopro. I find the lot of improovments into it and that great!

 I am really want to buy the genopro and finally to publish the results of my research in the last year (750+ persons in the tree), but without tree with true and readable information I can't do this.

I posted this topic long time ago, but the problem don't solved until now. May be now, after this month, someone know how to fix it and can help me?

By GenoProSupport - Thursday, September 20, 2007
Send me an email with one .svg file along with your .gno file and I will see what I can do.  I have the feeling the browser plug-in to display SVG has difficulties displaying Hebrew text.
By GenoProSupport - Friday, September 21, 2007
GenoPro displays the Hebrew text in four different ways, depending if I choose to Hebrew as the display language, or English, and depending on which computer I am using.  Can someone tell me which is the proper way of displaying Hebrew text?

As for the content of the .svg file you sent me, the generated SVG (XML) code appear correct.  This is what GenoPro's report generated:

<text style="stroke:none;font-size:22px;fill: black;text-anchor:middle;" x="497" y="1029.6" >
    <tspan x="501.4" dy="25">Yulia &#1497;&#1493;&#1500;&#1497;&#1492; Kugel</tspan>
    <tspan x="501.4" dy="25">&#1511;&#1493;&#1490;&#1500; (Kotziuba</tspan>
    <tspan x="501.4" dy="25">&#1511;&#1493;&#1510;&#1497;&#1493;&#1489;&#1492Wink</tspan>
</text>

On your browser, the following three lines

Yulia &#1497;&#1493;&#1500;&#1497;&#1492; Kugel
&#1511;&#1493;&#1490;&#1500; (Kotziuba
&#1511;&#1493;&#1510;&#1497;&#1493;&#1489;&#1492Wink

should display as

Yulia יוליה Kugel
קוגל (Kotziuba
קוציובה)

On the other hand, Adobe SVG Viewer displays the generated code as the following which is incorrect:

After playing with the SVG code, I managed to display the following:

with this code:

<text style="stroke:none;font-size:22px;fill: black;text-anchor:middle;" x="497" y="1029.6" >
    <tspan x="501.4" y="1054.6">Yulia &#1497;&#1493;&#1500;&#1497;&#1492; Kugel</tspan>
    <tspan x="501.4" y="1079.6">&#1511;&#1493;&#1490;&#1500; (Kotziuba</tspan>
    <tspan x="501.4" y="1104.6">&#1511;&#1493;&#1510;&#1497;&#1493;&#1489;&#1492Wink</tspan>
</text>

It appears the attribute dy="25" is causing the problem when displaying Hebrew text.  On the other hand, specifying an absolute y-coordinate works fine.  We will fix the report template script for the next update.

By Liliya_S - Friday, September 21, 2007
The pictures 1 and 3 is correct display of the hebrew names. the diferent is the order of words...
By Liliya_S - Friday, September 21, 2007
Thank you very much for helping me! I am waiting to the next update......Whistling
By beraha - Friday, September 21, 2007
Hi Liliya

May I suggest a temporary solution for now. Convert the GNO file into EMF and then convert the EMF into PNG.

That will display a static picture of the tree but with no errors.

Kobi

By Liliya_S - Sunday, September 23, 2007
Thanks,Kobi! I'll try it.