font.ubuntu.com needs the font hosted for web embedding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-font-family-website |
Fix Released
|
Wishlist
|
Paul Sladen |
Bug Description
See:
http://
http://
Original report:
http://
Microsoft only supports web fonts in its proprietary EOT format. There does not appear to be a packaged tool to convert from TTF to EOT however this code looks like it should do the trick. http://
http://
http://
http://
There should be some copy and pasteable text on the home page of http://
@font-face {
/* Regular */
font-family: "UbuntuNormal";
src: url("http://
font-weight: 400;
font-style: normal;
font-variant: normal;
font-stretch: normal;
}@font-face {
/* Bold */
font-family: "UbuntuBold";
src: url("http://
font-weight: 700;
font-style: normal;
font-variant: normal;
font-stretch: normal;
}@font-face {
/* BoldItalic */
font-family: "UbuntuBoldItalic";
src: url("http://
font-weight: 700;
font-style: italic;
font-variant: normal;
font-stretch: normal;
}@font-face {
/* Italic */
font-family: "UbuntuItalic";
src: url("http://
font-weight: 400;
font-style: italic;
font-variant: normal;
font-stretch: normal;
}
Google font directory takes a slightly different approach and dynamically generates a little css stylesheet depending on the browser, e.g.
http://
it may be necessary to make sure the mimetype is correct, so put this in .htaccess in the directory with the fonts octet-stream .ttf .eot
AddType application/