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

Per-font, suggested CSS font-family fallback list. #29

Open
GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment
Open

Per-font, suggested CSS font-family fallback list. #29

GoogleCodeExporter opened this issue Mar 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

On a page such as:

  http://code.google.com/webfonts/family?family=Ubuntu#code

the user is presented with a default fallback of:

  h1 { font-family: 'Ubuntu', arial, serif; }

despite this only being an example, it seems that people use it verbatium.  In 
this case a sans-serif font falls back to a serif font as the point of last 
resort.  Ideally it would be possible to specific per-font a better suggested 
fallback sequence, in the case of Ubuntu the preference would currently be 
(improvements welcomed):

  font-family: Ubuntu, "Bitstream Vera Sans", "DejaVu Sans", Tahoma, sans-serif;

Original issue reported on code.google.com by sladen@gmail.com on 24 Dec 2010 at 3:45

@GoogleCodeExporter
Copy link
Author

It might be also worth switching the example in all cases to be:

  body { font-family: ...; }

as this would switch a website over wholesale without confusion, more technical 
people are able to customise later, but this makes it easier to get started for 
those less familiar.

Original comment by sladen@gmail.com on 24 Dec 2010 at 4:51

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

1 participant