Loading
Bug 1779202 - Disable use of CGLayer-backed cairo quartz surfaces to work...
Bug 1779202 - Disable use of CGLayer-backed cairo quartz surfaces to work around scaling bug affecting XObject images in pdf.js output. r=dholbert This avoids the apparent Core Graphics bug whereby the PDF output it generates will mis-render when subsequently processed again by Core Graphics (although it renders OK in Adobe products). Unfortunately, this will regress bug 1772225, so that pdf.js documents will be rasterized when printed or in Save to PDF output on macOS. (Setting the pref gfx.cairo_quartz_cg_layer.enabled to true will restore "good" (vector-based) output, but embedded XObject bitmap images may be mis-scaled.) Differential Revision: https://phabricator.services.mozilla.com/D156570