Skip to content

Instantly share code, notes, and snippets.

@davidortinau
Created May 3, 2011 23:31
Show Gist options
  • Save davidortinau/954462 to your computer and use it in GitHub Desktop.
Save davidortinau/954462 to your computer and use it in GitHub Desktop.
Flex Embedded Font CSS
/* CSS file */
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
@font-face {
src: url("assets/fonts/HelveticaNeueLTStd-Bd.otf");
fontFamily: HelveticaNeueBold;
fontStyle: normal;
fontWeight: bold;
embedAsCFF:true;
}
@font-face {
src: url("assets/fonts/HelveticaNeueLTStd-Roman.otf");
fontFamily: HelveticaNeue;
fontStyle: normal;
fontWeight: normal;
embedAsCFF:true;
}
@font-face {
src: url("assets/fonts/HelveticaNeueLTStd-It.otf");
fontFamily: HelveticaNeueItalic;
fontStyle: italic;
fontWeight: normal;
embedAsCFF:true;
}
@font-face {
src: url("assets/fonts/HelveticaNeueLTStd-Md.otf");
fontFamily: HelveticaNeueMedium;
fontStyle: normal;
fontWeight: normal;
embedAsCFF:true;
}
@font-face {
src: url("assets/fonts/Georgia-Italic.ttf");
fontFamily: Georgia;
fontStyle: italic;
fontWeight: normal;
embedAsCFF:true;
}
@font-face {
src: url("assets/fonts/JeffScripBold.otf");
fontFamily: JeffBold;
fontStyle: normal;
fontWeight: bold;
embedAsCFF:true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment