I have set my custom font in css:
@font-face
{
font-family: 'myanmar';
src: url('file:///android_asset/fonts/ZawgyiOne.ttf');
}
.mm
{
display: inline;
font-family: 'myanmar';
font-size: 18pt;
font-weight: 500;
font-style:normal;
color: red;
}
And this is my HTML:
<span class='mm'>This sentence contain: ျမန္မာ ၾကိဳဆိုပါ၏</span>
I only see "This sentence contain:" and nothing appears in the place of myanmar font. Is there something else that I need to add on?
You might have to add the font to the resources. I'm still not sure that will translate to the webview though.