First, I have created my style.css in the web part
@font-face {
font-family: "Noto Sans Southeast Asian";
font-weight: normal;
src: local("Noto Sans Southeast Asian"), url("NotoSansSoutheastAsian-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Noto Sans Southeast Asian Bold";
font-weight: bold;
src: local("Noto Sans Southeast Asian Bold"), url("NotoSansSoutheastAsian-Bold.ttf") format("truetype");
}
I have done with this instruction for the native iOS part custom font not working programmatically in swift
It didn't work
I got the suggestion that I have to encode my HTML page to base64 if I want to make it dynamically after that take this to the native part for added the local font for wkWebview
I have no idea of how to implement wkWebview to use my custom font in every page that my project loaded from Html file
I'm very beginning with wkWebview. My project uses swift 4.2