Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm trying to embed this UTF8 truetype font (the font contains Persian characters) in the web and I use this service to convert it to proper formats.
The only problem is, it's not working on Google Chrome. Firefox and IE display the font correctly.
Here is the converted package.
And this is the original font.

share|improve this question

1 Answer 1

I've converted the mentioned font in your question and uploaded it in the following Internet address:

Mj_Dinar One Light Web Font Package

Also, You must use the following Style Lines:

@font-face {
    font-family: 'yourDesiredName';
    src: url('yourDesiredPathForFont/mj_dinar_one_light-webfont.eot');
    src: url('yourDesiredPathForFont/mj_dinar_one_light-webfont.ttf') format('truetype'), url('yourDesiredPathForFont/mj_dinar_one_light-webfont.eot?#iefix') format('embedded-opentype'), url('yourDesiredPathForFont/mj_dinar_one_light-webfont.woff') format('woff'), url('yourDesiredPathForFont/mj_dinar_one_light-webfont.svg#yourDesiredName') format('svg');
    font-weight: normal;
    font-style: normal;
}

and, you should add the following lines in the .htaccess file:

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/x-font-woff .woff
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.