Closed Bug 1119253 Opened 5 years ago Closed 5 years ago

font-selection code should use gfxFontEntry::HasCharacter in preference to TestCharacterMap

Categories

(Core :: Graphics: Text, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

I notice that some of the font-selection code is using the virtual gfxFontEntry method TestCharacterMap, where it should instead use HasCharacter for a more efficient check in the (usual) case where the character map is already loaded.
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Summary: font-selection code should use gfxFont::HasCharacter in preference to TestCharacterMap → font-selection code should use gfxFontEntry::HasCharacter in preference to TestCharacterMap
Attachment #8545955 - Flags: review?(jdaggett) → review+
https://hg.mozilla.org/mozilla-central/rev/99d21b08e56e
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.