Closed Bug 1892282 Opened 7 months ago Closed 5 months ago

Use LookAndFeel::GetFont to get default font in gfxDWriteFontList::GetDefaultFontForPlatform

Categories

(Core :: Graphics: Text, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: bobowen, Assigned: bobowen)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently SystemParametersInfoW is used to get a local default font in gfxDWriteFontList::GetDefaultFontForPlatform, which will fail in content processes as we improve the sandbox.
Using LookAndFeel::GetFont should use an appropriate mechanism for each process.

Currently SystemParametersInfoW is used to get a local default font, which will
fail in content processes as we improve the sandbox.
Using LookAndFeel::GetFont should use an appropriate mechanism for each process.

Blocks: 1900175
Pushed by bobowencode@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6c1940df6fb4 Use LookAndFeel::GetFont to get default font in gfxDWriteFontList::GetDefaultFontForPlatform. r=jfkthame
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: