Pomax / lib-font

This library adds a new Font() object to the JavaScript toolbox, similar to new Image() for images
MIT License
734 stars 72 forks source link

Problem when running on my mobile device #17

Closed quanghd closed 11 years ago

quanghd commented 11 years ago

I confirmed that my sample code doesn't run on my Android 2.1 device while it works on PC browsers. Can you tell me why?

Pomax commented 11 years ago

I cannot: 2.1 is pretty old now, and may simply not have browsers that properly support @font-face or some of the javascript calls used in Font.js. So that said: which browsers did you try?

Pomax commented 11 years ago

Looking at https://code.google.com/p/android/issues/detail?id=4448 it seems 2.x just doesn't support @font-face, and given that Android's on version 4.2.x at the moment (and API version 17, where 2.1 is API version 7), I doubt someone will ever fix that, unfortunately.