Blog Archive

Wednesday, November 28, 2007

Editing CSS Font for Burmese Entry and Blog Contents

Login 2 cha blogger.
Goto Template tab.
Under sub-navigation of Template tab, goto "Pick New Template" and then choose the template that fit your taste.
After you have decided your template pick, save to activate that template and goto "Template" tab again.
Now goto "Edit HTML"


There, find "Download Full Template"


It will download css file as in "template-*.xml" format.


Open this template file with:
  • TextWrangler (Mac, Free)
  • Gedit (GNU/Linux)
  • WordPad (Microsoft Window)
While you opening template css xml file with one of the above text editor, now "Ctrl+F" or "Command+F", and find the default latin font name. For example in this blog template, I have to add or change Burmese font face value name, such as UniBurma_Web for my case.

The best way to show you this is, please download this blog current css xml file as sample, and make changes according to your template css xml.

template-uniburma-blogger-sample.xml (If direct click won't save the file, then Right click > Save Target As.)

== Short brief about css code ==
Remember, there should be only few part that you need to add in Burmese font face name.
According my template use, I do not need to modify after "Page Structure" section.

/* Page Structure
----------------------------------------------- */

And @variable name
font: $bodyFont;
will be auto replace by your declaration at
Variable name="bodyFont" description="Text Font" type="font" ..........
Therefore, $bodyFont shall not be replaced nor modified.
And @body css, you need to add Burmese font face name at font-family field:
body {
background:#123;
margin:0;
text-align:center;
line-height: 1.5em;
font-family : UniBurma_Web, UniBurma_GGSerif, UniBurma_SansSerif, UniBurma_MSSerif, UniBurma, Trebuchet MS, Verdana, Arial, Sans-serif;
color:$mainTextColor;
font-size : 12px ; /*small, x-small*/
}
Finally, upload and update your modified css xml template by goto "dashboard > Template > Edit HTML".

Choose your modified template from local drive, then hit "upload"

Friday, November 23, 2007

UniBurma_Web

Probably, this will be the last activity for UniBurma production.
The last face family, especially prepared for web.
I will be buying my time on UniMM and Prince Ka Naung from now on.
===

Download UniBurma_Web.ttf


About Me

My Photo
Victor San Kho Lin
View my complete profile