1. At first you need to have some basic knowledge of HTML language and
Java Applet.
2. You need to download two files at first, one is Font file, currently,
I know that you can find three different TrueType Font for Mongolian Script,
there were available on Shandas'
website, but not any more, hope she can resume her webpage sometime.
3. Second file you need is MongolScript.jar.
Current version is 0.1, I just start to wrote it, it is still in early
shape. It is very very small, only 3.4KB, take only 1 sec for a dialup
user to download. And it is very easy to use :-)
4. In your HTML code, where you want to want to display Mongolian Script,
insert the following code:
<applet code="AppletMain" archive="MongolScript.jar"
width="32" height="120">
<param name="text" value="type
your text here ">
<param name="color" value="#000000">
<param name="bgcolor" value="#57907A">
<param name="font" value="CMs
Huree">
<param name="fontsize" value="32">
<param name="fontstyle" value="plain">
<param name="convert" value="true">
</applet> |
Some explainations: text in orange color,
means that you need to modify them to fit your need; text in green
color means that you can modify this value, but you must select from
limit options.
- <applet> </applet>, this
is start and end tag for Java Applet;
- code="AppletMain" achive="MongolScript.jar",
AppletMain.class is a class file compressed in MongolScript.jar, so
don't worry if you cannot find it; MongolScript.jar must be placed
under same directory as your web page.
- width="32" height="120",
this is width and height of your text.
- <param name="text" value="type
your text here ">, change the content of value. you
can use my medit.exe program,
it is very simple program, but it is easy to use. I will put my tutorial
on the web very soon.
- <param name="color" value="#000000">,
this is the color of your text, #000000 (six zeros) is black, #ffffff
is white, want some different color? click here.
- <param name="bgcolor" value="#57907A">,
this the back ground color.
- <param name="font" value="CMs
Huree">, currently, I can only ind three TrueType traditional
Mongolian Script fonts, they are: CMs Huree,
CMs Ulaanbaatar, CMs
Urga. If you want you viewer to see Mongolian, you should have
the fonts, and your viewer should have them TOO!Provideyour viewer
a link to download them.
- <param name="fontsize" value="32">,
size of font, don't make it too small. I found that even 12 is very
hard to read, I wish someday I can found some smaller TrueType fonts.
- <param name="fontstyle" value="plain">,
you can change the value to plain, bold
or italic.You can combine bold
and italic too, but you cannot combine
any of them with plain.
OK, that is it, try to write your Mongolian web pages!
:)
|
[Links]
Mongolian Fonts
-: A very good collectionof index of fonts.
Shandas web site
-: obsolete. :-(
Arisoft
-: you can find all three CMs xxx font here, which is most probably what
you want.
W3 Schools -:
HTML tutorial.
HTML Colors
-:
Java Plug-in -: You
need to download and install this, if you browser cannot load Applet.
MongolScript.jar -: My stuff.
medit.exe -: My Stuff, An easy to
use Traditional Mongolian Editor.
Resize
applets within browser frames -: An article from javaworld.com, need
a little bit JavaScript.
|