Closed
Bug 817220
Opened 12 years ago
Closed 11 years ago
@font-face with src:local("monospace") fails on Linux
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: heycam, Unassigned)
Details
Attachments
(1 file)
147 bytes,
text/html
|
Details |
My Ubuntu Linux has a font available named "monospace" (it's the value of font.name.monospace.x-western). If I write @font-face { font-family: Something; src: local("monospace"); } it doesn't find the local font. Should this work? (This might not just be a Linux problem; just noticed it there.)
Comment 1•11 years ago
|
||
Isn't this basically bug 769194?
Reporter | ||
Comment 2•11 years ago
|
||
I don't think so. Bug 769194 is about local() not working on Android. This bug is about local with the specific name "monospace" (and might well be all generic font names, like "sans-serif" etc.).
Comment 3•11 years ago
|
||
The generic font names are *font family* identifiers, not identifiers that uniquely identify single faces within a family, which is the criteria for use within local(): # The locally-installed <font-face-name> argument to local() is a # format-specific string that uniquely identifies a single font # face within a larger family. The name within font.name.monospace.x-western is a *family* name. You'll need to figure out what the fullname is for that font (e.g. "monospace regular").
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•