Closed Bug 978129 Opened 11 years ago Closed 11 years ago

gfxFontUtils::DecodeFontName shouldn't assert on empty name string

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

See bug 963492 comment 8. We don't need an assertion here: http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxFontUtils.cpp#1278 as it's possible (though not particularly likely or advised) for there to be a zero-length name table string. An NS_WARNING might occasionally prove useful. I wouldn't be surprised if certain name strings being empty could make a font unusable on some systems.
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8383762 - Flags: review?(jdaggett) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: