Closed
Bug 1022792
Opened 10 years ago
Closed 10 years ago
"ASSERTION: standard generic font family type required"
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
FIXED
mozilla33
Tracking | Status | |
---|---|---|
firefox33 | --- | verified |
People
(Reporter: jruderman, Assigned: jtd)
References
Details
(Keywords: assertion, regression, testcase)
Attachments
(3 files)
###!!! ASSERTION: standard generic font family type required: 'aGenericType >= eFamily_serif && aGenericType <= eFamily_fantasy', file gfx/thebes/gfxFont.cpp, line 4877
This assertion was added in:
changeset: https://hg.mozilla.org/mozilla-central/rev/e39cfafa8517
user: John Daggett
date: Fri Jun 06 15:09:23 2014 +0900
summary: Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw
Reporter | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jdaggett
Assignee | ||
Comment 2•10 years ago
|
||
This is an artifact of how -moz-fixed was handled prior to the fontlist struct changes in bug 280443. When -moz-fixed was the sole generic in a fontlist, it would set the font family to monospace and *also* set the size. However, when included with other fonts, it would be passed untranslated down to gfx and effectively ignored. Not sure the semantics of this "magic" name were well thought about but for now, just treat -moz-fixed as an alias for monospace within gfx.
David, please let me know if you think we should be making changes within the style system to accomodate this in a different way and I will file a new bug to make those changes.
Attachment #8437370 -
Flags: review?(cam)
Flags: needinfo?(dbaron)
Updated•10 years ago
|
Attachment #8437370 -
Flags: review?(cam) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Pushed to inbound
https://hg.mozilla.org/integration/mozilla-inbound/rev/100a14518e5b
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
Comment 5•10 years ago
|
||
Reproduced in Nightly 2014-06-09-mozilla-central-debug.
Verified fixed FF 33.0a1 2014-06-13-mozilla-central-debug Win 7 x64.
Status: RESOLVED → VERIFIED
status-firefox33:
--- → verified
(In reply to John Daggett (:jtd) from comment #2)
> This is an artifact of how -moz-fixed was handled prior to the fontlist
> struct changes in bug 280443. When -moz-fixed was the sole generic in a
> fontlist, it would set the font family to monospace and *also* set the size.
> However, when included with other fonts, it would be passed untranslated
> down to gfx and effectively ignored. Not sure the semantics of this "magic"
> name were well thought about but for now, just treat -moz-fixed as an alias
> for monospace within gfx.
Treating -moz-fixed the same as monospace sounds fine.
Flags: needinfo?(dbaron)
You need to log in
before you can comment on or make changes to this bug.
Description
•