J'utilise ce code pour moi webpolice Changement dans WebView
@font-face {
font-family: IRANSans;
src: url("\file:///android_asset/fonts/IRANSansWeb.ttf\")
}
body {
text-align: justify;
direction: rtl;
font-family: IRANSans;
}
img {
max-width: 100%;
height: auto;
}
figure {
max-width: 100%;
height: auto;
}
iframe {
width: 100%;
}
tout travail pour moi avec ce code, sauf la famille de polices.
Je veux dire le texte est justifier et rtl très bien, mais ma police est pas ce que je veux je mets mon fichier TTF dans assets > fonts