Jump to content

arabic text


peter azer

Recommended Posts

hallo,

i use titillim web from google fonts is working in english text on all browsers, in arabic text not working in chrome and firefox,

please could you help me to fix this problem.

thats my code:

 

<!doctype html><html lang="ar" xml:lang="ar"><head>

<link href='http://fonts.googleapis.com/css?family=Titillium+Web:400,600' rel='stylesheet' type='text/css'><meta charset="utf-8"><meta http-equiv="content-type" content="text/html;charset=utf-8"/><title>Seven lines</title><meta name="viewport" content="width=device-width"> <!-- Start WOWSlider.com HEAD section --> <link rel="stylesheet" type="text/css" href="engine2//style.css" media="screen" /> <script type="text/javascript" src="engine2//jquery.js"></script><!-- End WOWSlider.com HEAD section --><link href="CSS/main.css" type="text/css" rel="stylesheet" media="all"/><link href="CSS/responsive.css" type="text/css" rel="stylesheet"/><link rel="icon" href="images/logo1.png" type="image/x-icon"/>

</head>

Link to comment
Share on other sites

According to Google Fonts, Titillium Web only has support for "Latin" and "Latin Extended" character sets. It means that the font author did not draw all the characters you want to use.

 

Maybe Internet Explorer automatically chooses a different font if the characters aren't found, but the standard thing to do is to display a placeholder, like a box or question mark. I recommend that you use a different font on elements that are going to have Arabian text in them. If you're selecting a font from Google fonts, look at the character set options for the font.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...