I'm trying to use an Arabic external font:
@font-face {
font-family: "My";
src: url(GE_SS_TV_Bold.otf) format("truetype");
}
p.customfont {
font-family: "My", Verdana, Tahoma;
}
It's appearing like this: but it should appear like:
The @font-face CSS at-rule specifies a custom font with which to display text; the font can be loaded from either a remote server or a locally-installed font on the user's own computer.
Arabic. Times New Roman* and Arial* are standard, professional fonts used in print and are legible for beginning Arabic learners.
hmmm… what is the browser you are using, what is the operating system your are using. Font Faces have different rendering depending on the platform/software.
Also in your document you seem to mix truetype and opentype ;) otf = OpenType Font, ttf = TrueType font usually. What about if you rewrite like?
@font-face {
font-family: "My";
src: url(GE_SS_TV_Bold.otf) format("opentype");
}
if you need one font in different formats and you have the files
@font-face {
font-family: "My";
src: url(GE_SS_TV_Bold.otf) format("opentype"),
src: url(GE_SS_TV_Bold.ttf) format("truetype");
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With