Mangal font i.e Hindi using cufon

134 views
Skip to first unread message

BhanuChandar k

unread,
Jul 7, 2010, 10:03:33 AM7/7/10
to cufón
Hi is it possible to render hindi font i.e mangal using cufon ?

I have generated the Mangal_400.font.js and I tried the simple example
which is there at cufon

I tried like this


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="cufon-yui.js" type="text/javascript"></script>
<script src="Mangal_400.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h1');
</script>
</head>
<body>
<h1>\u0915</h1>
</body>
</html>

Simo Kinnunen

unread,
Jul 7, 2010, 10:42:05 AM7/7/10
to cu...@googlegroups.com
Hi,

\u doesn't work in HTML. See http://www.fileformat.info/info/unicode/char/0915/index.htm

As for actually supporting Hindi.. I'm not sure. I guess you could try but I have a feeling it's not going to work. Looking at http://en.wikipedia.org/wiki/Devan%C4%81gar%C4%AB#Devan.C4.81gar.C4.AB_in_Unicode, it seems that Unicode does not have separate glyphs for all devanagari characters, which means that they would have to be dynamically constructed from two or more available glyphs. Cufón doesn't support that.

Simo

> --
> You received this message because you are subscribed to the Google Groups "cufón" group.
> To post to this group, send email to cu...@googlegroups.com.
> To unsubscribe from this group, send email to cufon+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/cufon?hl=en.
>

BhanuChandar k

unread,
Jul 8, 2010, 6:03:16 AM7/8/10
to cufón
Hi ,
Thanks for clarifying that.

I want to render Devanagari like font using the javascript . Is any
one has experience it or If any one has any reference plz share
those.

Regard,
BhanuChandar K

On Jul 7, 7:42 pm, Simo Kinnunen <sor...@gmail.com> wrote:
> Hi,
>
> \u doesn't work in HTML. Seehttp://www.fileformat.info/info/unicode/char/0915/index.htm
>
> As for actually supporting Hindi.. I'm not sure. I guess you could try but I have a feeling it's not going to work. Looking athttp://en.wikipedia.org/wiki/Devan%C4%81gar%C4%AB#Devan.C4.81gar.C4.A..., it seems that Unicode does not have separate glyphs for all devanagari characters, which means that they would have to be dynamically constructed from two or more available glyphs. Cufón doesn't support that.

Vinayak Anivase

unread,
Jul 12, 2010, 4:47:33 PM7/12/10
to cufón
Hi,
I was also trying to use the CDAC-GistYogesh font in cufon. Sadly its
not supporting unicode char's. It breaks some attached words. (eg.
स्वागत is lookin like स् वागत)

Please inform me if you found any solution.

Thanks,

Regards
Vinayak Anivase

BhanuChandar k

unread,
Jul 13, 2010, 7:19:46 AM7/13/10
to cufón
Hi Vinayak,

Did you render this through JavaScript ? How did you do ? Do you have
any sample code. It will be very helpful if you share some of the
examples codes or any documentation . Looking forward for your replay.

BhanuChandar k

unread,
Jul 14, 2010, 1:08:48 AM7/14/10
to cufón
Hi Vinayak,

bhanuch...@gmail.com this is my gamil Id.
Reply all
Reply to author
Forward
0 new messages