Closed Bug 1018551 Opened 9 years ago Closed 9 years ago

clean up font/shaper code to remove redundancy and dead mPlatformShaper field

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

Attachments

(1 file)

With the Windows-specific shapers gone, the only "platform shaper" we have left is Core Text, so it makes more sense to handle this entirely in the gfxMacFont subclass, and drop it from the generic gfxFont. (See bug 985220 comment 3.)

We can also clean up the gfx{backend}Font::ShapeText methods a bit, now that there are fewer platform-specific cases to handle.
Depends on: 985220, 1018034
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Comment on attachment 8432054 [details] [diff] [review]
clean up redundancy in the font/shaper code.

Yay!
Attachment #8432054 - Flags: review?(jdaggett) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd9518344a23
OS: Mac OS X → All
Hardware: x86 → All
sorry had to backout this change for test failures like https://tbpl.mozilla.org/php/getParsedLog.php?id=40847823&tree=Mozilla-Inbound
did now a re-checkin in https://hg.mozilla.org/integration/mozilla-inbound/rev/3e9d9aa535c7 since the test failures seems to be caused by the checkin before
https://hg.mozilla.org/mozilla-central/rev/3e9d9aa535c7
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla32
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/0e387a554646 due to Thai regression described in bug 1020826.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Merge of backout:
https://hg.mozilla.org/mozilla-central/rev/0e387a554646
Target Milestone: mozilla32 → ---
Re-landed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ee3e74ba96a9
Target Milestone: --- → mozilla33
https://hg.mozilla.org/mozilla-central/rev/ee3e74ba96a9
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.