Instructions
for using Dynamic Fonts
Dynamic
fonts, allows the user to host Indian language websites with the assurance
that the viewer will see the information without having to download and
install any fonts.
What you will require:
To
develop an Indian language site, you need a
tool (like LEAP Office / iLEAP / ISM) to create HTML files in the Indian
language of your choice. This file needs to be modified to place the reference
of the dynamic font resource.
Steps :
1. Create your document using LEAP Office / iLEAP / ISM using any font.
However for specific reasons the scripts mentioned below can use only
that specific font mentioned against it.
Bengali-
Durga
Oriya � Sarala
Tamil � Valluvar
2.
When using LEAP Office or iLEAP, go to File->Export-> and create
an HTML File out of your document.
3.
Open the 'raw' HTML File in an editor like Notepad and insert the script
(just copy the darkened script as it is to activate dynamic fonts)
anywhere between the <HEAD> and </HEAD> tags as shown below:
____________________________________________________________________
<html>
<head>
<defanged-meta
http-equiv="Content-Type" content="text/html; charset=x-user-defined">
<!--
Start link to PFR -->
<LINK REL=fontdef SRC="http://pfrlib.cdacindia.com/pfr/your-font- name.pfr">
<!--
End link to PFR -->
<!--
Start Bitstream WebFont Player support -->
<SCRIPT SRC=http://www.bitstream.com/wfplayer/tdserver.js
TYPE="text/javascript">
</SCRIPT>
<LINK>
<!--
End Bitstream WebFont Player support -->
{Type the requsite content}
</head>
<body>.....
This will contain the matter that was exported from iLeap/Leap/ISM to
HTML format. This will appear as junk over here.
...........
</body>
</html>
____________________________________________________________________
Remember
to delete a line containing any char-set definition other than the one
in this inserted paragraph under the tag. (<Defanged-meta
http-equiv="Content-Type" content="text/html; charset=x-user-defined">)
Note:
This works best with Netscape
and IE 4.0. For IE 5 the encoding has to be changed to the user ,defined
every time a page is viewed. To remove this hindrance, we provide customized
files to be placed on the website. For this contact [email protected]
4.
The text �your-font-name�
in the inserted script, is to be replaced by the actual font name
that you use in an HTML document. There
must be one <LINK REL
..... > tag for every font used.
5.
If you are unaware of then name of your font, check out your HTML code.
You will find the name of the font in the FONT FACE
tags. It will usually start with AS, BN, DV, GJ, KN, ML, PN,
TL, TM or SD.
Note:
Do not use the bilingual fonts starting
with ASB, DVB, since the pfr resources are compatible only to the monolingual
fonts from C-DAC presently.
6.
To test the result, open this HTML file as a WEB URL in the browser (Not
a local one). For this you will require
a personal web server to test out locally.
|