There are two ways of posting in Myanmar using Zawgyi-One font. Both will work fine but the first one is the right way of doing it with CSS in my opinion. Also, Zawgyi font looks good with Internet Explorer if it is set to display correct size but not in Firefox. In Firefox, Zawgyi font looks unclear but readable.
Currently, I am using font-size:small and font-weight:500 (which looks a little sharper than normal) for the posts. My screen resolution is set to 1280x1024 when I view them so they may look slightly different if you are using other screen resolutions.
First Method
- Go to your blog.
- Click on "Settings" tab.
- Click on "Formatting".
- Scroll down until you find "Post Template" text box.
- Copy and paste the following CSS style in Step.6.
- <span lang="MY" style="font-family:Zawgyi-One,ZawgyiOne,Zawgyi1,Verdana;font-size:small;font-weight:500;"> ...????????????... </span>
- Replace ???????????? with any Myanmar word you typed using Zawgyi font. Note: You may not see that Myanmar word in the text box but a few squares. That's ok.
- Click "Save Settings".
- Done. That's it.
Second Method
- Go directly to "Posting" and then click on "Create".
- Click on "Edit Html" option.
- Copy and paste the following CSS style in Step.4.
- <span lang="MY" style="font-family:Zawgyi-One,ZawgyiOne,Zawgyi1,Verdana;font-size:small;font-weight:500;"> ...????????????... </span>
- Go back to "Compose" window and start typing in Myanmar. Replace ???????????? with any Myanmar word.
Note: Don't forget to change your keyboard from English to Zawgyi Myanmar Unicode Keyboard in the langauge bar.
Trick: You can put your post message between the tags <span lang="MY" style="font-family:Zawgyi-One,ZawgyiOne,Zawgyi1,Verdana;font-size:10pt;"> Your Myanmar language post here. </span> and make Internet Explorer display your font in 10pt, which looks really good. However, the problem is that you cannot put 10pt in the first method because Blogger will automatically change it to font-size:10, which is much smaller than 10pt font. On Firefox, this trick will not affect the look also.
Ref: http://www.planet.com.mm/forums/?linkpage=topic&forum_id=85&Topic_Id=53341
Other resources:
- http://nyilynnseck.blogspot.com/2006/08/how-to-assign-zawgyi-one-font.html
- http://mghla.blogspot.com/2006/10/eot.html
4 Responses to "How to add CSS style for Zawgyi-One font in your post"
This is very helpful.Thank you very much.
useful,,,, for us ,
thanks alot,
ေက်းဇူးတင္ပါတယ
MBBS In Ukrine
Hi,
Join the world recognized MBBS program in Ukraine.
You can now earn your MBBS degree at an expense less than 30% by doing it in one of the most reputed universities in Ukraine with world class accreditation.
*
50% Aggregate In Physics, Chemistry & Biology
*
30% Cheaper
*
World Class Standards
*
Medical University Listed With International Medical Education Directory (IMED).
Karabuts
Logovenko Street,
Mykolayiv
Ukraine - 16600
+380930484422
Website: http://www.karabuts.com
Email: info@karabuts.com
Post a Comment