Skip to content

Instantly share code, notes, and snippets.

@query
Last active October 11, 2015 02:37
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 query/3789881 to your computer and use it in GitHub Desktop.
Save query/3789881 to your computer and use it in GitHub Desktop.
User style sheet for replacing several varieties of Arial with Helvetica Neue.
@font-face {
font-family: 'Arial';
src: local('HelveticaNeue');
}
@font-face {
font-family: 'Arial';
font-weight: bold;
src: local('HelveticaNeue-Bold');
}
@font-face {
font-family: 'Arial';
font-style: italic;
src: local('HelveticaNeue-Italic');
}
@font-face {
font-family: 'Arial';
font-weight: bold;
font-style: italic;
src: local('HelveticaNeue-BoldItalic');
}
@font-face {
font-family: 'Arial Unicode MS';
src: local('HelveticaNeue');
}
@font-face {
font-family: 'Arial Unicode MS';
font-weight: bold;
src: local('HelveticaNeue-Bold');
}
@font-face {
font-family: 'Arial Unicode MS';
font-style: italic;
src: local('HelveticaNeue-Italic');
}
@font-face {
font-family: 'Arial Unicode MS';
font-weight: bold;
font-style: italic;
src: local('HelveticaNeue-BoldItalic');
}
/* OS X doesn't ship with these weights of Helvetica Neue out of the
* box; these replacements instead refer to Adobe variants, and thus
* won't work unless you have them installed.
*/
@font-face {
font-family: 'Arial Black';
src: local('HelveticaNeueLTStd-Blk');
}
@font-face {
font-family: 'Arial Black';
font-weight: bold;
src: local('HelveticaNeueLTStd-Blk');
}
@font-face {
font-family: 'Arial Narrow';
src: local('HelveticaNeueLTStd-Cn');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment