Re: [greenstone-users] A note about the image generation Page

From Chaitra Rao
DateTue, 11 Oct 2005 11:39:44 +0530 (IST)
Subject Re: [greenstone-users] A note about the image generation Page
In-Reply-To (434AD767-9090800-cs-waikato-ac-nz)
Hi Michael,
Thank you for the prompt reply. I am able to generate images with some
characters but not all of them. For e.g, the half character in Hindi
called 'halanth' which combines 2 syllables. I have almost all the Unicode
fonts for Hindi and Marathi installed on my m/c. I am able to see the text
in the browser but not on the image.(See attached image-Note the comma
like character -that's called halanth;if you see the text on the browser,
you don't see the comma like character and that's not how it appears on
the image- I need the text image to look like the browser text).

I am using the windows Onscreen keyboard for typing text into the
textbox on the browser. May be I need to install some extra fonts. It will
be nice if you can send me a list of Unicode fonts that you have used for
this program. I can also check and tell you if you'd need to install some
fonts for supporting the 'halanth'(the comma like character).

Thanks once again!


On Tue, 11 Oct 2005, Michael Dewsnip wrote:

> Hi,
> > The Image generation page does not have Hindi/Marathi Language support.
> >I noticed that the Bengali Image generator can generate Hindi text but not
> >images. I'm not sure how Image generation works here, but if it uses
> >unicode fonts while generating the image, then I think adding a few
> >Unicode fonts like Mangal,TTYogesh, etc can help generate Hindi/Marathi
> >Images too. It will help a great deal.
> >
> >
> You're right that Hindi and Marathi are not in the list of languages on
> the image generation page. However you can still generate images for
> these languages by choosing another language in the list (eg. Bengali,
> as you suggest). Make sure you enter the text in Unicode, and everything
> will work fine (see attached screenshot).
> What won't be correct is the macros generated on the page with the
> images. You'll need to replace the "[l=bn]" with "[l=hi]" and
> "/gsdl/web/images/bn/" with "/gsdl/web/images/hi/" etc.
> > I would also like to know what I'd need to do add new buttons in a
> >separate folder say "marathi" and add images to this directory (in a
> >fashion similar to what already exists). What are the changes I'd need to
> >make.
> >
> >
> You need to make a macrofile, add it to the list of
> macrofiles in etc/main.cfg, and add a Language entry for Marathi in
> etc/main.cfg.
> We did have someone working on a Marathi interface for Greenstone but
> I'm not sure how that is progressing. I can put you in touch with this
> person if you want to help with the translation.
> Regards,
> Michael