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

@font-face returning 'false' on Ubuntu 9.10, FF3.5.6 (includes fix) #39

Closed
peol opened this issue Jan 4, 2010 · 2 comments
Closed

@font-face returning 'false' on Ubuntu 9.10, FF3.5.6 (includes fix) #39

peol opened this issue Jan 4, 2010 · 2 comments

Comments

@peol
Copy link

peol commented Jan 4, 2010

The 'serif' bundle on at least my install seems to default to a font that is the same width as the @font-face data uri font, which makes it return false.

Changing:
spn.setAttribute('style','font:99px _,serif;position:absolute;visibility:hidden');

to:
spn.setAttribute('style','font:99px _,helvetica,verdana;position:absolute;visibility:hidden');

should fix this (according to http://www.codestyle.org/css/font-family/sampler-CombinedResults.shtml - these fonts are installed on >99% of the computers out there).

@paulirish
Copy link
Member

thanks andree..

I think we'll probably go with
_,arial,helvetica;

@KuraFire
Copy link
Member

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

No branches or pull requests

3 participants