Inject font face into html page that is loaded from webview

  • Replies:0
AlexAung
  • Forum posts: 1

Jul 10, 2013, 4:09:12 AM via Website

Hi All,

I am loading page from other website and show in webview. The problem is that some page are only showing square letter because there is no custom font in android phone and does not allow to install font.

So I would like to inject custom font in to page when load the page in webview. I saw alot of sample to add font face css but most of the example are using local htm added in assets folder.

For me is to load from internet. My app is simple browser to show those pages using custom font that does not support in OS.

May I know how to inject custom font in webview?

Thanks,
Alex

Reply