ස්තූතියි,
මට පේන විදියට
sIFR කරන්නේ HTML පිටුවක ඇති අකුරු සමූහයක් Flash භාවිතාවෙන් render කරන එක.
http://www.mikeindustries.com/blog/sifr/
sIFR is meant to replace short passages of plain browser text with
text rendered in your typeface of choice, regardless of whether or not
your users have that font installed on their systems. It accomplishes
this by using a combination of javascript, CSS, and Flash. Here is the
entire process:
- A normal (X)HTML page is loaded into the browser.
- A javascript function is run which first checks that Flash is
installed and then looks for whatever tags, ids, or classes you
designate.
- If Flash isn’t installed (or obviously if javascript is turned
off), the (X)HTML page displays as normal and nothing further occurs.
If Flash is installed, javascript traverses through the source of your
page measuring each element you’ve designated as something you’d like
“sIFRed”.
- Once measured, the script creates Flash movies of the same
dimensions and overlays them on top of the original elements, pumping
the original browser text in as a Flash variable.
- Actionscript inside of each Flash file then draws that text in your
chosen typeface at a 6 point size and scales it up until it fits snugly
inside the Flash movie.
ඒක හොද විසදුමක් සිංහල ෆොන්ට් එකක් ස්ථාපිත නැති පරිගනකයක සිංහල අකුරු පෙන්වන්න.
නමුත් sIFR භාවිතා කරන්නේ Flash වල ඇති rendering engine එකම නිසා Flash වල ඇති සිමා වලට මේ ක්රමය යටත් වෙනවා.
එනිසා යුනිකේතයෙන් සිංහල රෙන්ඩරින් සදහා sIFR විසදුමක් නොවේ.
ප්රභාත්,
සිංහල දාන්න පුළුවනි.
අමුනා ඇති SWF ගොනුව බලන්න.
--
Nalaka Jayasena (නාලක ජයසේන)
http://nalakajayasena.wordpress.com