<br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">Swapnil Hajare</b> &lt;<a href="mailto:dreamil@gmail.com">dreamil@gmail.com</a>&gt;<br>Date: Jan 5, 2006 3:02 PM
<br>Subject: Re: Hindi support in GRASS 6.1 - was Re: [GRASS5] Fwd: Indic support in GRASS GIS with Indix2<br>To:
Sajith VK &lt;<a href="mailto:sajithvk@gmail.com">sajithvk@gmail.com</a>&gt;, grass developers list
&lt;<a href="mailto:grass5@grass.itc.it">grass5@grass.itc.it</a>&gt;, GRASS user list
&lt;<a href="mailto:grasslist@baylor.edu">grasslist@baylor.edu</a>&gt;<br><br></span>Hi,<br>
&nbsp; sorry for such a late response.<br>
&nbsp; I downloaded the CVS version of GRASS GIS and compiled it on my
debian sarge machine. I then used the commands given by you to create a
sample vector and displayed it on monitor. For the example that you
have in your snapshot, it works fine. But then I realised that you have
displayed a string in devanagari/hindi which does not require any
processing on font side. i.e. the text is displayed just similar to
english text<br>
&nbsp;using juxtapositioning of glyphs. So I tried with some conjunct
text which requires some positioning/replacement rules to be used from
the opentype font, it couldnot display properly. See the snapshot for details (snapshot uploaded on
<a href="http://203.199.16.202/grass_cvs_comparison.png" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://203.199.16.202/grass_cvs_comparison.png</a> ). The left monitor show
the GRASS CVS version as downloaded on 2006-01-05 and compiled
as-it-is. The right monitor shows output of d.tect.freetype compiled
with Indix2 libraries. The right monitor show properly rendered text
while the left monitor show text in form of&nbsp; juxtapositioned
glyphs. I knew that because of freetype library GRASS will be able to
use opentype fonts but I also knew that it doesn't have any rendering
engine like pango/qt/indix2 to render complex text in indic scripts
correctly.<br><br>
We had tried this same thing in past without any rendering engine and
failed. That is why I had filed this bug (<a href="http://intevation.de/rt/webrt?serial_num=3189">http://intevation.de/rt/webrt?serial_num=3189</a> ). I
must apologise for not following it up properly. <br>
<br>
regards<div><span class="e" id="q_10899e8fe97a81dc_1"><br>
<br>
<br><div><span class="gmail_quote">On 12/22/05, <b class="gmail_sendername">Markus Neteler</b> &lt;<a href="mailto:neteler@itc.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">neteler@itc.it</a>
&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi again,<br><br>an update for support of Indian languages:<br><br>- we now have messages files in Hindi available (still to be<br>&nbsp;&nbsp;translated)<br>- we can out-of-the-box generate Hindi (or other) scripts<br>&nbsp;&nbsp;in the GRASS monitor using TTF fonts, see screenshot at
<br>&nbsp;&nbsp;<a href="http://grass.itc.it/devel/i18n.php" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://grass.itc.it/devel/i18n.php</a><br>&nbsp;&nbsp;-&gt; example for Hindi<br>&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://grass.itc.it/images/grass61_hindi_hi.jpg" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://grass.itc.it/images/grass61_hindi_hi.jpg
</a><br><br>Note that this is a proof of concept example in Spearfish,<br>done with:<br><br>#extraction of phrase in Hindi:<br>head -37 locale/po/grassmods_hi.po | tail -1 &gt; /tmp/hindi<br>echo &quot;599505|4921010|`cat /tmp/hindi | cut -d'&quot;' -f2 `&quot; | 
v.in.ascii out=hindi<br><br>d.rast elevation.dem<br>v.db.select hindi<br>d.vect hindi icon=basic/circle<br>d.font.freetype font=/usr/share/fonts/hi/lohit_hi.ttf<br>d.vect hindi disp=attr attr=str_1 lsize=40 lcol=blue<br>
<br>
Works :-)<br><br>Cheers<br><br> Markus<br><br>On Tue, Dec 20, 2005 at 10:38:44PM +0100, Markus Neteler wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I have added Hindi support to GRASS by adding two .po files.<br>&gt; After installing
<br>&gt;&nbsp;&nbsp;kde-i18n-hi-3.4.2-10mdk<br>&gt;&nbsp;&nbsp;locales-hi-2.3.5-1mdk<br>&gt; on my Mandriva box, I can even see the characters. With<br>&gt; d.font.freetype it should be possible to print them on the monitor<br>&gt; such as for Japanese and Chinese. Screenshots asap...
<br>&gt;<br>&gt; I fetched the KDE Hindi file and autotranslated the GRASS<br>&gt; messages, some hundred fuzzy translations resulted. Since<br>&gt; my Hindi is a bit rusty, I would leave the verification to<br>&gt; native speakers.
<br>&gt;<br>&gt; You can grab the wto hindi files from here<br>&gt;<br>&gt; <a href="http://grass.itc.it/devel/i18n.php" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://grass.itc.it/devel/i18n.php
</a><br>&gt;&nbsp;&nbsp;-&gt; Download current .po files from CVS<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; grasslibs_hi.po
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -&gt; grassmods_hi.po<br>&gt;<br>&gt; Please send updates to these files regularly, in order to<br>&gt; stay in sync.<br>&gt;<br>&gt; If needed, I can add other languages are well.<br>&gt;<br>&gt; Cheers<br>
&gt;
<br>&gt;&nbsp;&nbsp;Markus<br>&gt;<br>&gt; On Mon, Dec 19, 2005 at 07:43:53AM +0100, Swapnil Hajare wrote:<br>&gt; &gt; hi,<br>&gt; &gt;&nbsp;&nbsp;greetings.<br>&gt; &gt;&nbsp;&nbsp; not sure if the new GTK gui will solve our problem. Does the new GUI means
<br>&gt; &gt; GRASS monitors will use pango for rendering? I guess they will use the same<br>&gt; &gt; monitor. And by the time they come up with new GUI, should we wait for them<br>&gt; &gt; to finish and then start our localised GIS work ? My feeling is this should
<br>&gt; &gt; be seen as a patch for indic support (similar to d.text.freetype used for<br>&gt; &gt; CJK). correct me if I am wrong.<br>&gt; &gt;&nbsp;&nbsp; I am also not sure&nbsp;&nbsp;how many indic scripts are supported well by Pango/QT
<br>&gt; &gt; and what is the quality of rendering for all these scripts. If this solution<br>&gt; &gt; can provide a better rendering solution, it has every right to be accepted<br>&gt; &gt; as a good alternative to Pango/Qt.
<br>&gt; &gt;<br>&gt; &gt; bye<br>&gt; &gt;<br>&gt; &gt; On 12/19/05, Sajith VK &lt;<a href="mailto:sajithvk@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">sajithvk@gmail.com</a>&gt; wrote:
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Hello all,<br>&gt; &gt; &gt;<br>
&gt; &gt; &gt; Sorry for a much belated response.<br>&gt; &gt; &gt; Indian Language support for GRASS (For GUI and<br>&gt; &gt; &gt; in the map lables) will be highly benificiary.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; A discussion on a better GUI for GRASS is already
<br>&gt; &gt; &gt; going on. I think it may end up with using GTK or<br>&gt; &gt; &gt; QT as toolkit. Both GTK and QT has indian language<br>&gt; &gt; &gt; support.<br>&gt; &gt; &gt; So this work may become irrelevent, according to the
<br>&gt; &gt; &gt; future plans of the GUI team. So we may need to switch<br>&gt; &gt; &gt; to pango/Qt<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 12/8/05, Swapnil Hajare &lt;<a href="mailto:dreamil@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
dreamil@gmail.com
</a>&gt; wrote:<br>&gt; &gt; &gt; &gt; HI all,<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;my first post. I hope I am posting this is right list.<br>&gt; &gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;this is for your comments. If it sounds ok, can some 2-3MB code of
<br>
&gt; &gt; &gt; Indix2<br>&gt; &gt; &gt; &gt; (indic Shaping Engine) be included in grass code to claim something like<br>&gt; &gt; &gt; &gt; &quot;GRASS GIS supports 11 Indian Scripts&quot; ?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; --
<br>&gt; &gt; &gt; Change the rules, or the rules will change you<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;---------Kumaranasan<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Swapnil Hajare<br>&gt;<br>

&gt; --<br>&gt; Markus Neteler&nbsp;&nbsp;&nbsp;&nbsp; &lt;neteler itc it&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mpa.itc.it" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mpa.itc.it</a><br>&gt; ITC-irst -&nbsp;&nbsp;Centro per la Ricerca Scientifica e Tecnologica
<br>&gt; MPBA - Predictive Models for Biol. &amp; Environ. Data Analysis
<br>&gt;
Via Sommarive,
18&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
38050 Povo (Trento), Italy<br></blockquote></div><br><br clear="all"><br></span></div>-- <br><span class="sg">Swapnil Hajare

</span><br clear="all"><br clear="all"><br>-- <br>Swapnil Hajare