Update Cairo to version 1.18.0
Categories
(Core :: Graphics, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: jwatt, Assigned: jfkthame)
References
Details
Attachments
(25 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
The fixes that we need to resolve bug 1729276 are in Cairo 1.18.0 and later.
Comment 1•1 year ago
|
||
You should also get this fix that is was committed to cairo master after 1.18.0 was released.
0fce59ff8d250a59ccc86894b8f1459070bf6ddb
See https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/521 for details.
![]() |
Reporter | |
Comment 2•1 year ago
|
||
Thanks for pointing that out.
![]() |
Reporter | |
Comment 3•1 year ago
|
||
Assigning to jfkthame since he's actively looking at this.
Assignee | ||
Comment 4•1 year ago
|
||
These are either integrated into upstream now, or the code has evolved
sufficiently that they're obsolete and will be replaced by substantially
new versions.
Assignee | ||
Comment 5•1 year ago
|
||
Wholesale replacement of files in gfx/cairo/cairo with contents of the 1.18.0 release tarball,
omitting subdirectories that are not part of the core library build.
(This will not build as-is; the following patches will fix things up for Gecko integration.)
Assignee | ||
Comment 7•1 year ago
|
||
Release 1.18.0 no longer has HAVE_CONFIG_H guards around these #includes,
so let's just create an empty file as we don't rely on this to set anything.
Assignee | ||
Comment 8•1 year ago
|
||
Assignee | ||
Comment 9•1 year ago
|
||
Assignee | ||
Comment 10•1 year ago
|
||
Assignee | ||
Comment 11•1 year ago
|
||
Assignee | ||
Comment 12•1 year ago
|
||
Assignee | ||
Comment 13•1 year ago
|
||
Assignee | ||
Comment 14•1 year ago
|
||
Assignee | ||
Comment 15•1 year ago
|
||
Assignee | ||
Comment 16•1 year ago
|
||
Assignee | ||
Comment 17•1 year ago
|
||
Assignee | ||
Comment 18•1 year ago
|
||
Assignee | ||
Comment 19•1 year ago
|
||
Assignee | ||
Comment 20•1 year ago
|
||
Assignee | ||
Comment 21•1 year ago
|
||
Assignee | ||
Comment 22•1 year ago
|
||
Assignee | ||
Comment 23•1 year ago
|
||
Without this, we end up leaking the DataSourceSurfaceRawData that backs the
quartz image surface created during surface-pattern rendering, because the
imageSurface pointer holds a strong reference and then gets cleared without
releasing it.
Assignee | ||
Comment 24•1 year ago
|
||
To fix the Gecko build on Windows, as this is a mingw-ism that isn't
supported or needed.
Assignee | ||
Comment 25•1 year ago
|
||
Assignee | ||
Comment 26•1 year ago
|
||
create_similar now checks for a quartz surface and uses CGLayer internally,
so we don't need a separate API here.
Assignee | ||
Comment 27•1 year ago
|
||
The first parameter to cairo_dwrite_font_face_create_for_dwrite_fontface was
unused anyhow, so this is just API cleanup.
The dwrite rendering mode APIs were mozilla additions, but if we're only using
cairo to print, there's probably no reason to try and propagate the dwrite
options used for screen rendering, so we don't need to go to the effort of
maintaining those extra APIs.
Updated•1 year ago
|
Comment 28•1 year ago
|
||
Comment 29•1 year ago
|
||
Looks like the README wasn't updated to account for the library update and changes in patches?
Assignee | ||
Comment 30•1 year ago
|
||
Oops, you're right, thanks -- I'll post a followup.
Comment 31•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3cdfb39376b7
https://hg.mozilla.org/mozilla-central/rev/98d555121e60
https://hg.mozilla.org/mozilla-central/rev/868a0fbdfe29
https://hg.mozilla.org/mozilla-central/rev/bb67f9c54a25
https://hg.mozilla.org/mozilla-central/rev/7eb0f2727239
https://hg.mozilla.org/mozilla-central/rev/9263a1eece7e
https://hg.mozilla.org/mozilla-central/rev/dcf06dfaff0c
https://hg.mozilla.org/mozilla-central/rev/972a07ec6164
https://hg.mozilla.org/mozilla-central/rev/0f1e5fd02d74
https://hg.mozilla.org/mozilla-central/rev/be5946552b9b
https://hg.mozilla.org/mozilla-central/rev/ed92f32bdcc8
https://hg.mozilla.org/mozilla-central/rev/c66b662e1662
https://hg.mozilla.org/mozilla-central/rev/e50af191a62f
https://hg.mozilla.org/mozilla-central/rev/1ba70fd62ef3
https://hg.mozilla.org/mozilla-central/rev/7c5dbb5ceaa9
https://hg.mozilla.org/mozilla-central/rev/f59cb75b6ae0
https://hg.mozilla.org/mozilla-central/rev/51b400f880e3
https://hg.mozilla.org/mozilla-central/rev/61ef06598b0c
https://hg.mozilla.org/mozilla-central/rev/436aba91e198
https://hg.mozilla.org/mozilla-central/rev/94b71d1c7806
https://hg.mozilla.org/mozilla-central/rev/a572320a5708
https://hg.mozilla.org/mozilla-central/rev/8fe914e33e27
https://hg.mozilla.org/mozilla-central/rev/b6d5bd3946c6
https://hg.mozilla.org/mozilla-central/rev/2175f8e4c8c9
Assignee | ||
Comment 32•1 year ago
|
||
Comment 33•1 year ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 34•1 year ago
|
||
Comment 35•1 year ago
|
||
bugherder |
Updated•1 year ago
|
Updated•1 year ago
|
Description
•