Skip to content

Instantly share code, notes, and snippets.

@desandro
Created June 7, 2010 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desandro/429087 to your computer and use it in GitHub Desktop.
Save desandro/429087 to your computer and use it in GitHub Desktop.
body {
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
}
@desandro
Copy link
Author

desandro commented Jun 7, 2010

Lucida Sans is a great screen font that holds up well at small sizes, but only certain families have proper bold and italic variants. This font stack is designed to provide the variants when available, and best legibility across OS's.

Lucida Sans comes with Office for Mac. Lucida Sans Regular comes with Office 2007 for Windows. Both have bold and italic variants. Then Lucida Grande (has bold) for Mac users w/ no Office, or Lucida Sans Unicode (which has neither bold, nor italic) for Windows users w/ no Office. Lucida Sans Unicode has no bold or italic.

@dandrinkard advises Lucida Sans Unicode displays best on Windows with ClearType, and should be put ahead of Lucida Grande.

@miketaylr
Copy link

body {font-family: fantasy}

BAM.

@jogger
Copy link

jogger commented Jun 7, 2010

delete me

@riddle
Copy link

riddle commented Jun 7, 2010

This is what I’ve been using: "Lucida Sans Unicode", "Lucida Grande", "LucidaGrande", "Lucida Sans", sans-serif.

"LucidaGrande" is something a friend of mine told me to include and I’m not really sure why.

(I’d like to point out that "Arial", sans-serif is really redundant, if you think about it.)

@desandro
Copy link
Author

desandro commented Jun 7, 2010

@miketaylr I had no idea about that fantasy was a valid family keyword. Just to check, it renders as Papyrus on a Mac, and Times New Roman on Windows.

@miketaylr
Copy link

@desandro. Times New Roman? That's no fantasy I want part of.

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