Closed
Bug 550443
Opened 14 years ago
Closed 14 years ago
GDI nsIFontEnumerator.EnumerateFonts returns an empty array for x-unicode if aGeneric is specified
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: rain1, Assigned: jfkthame)
Details
Attachments
(1 file, 1 obsolete file)
746 bytes,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
fe = Components.classes["@mozilla.org/gfx/fontenumerator;1"].createInstance(Components.interfaces.nsIFontEnumerator); fe.EnumerateFonts("x-unicode", "serif", {}) returns an empty array with GDI. fe.EnumerateFonts("x-unicode", "", {}) works, and so does fe.EnumerateFonts("x-western", "serif", {}).
Assignee | ||
Comment 1•14 years ago
|
||
It seems wrong for us to return an empty list for x-unicode; we don't really have much clue what the user is interested in, but claiming that no fonts support it is not helpful.
Assignee: nobody → jfkthame
Attachment #430589 -
Flags: review?(jdaggett)
Assignee | ||
Comment 2•14 years ago
|
||
Refreshed patch for current trunk. <ping/>
Attachment #430589 -
Attachment is obsolete: true
Attachment #454685 -
Flags: review?(jdaggett)
Attachment #430589 -
Flags: review?(jdaggett)
Updated•14 years ago
|
Attachment #454685 -
Flags: review?(jdaggett) → review+
Assignee | ||
Comment 3•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/1788dd246ece
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•