Skip to content

Instantly share code, notes, and snippets.

@xiaohanyu
Created April 3, 2016 12:08
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save xiaohanyu/8b9ea9d10a713ea90652902566c2bde9 to your computer and use it in GitHub Desktop.
CSS for linux libertine font(http://linuxlibertine.sourceforge.net/fonts/)
@font-face {
font-family: 'Linux Libertine'; /* normal */
src: url('/static/fonts/linux-libertine/LinLibertine_R.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Linux Libertine'; /* italic */
src: url('/static/fonts/linux-libertine/LinLibertine_RI.woff') format('woff');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Linux Libertine'; /* bold */
src: url('/static/fonts/linux-libertine/LinLibertine_RB.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Linux Libertine'; /* bold */
src: url('/static/fonts/linux-libertine/LinLibertine_RBI.woff') format('woff');
font-weight: bold;
font-style: italic;
}
@xiaohanyu
Copy link
Author

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