Closed Bug 1171357 Opened 8 years ago Closed 8 years ago

log font matching info with textrun logging

Categories

(Core :: Graphics: Text, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla42
Tracking Status
firefox41 --- affected
firefox42 --- fixed

People

(Reporter: jtd, Assigned: jtd)

Details

Attachments

(1 file)

It would be really helpful to be able to log the precise set of fonts and how they are matched for textruns. This would be very helpful for tracking down problems with font selection problems.
Log font matching info at the end of ComputeRanges. This indicates precisely which fonts are chosen for each subspan of a textrun. I'm marking this behind a build flag so that it's included in nightly builds but not release builds so that there's no possible effect on perf.
Attachment #8615170 - Flags: review?(m_kato)
Attachment #8615170 - Flags: review?(m_kato) → review+
https://hg.mozilla.org/mozilla-central/rev/d347bc43eda4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.