the fixed-point subtractions reached from _cairo_spline_decompose_into can overflow, so do the arithmetic in wider types Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: I6c7d1fa569bfb958ac45ab10748b45acc3ba742d Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12355 Reviewed-by: Noel Grandin <noel.grandin@collabora.com> Tested-by: Jenkins CPCI <releng@collaboraoffice.com> (cherry picked from commit a1af5f124e9179f74c85feab1b05e7c8f0d73ceb) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211407 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
The graphics library, used for anti-aliasing. From [http://cairographics.org/]. This code is used by default only on Linux, though it is also available on Mac. There is a cairo-canvas implementation that is the main customer, and it is enabled via 'use hardware acceleration' in the general options.