Ich benutze diesen Code für meine Web-AnsichtÄndern Schrift in 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%;
}
aller Arbeit für mich mit diesem Code außer Schriftfamilie.
I Text mittlere rechtfertigen und rtl sehr gut, aber meine Schrift ist nicht das, was ich will ich meine ttf Datei in assets > fonts