Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontAwesome font not loaded in Blackberry 9360 mobile #2112

Closed
prasadk24 opened this issue Oct 7, 2013 · 14 comments
Closed

FontAwesome font not loaded in Blackberry 9360 mobile #2112

prasadk24 opened this issue Oct 7, 2013 · 14 comments

Comments

@prasadk24
Copy link

FontAwesome not working in this mobile :
User-Agent : Mozilla/5.0 (BlackBerry; U; BlackBerry 9360; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.319 Mobile Safari/534.11+

FontAwesome working in this mobile:
User-Agent : Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.523 Mobile Safari/534.11+

please provide the solution

@tagliala
Copy link
Member

tagliala commented Oct 7, 2013

@prasadk24 take a look here:
http://stackoverflow.com/questions/12780686/fontface-on-blackberry-os-7

You should try those things:

  1. replace line n. 6 of your font/fontawesome-webfont.svg (https://github.com/FortAwesome/Font-Awesome/blob/master/font/fontawesome-webfont.svg#L6)

with:

<font id="FontAwesome" horiz-adv-x="1536" >
  1. replace line 31 of your css file css / font-awesome.css (https://github.com/FortAwesome/Font-Awesome/blob/master/css/font-awesome.css#L31)

with:

  src: url('../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'), url('../font/fontawesome-webfont.woff?v=3.2.1') format('woff'), url('../font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'), url('../font/fontawesome-webfont.svg?v=3.2.1#FontAwesome') format('svg');

let us know, if that fixes I will do it in 4.0.0-w.i.p

@prasadk24
Copy link
Author

thanks very much, working

@tagliala
Copy link
Member

tagliala commented Oct 9, 2013

@davegandy can we include this one?

@prasadk24
Copy link
Author

i fallowed same steps as you send and i used the existing css code

src: url('../font/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');

then i get the solution.

thanks for ur solution

@tagliala
Copy link
Member

Added to milestone 4 so Dave will eventually take a look. I can also take care of this one but I don't know how svg is created and the impact this could have in other circumstances

@prasadk24 did you noticed something wrong after doing this ? (e.g.: opera stopped working or something like that)

@lasbrojen
Copy link

I tried the following but still not working. I am testing on iPhone 3GS at browserstack.com.

  1. Replaced line Conflict with Bootstrap sprites? #6 of fonts/fontawesome-webfont.svg

With this:
< font id="FontAwesome" horiz-adv-x="1536" >

  1. Replaced line Icon request: icon-bitbucket #31 of css/font-awesome.css

With this:
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.0.1') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.0.1') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.0.1') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.0.1#FontAwesome') format('svg');

@tagliala
Copy link
Member

tagliala commented Nov 1, 2013

If I well remember, fontawesome works fine with iOS 4.2.1 but doesn't work at all on iOS 3

@lasbrojen
Copy link

When I test at browserstack it works from iPhone 4 and up

@lasbrojen
Copy link

@tagliala do you see anyway to create a fallback? For example by hiding font when not supported?

Kind Regards

@tagliala
Copy link
Member

tagliala commented Nov 1, 2013

@lasbrojen
I'm 98% sure they used to work on iPhone 3G with iOS 4.2.1

iPhone 3G is indeed really slow with iOS 4.2.1, so I downgraded it to "something different" (based on iOS 3) but...

100apple_img_0043

They works!

I'm pretty confident it uses the .svg version of the file, because safari seems to not support webfonts (as you can see, "Font Awesome" is rendered with "Georgia" rather than "museo-slab")

about fallbacks take a look at the latest comments in #374

edit fixed issue reference

@davegandy
Copy link
Member

Font Awesome should work fine in iOS3, now that I added the SVG font back in. I believe Typekit won't send anything but woff or eot, so iOS3 goes to the fallback.

@davegandy
Copy link
Member

Let me know if this is still an issue. Kicking out to 4.1.1 if it is.

@davegandy davegandy modified the milestones: 4.1.1, 4.1.0 May 14, 2014
@davegandy davegandy modified the milestones: 4.1.1, 4.2.0 Aug 20, 2014
@davegandy
Copy link
Member

This shouldn't be an issue anymore. Closing.

@tagliala
Copy link
Member

@davegandy you mean that the browser is not supported?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants