font embedding

မြန်မာ ၃ ဖွန့်ကို သုံးထားတော့ လာလည်တဲ့ သူတွေ ဖတ်မရမှာ စိုးရိမ်မိတယ်ဗျ။ ဒါနဲ့ ဘယ်လိုလုပ် ရမလဲ ရှာကြည့်တော့ ဇော်ဂျီ ၂၀၀၉ ကို develop လုပ်နေတဲ့ ကိုစိုးမင်း ရဲ့ဆိုဒ်မှာ Myanmar3.v1.ttf ဆိုပြီး web အတွက် လုပ်ပေးထားတာ တွေ့ပါတယ်။ ဒါ့အပြင် ကိုစိုးမင်းက @font-face ကိုသုံးပြီး embedding လုပ်တာကိုလည်း ပြထားပါတယ်။ သိတဲ့ အတိုင်း ကျွန်တော်က CSS နားမလည်တော့ ရွာလည်နေရော၊ ဒါနဲ့ ဟိုရှာ သည်ရှာလုပ်တော့ ဒီမှာ တွေ့တယ်၊ http://www.w3.org/TR/css3-webfonts/ သူပြထားတာက ဒီလို

To use a downloadable font called Gentium:

@font-face {
  font-family: Gentium;
  src: url(http://site/fonts/Gentium.ttf);
}

p { font-family: Gentium, serif; }

The user agent will download Gentium and use it when rendering text within paragraph elements. If for some reason the site serving the font is unavailable, the default serif font will be used.

ကျွန်တော်က source ကို မထည့်တတ်တော့ ဖတ်မရဖြစ်နေတာ၊ ပြင်လိုက်တော့ ဖတ်လို့ ရမယ်ထင်တာပဲ၊ တခြားစက်တွေကနေ ဖတ်မကြည့်ရသေးဘူး။ တစ်ခါ ကိုစေတန် ရဲ့ဆိုဒ်မှာလည်းတွေ့တယ်၊ သူကတော့ firefox ကို ကိုးကားပြီးရေးထားတယ်၊ ဒီလို ဆင်တူပါပဲ။

@font-face
{
font-family:Zawgyi-one;
src:url(http://www.saturngod.net/ZawgyiOne2008.ttf);
}

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>