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

Mac fonts check #335

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Mac fonts check #335

wants to merge 5 commits into from

Conversation

Olegas
Copy link

@Olegas Olegas commented Jan 10, 2013

New rule 'check-fonts-alternatives'

This rule is aimed to check, if rule's font families has a specified alternative for Mac OS/iOS based systems.

The case is best illustrated in this article:
http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html

@nzakas
Copy link
Contributor

nzakas commented Jan 17, 2013

Thanks for the submission. Can you provide some examples about what would cause a warning and why?

@stubbornella thoughts?

@Olegas
Copy link
Author

Olegas commented Jan 18, 2013

Consider this JSFiddle example - http://jsfiddle.net/Psx8y/
This is how it looks on Windows - http://yadi.sk/d/xfcjV-2x1xbCk
This is how it looks on Mac OS - http://yadi.sk/d/hu3XWbOk1xbF6

On Mac OS the second line is rendered as a first one, cause' there is no Lucida Console font on Mac OS. But there are Monaco font, it looks similar to Lucida Console (see the third line). Both images side by side (left is Windows, right is Mac OS): http://yadi.sk/d/aUR7gjka1xbdI

Well, the first CSS rule in above mentioned jsfiddle example will cause waring, cause' there are no Mac OS/iOS alternative is specified for font Lucida Console.

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

Successfully merging this pull request may close these issues.

3 participants