![]() WOFF is abbreviation for Web Open Font Format, which is basically a compressed TTF with some additional metadata and a standard format that can be read by all browsers. That’s it! That’s all you need for to have an embedded Bangla font in your webpage. Change the /pathto/ with a real path of the directory where you’re putting the embedded In the main css file under html or body tag, change the font-family to SolaimanLipi ![]() Add the following code in your main css file.Download SolaimanLipi.woff file from this link.After the first time, the browser will cache it, therefore it’s not a big deal in any way. The only drawback I can see for using an embedded Bangla font is the added 90KB weight on the initial loading of the page. The procedure is pretty simple, even though it’s not widely adopted so far. User can read your webpage perfectly even when he’s using a computer without any Bangla font.The font will be the same for Android, iPhone, iPad or some obscure browser running on even more obscure branded device or OS. It look the same no matter what device or browser the user is using.If your webpage is aimed towards a Bangla speaking audience there are a few good reasons to consider embedding Bangla font –
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |