View Full Version : web fonts...no...this one is really different
Heyy !!
I like noticed some one site with hindi font. (thats different from english fonts)
http://www.rediff.com/hindi/index.html
it had something like this in it...
<meta http-equiv="Content-Type" content="text/html; charset=x-user-defined">
<LINK REL=FONTDEF SRC="http://www.rediff.com/hindi/fonts/Shree708.pfr">
so what are these web fonts ? I read about these sometime back...they get downloaded in your cache like other internet files, and work from there.I am trying to enable a similar feature on my own site. Does anyone know where to get such fonts from ? and how to enable them in your site ?
ionsurge
10-03-2002, 06:12 PM
Pretty clever that...
joh6nn
10-03-2002, 11:08 PM
it's not news to me. iirc, it's yet another thing that doesn't work in both browsers. i'm holding out for something that does.
Originally posted by joh6nn
it's not news to me. iirc, it's yet another thing that doesn't work in both browsers. i'm holding out for something that does.
like what ???
No, I mean I can always load diff. scripts according to browser type, that is whennn I get a script in the first place lol. :D
...like this one...
<SCRIPT LANGUAGE="JAVASCRIPT">
if (parseInt(navigator.appVersion) >= 4) {
if (navigator.appName == "Netscape") {
document.write ('<LINK REL=fontdef SRC="akrwrbi.pfr">');
document.write ('<LINK>');
}
else {
document.write ('<STYLE TYPE="text/css">');
document.write ('@font-face {');
document.write ('font-family: AkrutiDevWebRbi'+"\;");
document.write ('font-style : normal'+"\;");
document.write ('font-weight: normal'+"\;");
document.write ('src: url("akrwrbi.eot")'+"\;");
document.write ('}');
document.write ('</STYLE>');
}
}
</SCRIPT>
I found it at http://www.rbi.org.in/hindi/index.html
what is this .pfr and .eot file ????
joh6nn
10-10-2002, 01:30 AM
they're both font files. .eot's are microsoft's, and i wasn't sure who came up with .pfr's, but it looks like it was Netscape, judging from that code there. like i said, not crossbrowser, and i continue to hold out until there's a crossbrowser solution.
WebPlaya
10-10-2002, 05:07 AM
I might be wrong, but isn't the .pfr for Paint Shop Pro Picture Frame?
And yeah.. I could read that language!!! Well that's besides the point but the frist link which was
http://www.rediff.com/hindi/index.html
when I clicked on it, it asked me to d/l this font factory or something.. obviously I didn't!! But I really was surprised when I clicked on http://www.rbi.org.in/hindi/index.html and the font was showing up nice without any download!! Preety clever.
hmm....yea.. that rediff.com thing needs a download...but acc. to them "Remember, this edition can be viewed only on Internet Explorer 4.0 or above and Netscape 4.03 or above."
yea...but the RBI site looked like doing magic somewhr...I am sure someone here wud be having some idea whats this magic all about !!
:thumbsup:
here I come with another ;)
http://www.geetmanjusha.com/hindi/lyrics/872.html
dauvm
10-13-2002, 08:51 PM
looks like crap in Opera :) .. all I get is:
kao[- saagar idla kao bahlaataa nahI
baoKaudI maoM BaI krar Aataa nahI
It's a neet trick, but like Joh6nn said, it's not cross-browser.... propriety code = baaaad
for that matter many things look crap in opera :D
lol
seriously, I wouldn't mind missing out a few opera visitors; or maybe I could make do with a script that will load something else for l 'opera' type of visitors.
ASAAKI
10-14-2002, 09:58 AM
this is interesting ... very interesting :D
dauvm
10-14-2002, 09:14 PM
heh yea... but you know what? every time something looks like crap in opera I take a peak at the code... then use the built in validation feature...
if it looks like crap, it usually is. Opera CLAIMS to be one of the most rigid supporters of the W3C standards. I use it only because mozilla takes longer to load than any browser I've ever used... while opera is the quickest.
-Doug
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.