Closed
Bug 808573
Opened 13 years ago
Closed 5 years ago
Allow to attach font files
Categories
(developer.mozilla.org Graveyard :: File attachments, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: Jeremie, Unassigned)
References
Details
Attachments
(3 files)
In order to have a live example working on https://developer.mozilla.org/en-US/docs/HTML/Forms/Styling_HTML_forms I need to be able to attach some font files
Because the example is cross-browser compatible, I cannot relay on DATA:URI to embed the fonts inside an HTML file (Legacy IEs do not support DATA:URI).
So it would be convenient to allow EOT, WOFF and TTF files to be attached to a page.
| Reporter | ||
Comment 1•13 years ago
|
||
| Reporter | ||
Comment 2•13 years ago
|
||
| Reporter | ||
Comment 3•13 years ago
|
||
Comment 4•13 years ago
|
||
Python is finding the MIME of these to be "application/octet-stream", which we don't want to open. We could add this to our htaccess file:
AddType application/x-font-woff .woff
Any thoughts on how to handle this James?
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Comment 5•11 years ago
|
||
Ali, why is this invalid? AFAIK we can't embed font to use in our various font-related pages.
Flags: needinfo?(aspivak)
Updated•11 years ago
|
Status: RESOLVED → REOPENED
Flags: needinfo?(aspivak)
Resolution: INVALID → ---
Comment 7•9 years ago
|
||
Updated the list of permitted MIME types to include:
application/font-woff [.woff]
application/x-font-truetype [.ttf]
application/x-font-opentype [.otf]
application/font-woff2 [.woff2]
The question is: does the server send the files in the correct type? If not, we need to htaccess this (or the equivalent on AWS).
Comment 8•9 years ago
|
||
All I know is that when I try to upload a font, the file is sent but the site does nothing when it arrives. It's weird.
Comment 10•9 years ago
|
||
(In reply to Jannis Leidel [:jezdez] from comment #9)
> :sheppy can you try again?
Just tried an .otf file and got "Files of this type are not permitted."
Flags: needinfo?(eshepherd)
Comment 11•5 years ago
|
||
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: REOPENED → RESOLVED
Closed: 11 years ago → 5 years ago
Resolution: --- → WONTFIX
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•