Closed Bug 1691170 Opened 4 years ago Closed 4 years ago

"warning: 'kCTFontDefaultOrientation' is deprecated"

Categories

(Core :: Graphics, defect)

All
macOS
defect

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: mstange, Assigned: mstange)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

 6:24.65 /Users/mstange/code/mozilla/gfx/thebes/gfxMacFont.cpp:465:41: warning: 'kCTFontDefaultOrientation' is deprecated: first deprecated in macOS 10.11 [-Wdeprecated-declarations]
 6:24.67   ::CTFontGetAdvancesForGlyphs(mCTFont, kCTFontDefaultOrientation, &aGID,
 6:24.68                                         ^
 6:24.68 /Users/mstange/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h:185:5: note: 'kCTFontDefaultOrientation' has been explicitly marked deprecated here
 6:24.68     kCTFontDefaultOrientation CT_ENUM_DEPRECATED(10_5, 10_11, 3_2, 9_0) = kCTFontOrientationDefault,
 6:24.68     ^

I've filed https://github.com/servo/core-foundation-rs/issues/438 for the rust occurrences of this name but I'm not going to work on that.

Pushed by mstange@themasta.com: https://hg.mozilla.org/integration/autoland/rev/7ecaf1733a46 Replace deprecated kCTFontDefaultOrientation with its replacement kCTFontOrientationDefault. r=jrmuizel
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: