Skip to content

Instantly share code, notes, and snippets.

@intrnl
Last active June 15, 2022 10:22
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 intrnl/69b916a5f828d3532b77bb149408ea87 to your computer and use it in GitHub Desktop.
Save intrnl/69b916a5f828d3532b77bb149408ea87 to your computer and use it in GitHub Desktop.
Fuck you Firefox for relying on fontconfig substitutions
/* PostScript fonts */
@font-face {
font-family: 'Helvetica';
src: local('sans-serif');
}
@font-face {
font-family: 'Helvetica Narrow';
src: local('sans-serif');
}
@font-face {
font-family: 'Times';
src: local('serif');
}
@font-face {
font-family: 'Courier';
src: local('monospace');
}
@font-face {
font-family: 'ITC Avant Garde Gothic';
src: local('sans-serif');
}
@font-face {
font-family: 'ITC Bookman';
src: local('cursive');
}
@font-face {
font-family: 'Palatino';
src: local('serif');
}
@font-face {
font-family: 'New Century Schoolbook';
src: local('serif');
}
/* Microsoft fonts */
@font-face {
font-family: 'Arial';
src: local('sans-serif');
}
@font-face {
font-family: 'Arial Narrow';
src: local('sans-serif');
}
@font-face {
font-family: 'Times New Roman';
src: local('serif');
}
@font-face {
font-family: 'Courier';
src: local('monospace');
}
@font-face {
font-family: 'Courier New';
src: local('monospace');
}
@font-face {
font-family: 'Cambria';
src: local('serif');
}
@font-face {
font-family: 'Calibri';
src: local('sans-serif');
}
@font-face {
font-family: 'Symbol';
src: local('math');
}
@font-face {
font-family: 'Georgia';
src: local('serif');
}
@font-face {
font-family: 'Consolas';
src: local('monospace');
}
/* Other fonts */
@font-face {
font-family: 'Liberation Sans';
src: local('sans-serif');
}
@font-face {
font-family: 'Liberation Sans Narrow';
src: local('sans-serif');
}
@font-face {
font-family: 'Liberation Serif';
src: local('serif');
}
@font-face {
font-family: 'Liberation Mono';
src: local('monospace');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment