Closed willfarrell closed 11 years ago
Added in the webfont conversions. Sample css for others that want to host themselves.
@font-face {
font-family: 'opendyslexic';
src: url('../font/OpenDyslexic-Regular.otf') format("opentype"),
url('../font/OpenDyslexic-Regular.eot?#iefix') format('embedded-opentype'),
url('../font/OpenDyslexic-Regular.woff') format('woff'),
url('../font/OpenDyslexic-Regular.ttf') format('truetype'),
url('../font/OpenDyslexic-Regular.svg#svgFontName') format('svg');
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('../font/OpenDyslexic-Italic.otf') format("opentype"),
url('../font/OpenDyslexic-Italic.eot?#iefix') format('embedded-opentype'),
url('../font/OpenDyslexic-Italic.woff') format('woff'),
url('../font/OpenDyslexic-Italic.ttf') format('truetype'),
url('../font/OpenDyslexic-Italic.svg#svgFontName') format('svg');
font-style: italic;
font-weight: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('../font/OpenDyslexic-Bold.otf') format("opentype"),
url('../font/OpenDyslexic-Bold.eot?#iefix') format('embedded-opentype'),
url('../font/OpenDyslexic-Bold.woff') format('woff'),
url('../font/OpenDyslexic-Bold.ttf') format('truetype'),
url('../font/OpenDyslexic-Bold.svg#svgFontName') format('svg');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('../font/OpenDyslexic-BoldItalic.otf') format("opentype"),
url('../font/OpenDyslexic-BoldItalic.eot?#iefix') format('embedded-opentype'),
url('../font/OpenDyslexic-BoldItalic.woff') format('woff'),
url('../font/OpenDyslexic-BoldItalic.ttf') format('truetype'),
url('../font/OpenDyslexic-BoldItalic.svg#svgFontName') format('svg');
font-weight: bold;
font-style: italic;
}
Thank you!
Will allow devs to easily get the latest version into their apps.