Android java: How to display phonetic symbol with correct fonts via WebView ?
First, Download lingoes font file
Android default fonts can not display phonetic symbol.lingoes.ttf can, please download it.
Second, Put lingoes.ttf to assets/font

Last, Add "lingoes" font-family in css files under assets
@font-face {
font-family: 'lingoes';
src:url('file:///android_asset/fonts/lingoes.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Use "lingoes" as font-family for the phonetic symbol content
Android java : How to load html files in assets via WebView?❤️ Support This Blog
If this post helped you, you can support my writing with a small donation. Thank you for reading.
Comments
Post a Comment