Arabic fonts support problem with all browsers except ie

General Forum
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Arabic fonts support problem with all browsers except ie

Post by mando_lovely »

phoca font work in IE but not work in all browser (try : firefox 3.5.15 and 3.6.13 - opera 11 - google chrome )

and i try to solve the problem by change font-family in my template.css to
body {
font-family: Domestic Manners;
color:#ffffff;
font-size:13pt;
}
but invain

not work and the default font remain

you say that it work in firefox 3.5 and the demo say that it work in firefox 3.6.13 which i use now but in my site it doesn't work in all browsers

i enabled the plugin and installed it right
i try to change my template to the joomla default or beez but not work too

i use joomla 1.5.15 and phoca font 1.0.2
Last edited by mando_lovely on 10 Mar 2011, 05:00, edited 3 times in total.
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Re: phoca font not work in all browser except IE

Post by mando_lovely »

i saw this in firebug

Image

and iam sorry my site is in localhost now

i try to change my template to the joomla default or beez but not work too
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Re: phoca font doesn't work in all browser except IE

Post by mando_lovely »

Hello ,

I know that nobody answer or try to solve my problem but i want to say that :

i tried clean joomla package (with the default template ) and found the same problem and know that the problem in the arabic ttf font is not supported or something else i dont know and i realised that the arabic font i tried to use is truetype format like english font (tried 4 arabic fonts but not work too ) but the eot in explorer all versions works

the problem in others browsers and ttf arabic fonts because i tried english default font in phoca font and work normal in mozzilA firefox >>>>>>>>>>>> the problem in arabic font ttf support or something else ????????

Thank you
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Re: phoca font doesn't work in all browser except IE

Post by mando_lovely »

Hello,

Tried in live site but same problem

I want to say that my problem is the support of Arabic fonts.ttf :cry: with it's browsers ( mozilla - opera -safary ) all the browsers except IE because it work with the .eot font and this work normally with all the explorer versions :twisted:

this screen shot from firebug in live site ..... i think this said that the phocafont work correctly ? !!!!

Image

i tried a lot of different Arabic fonts but in vain


and the template.css in firebug said that no changes in font-family


Image


tried to solve the problem by change it to Domestic Manners but the problem still there

Sorry for my bad English

hope a solution

Thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca font doesn't work in all browser except IE

Post by Jan »

Hi, the css looks OK, maybe there is problem with loading the font ???
<!--[if IE]>
<style type="text/css">
@font-face {
font-family: Domestic Manners;
font-style: normal;
font-weight: normal;
font-stretch: normal;
font-stretch: normal;
src: url("/demo/components/com_phocafont/fonts/Domestic_Manners.eot") ;
}
body { font-family: "Domestic Manners", serif, arial, helvetica;
}
</style><![endif]--><![if !IE]><style type="text/css">
@font-face {
font-family: Domestic Manners;
font-style: normal;
font-weight: normal;
font-stretch: normal;
font-stretch: normal;
src: url("/demo/components/com_phocafont/fonts/Domestic_Manners.ttf") format("truetype");
}
body { font-family: "Domestic Manners", serif, arial, helvetica;
}
</style><![endif]>
This is from demo site where this works ok and seems the same like your code :idea:

Jan
If you find Phoca extensions useful, please support the project
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Re: phoca font doesn't work in all browser except IE

Post by mando_lovely »

Thank you very much

Jan wrote:Hi, the css looks OK, maybe there is problem with loading the font ???

Jan

how iam able to solve the problem of loading the font ???
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phoca font doesn't work in all browser except IE

Post by Jan »

Hi, you need to check if the path is correct, try to load other font, etc.

Jan
If you find Phoca extensions useful, please support the project
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Re: phoca font doesn't work in all browser except IE

Post by mando_lovely »

thank you very very much jan

i tried alot of fonts and tried to play with the css :x

please solve it with me its (Arabic fonts support problem) in your pretty add-on to the joomla community which thank you for your perfect development in joomla with your phoca ;)

now i making ademo arabic clear joomla site and i will install it to you and put arabic fonts and you see the problem

i want to know how i contact you with the admin and password to try

or if you want

setup you phoca font and try to setup arabic font package on it then setup any arabic font in phoca font and see the problem (it will work with the ie but not work in all other browsers .

Thank you very very much and never mind with the support you have the right to not support free for all of us
mando_lovely
Phoca Member
Phoca Member
Posts: 13
Joined: 15 Feb 2011, 05:57

Re: Arabic fonts support problem with all browsers except ie

Post by mando_lovely »

Hello ,

i made clear demo joomla SITE to you ,put in it arabic content and install phoca font with arabic font installed

see it here

http://jojoclear.cloudaccess.net/

and you can sign in as admin here

http://jojoclear.cloudaccess.net/administrator
Username: jojoclea
Password: fxi87C28nA

try this and see the font work in ie only and not work in ALL other browsers
hope this solve the problem

thank you
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Arabic fonts support problem with all browsers except ie

Post by Jan »

Hi,

I have checked both file font paths, they are correct:

/components/com_phocafont/fonts/FS_Cairo_Stripe2.ttf
/components/com_phocafont/fonts/FS_Cairo_Stripe2.eot

the font files exists

The CSS is OK too:
<!--[if IE]>
<style type="text/css">
@font-face {
font-family: "FS Cairo Stripe";
font-style: normal;
font-weight: normal;
font-stretch: normal;
font-stretch: normal;
src: url("/components/com_phocafont/fonts/FS_Cairo_Stripe2.eot") ;
}
body { font-family: "FS Cairo Stripe", serif, arial, helvetica;
}
</style><![endif]-->
<!--[if !IE]>-->
<style type="text/css">
@font-face {
font-family: "FS Cairo Stripe";
font-style: normal;
font-weight: normal;
font-stretch: normal;
font-stretch: normal;
src: url("/components/com_phocafont/fonts/FS_Cairo_Stripe2.ttf") format("truetype");
}
body { font-family: "FS Cairo Stripe", serif, arial, helvetica;
}
</style><!--<![endif]-->
- So check if the ttf (for all browsers except IE) includes right arabic fonts
- check if some CSS does not set other font family after this is set with the above added css code.

Jan
If you find Phoca extensions useful, please support the project
Post Reply