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)
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)
1.22 KB,
patch
|
lsalzman
:
review+
|
Details | Diff | Splinter Review |
11.98 KB,
patch
|
lsalzman
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•8 years ago
|
||
Attachment #8947195 -
Flags: review?(lsalzman)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•8 years ago
|
||
Attachment #8947196 -
Flags: review?(lsalzman)
Updated•8 years ago
|
Attachment #8947195 -
Flags: review?(lsalzman) → review+
Comment 3•8 years ago
|
||
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.
Assignee | ||
Comment 4•8 years ago
|
||
Ah - good catch, thanks. That does indeed look like a problem; will fix.
Assignee | ||
Comment 5•8 years ago
|
||
OK, this should avoid the FT_Face leakage.
Attachment #8947384 -
Flags: review?(lsalzman)
Assignee | ||
Updated•8 years ago
|
Attachment #8947196 -
Attachment is obsolete: true
Attachment #8947196 -
Flags: review?(lsalzman)
Updated•8 years ago
|
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
Comment 7•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dfa38f0a4879
https://hg.mozilla.org/mozilla-central/rev/e9acc45d2463
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.
Description
•