Closed Bug 1434697 Opened 8 years ago Closed 8 years ago

Implement variation font support in the Android (gfxFT2Fonts) backend

Categories

(Core :: Graphics: Text, enhancement)

ARM
Android
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(2 files, 1 obsolete file)

No description provided.
Depends on: 1434699
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8947195 - Flags: review?(lsalzman) → review+
Comment on attachment 8947196 [details] [diff] [review] patch 2 - Implement variation font support in the Android (gfxFT2Fonts) backend Unless I am missing something, it seems like this will leak the FT_Face. You instantiate it and then pass it to cairo_ft_font_face_create_for_ft_face, but Cairo won't touch that face since it doesn't own it. The UserFontData does not know about this particular FT_Face either, so it won't get around to ever releasing it.
Ah - good catch, thanks. That does indeed look like a problem; will fix.
OK, this should avoid the FT_Face leakage.
Attachment #8947384 - Flags: review?(lsalzman)
Attachment #8947196 - Attachment is obsolete: true
Attachment #8947196 - Flags: review?(lsalzman)
Attachment #8947384 - Flags: review?(lsalzman) → review+
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/dfa38f0a4879 patch 1 - Cherry-pick commit 994eb2b34934bc5face9f83b2d3b12cf7a9262ab (fix for FreeType bug https://savannah.nongnu.org/bugs/index.php?52955) from upstream to our in-tree copy, pending a new FreeType release. r=lsalzman https://hg.mozilla.org/integration/mozilla-inbound/rev/e9acc45d2463 patch 2 - Implement variation font support in the Android (gfxFT2Fonts) backend. r=lsalzman
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: