Blame gfx/cairo/README

Packit f0b94e
Snapshots of cairo and glitz for mozilla usage.
Packit f0b94e
Packit f0b94e
We only include the relevant parts of each release (generally, src/*.[ch]),
Packit f0b94e
as we have Makefile.in's that integrate into the Mozilla build system.  For
Packit f0b94e
documentation and similar, please see the official tarballs at
Packit f0b94e
http://www.cairographics.org/.
Packit f0b94e
Packit f0b94e
VERSIONS:
Packit f0b94e
Packit f0b94e
  cairo (12d521df8acc483b2daa844d4f05dc2fe2765ba6)
Packit f0b94e
  pixman (0.24.2)
Packit f0b94e
Packit f0b94e
==== Patches ====
Packit f0b94e
Packit f0b94e
Some specific things:
Packit f0b94e
Packit f0b94e
max-font-size.patch: Clamp freetype font size to 1000 to avoid overflow issues
Packit f0b94e
Packit f0b94e
win32-logical-font-scale.patch: set CAIRO_WIN32_LOGICAL_FONT_SCALE to 1
Packit f0b94e
Packit f0b94e
nonfatal-assertions.patch: Make assertions non-fatal
Packit f0b94e
Packit f0b94e
buggy-repeat.patch: Unconditionally turn on buggy-repeat handling to bandaid bug 413583.
Packit f0b94e
Packit f0b94e
cairo-version-fixes.patch: fix up cairo-version.c/cairo-version.h for in-place builds
Packit f0b94e
Packit f0b94e
win32-ddb-dib.patch: fix for bug 455513; not upstream yet pending feebdack
Packit f0b94e
Packit f0b94e
win32-vertically-offset-glyph.patch: bug 454098; vertical positioning errors when drawing glyph runs including delta-y offsets on screen via GDI
Packit f0b94e
Packit f0b94e
ignore-rank0.patch: bug 474886; Not redrawing the background when changing page on flickr
Packit f0b94e
Packit f0b94e
win32-canvas-glyph-position.patch: bug 475092; horizontal positioning errors when drawing glyph runs with delta-y offsets to canvas through win32-font
Packit f0b94e
Packit f0b94e
win32-cleartype-clipping.patch: bug 445087; some glyphs are clipped, mainly on right-hand edge, when ClearType is enabled and drawing to RGBA canvas
Packit f0b94e
Packit f0b94e
on-edge.patch: reverts the in-fill semantic change.
Packit f0b94e
Packit f0b94e
wrap-source_image.patch: make sure we don't free the source image until we're done with it.
Packit f0b94e
Packit f0b94e
zero-sized.patch: deal with zero sized surface in ways less likely to crash.
Packit f0b94e
Packit f0b94e
text-path-filling-threshold.patch: use path filling instead of platform glyph rasterization at a smaller size threshold of 256 device pixels, if the backend supports native filling (which we assume will be fast).
Packit f0b94e
Packit f0b94e
zombie-face.patch: bug 486974; leak and possible crash with @font-face{src:url()}.  Upstream commit: 0238fe2cafea2e1ed19bb222117bd73ee6898d4d
Packit f0b94e
Packit f0b94e
win32-raster.patch: bug 498689; use scanline rasterizer on win32
Packit f0b94e
Packit f0b94e
quartz-falback.patch: try to fix Quartz fallback-to-pixman path; possiby incorrect and obsoleted by Andrea Canciani patch
Packit f0b94e
Packit f0b94e
quartz-repeating-radial-gradients.patch: use Quartz to render repeating radial gradients instead of falling back
Packit f0b94e
Packit f0b94e
quartz-const-globals.patch: make some Quartz color function data const globals instead of local variables
Packit f0b94e
Packit f0b94e
quartz-minimze-gradient-repeat.patch: reduce the number of gradient stop repetitions we use, to improve quality of Quartz's gradient rendering
Packit f0b94e
Packit f0b94e
quartz-first-stop.patch: return the first stop for negative positions on the gradient line of a nonrepeating linear gradient
Packit f0b94e
Packit f0b94e
quartz-glyph-extents.patch: bug 534260; work around incorrect glyph extents returned by quartz for anomalous empty glyphs
Packit f0b94e
Packit f0b94e
quartz-state.patch: bug 522859; refactor cairo-quartz-surface so that state local to a drawing operation is stored in a cairo_quartz_drawing_state_t instead of the surface
Packit f0b94e
Packit f0b94e
quartz-cache-CGImageRef.patch: cache CGImageRef for a CGBitmapContext; when we reuse it, Quartz will cache stuff, improving performance
Packit f0b94e
Packit f0b94e
quartz-remove-snapshot.patch: remove broken implementation of backend snapshot
Packit f0b94e
Packit f0b94e
quartz-cglayers.patch: add support for cairo surfaces backed by CGLayers
Packit f0b94e
Packit f0b94e
quartz-cglayers-fix-fallback.patch: Bug 572912; fix bug in fallback code in previous patch
Packit f0b94e
Packit f0b94e
quartz-get-image.patch: Bug 575521; add a way to get the image surface associated with a surface
Packit f0b94e
Packit f0b94e
quartz-create-for-data.patch: Bug 575521; add a way to create quartz surfaces backed with application-provided data
Packit f0b94e
Packit f0b94e
premultiply-alpha-solid-gradients.patch: bug 539165; multiply the solid color by the alpha component before using it for a solid surface
Packit f0b94e
Packit f0b94e
xlib-initialize-members.path: bug 548793; initialize XRender version if the server doesn't have the extension
Packit f0b94e
Packit f0b94e
remove-comma: remove a comma from enum
Packit f0b94e
Packit f0b94e
d2d.patch: add d2d support
Packit f0b94e
Packit f0b94e
fix-zero-len-graident.patch: fix zero length gradients
Packit f0b94e
Packit f0b94e
fix-clip-copy.patch: fix clip copying
Packit f0b94e
Packit f0b94e
fix-clip-region-simplification.patch: fixes a bug in clip region simplifications
Packit f0b94e
Packit f0b94e
expand-in-stroke-limits.patch: expand the in-stroke limits to avoid a bug
Packit f0b94e
Packit f0b94e
d2d-dwrite.patch: update the d2d/dwrite stuff
Packit f0b94e
Packit f0b94e
add-a-stash-of-cairo_t-s.patch: use the stash to avoid malloc/freeing cairo_t's
Packit f0b94e
Packit f0b94e
bgr.patch: fix image wrapping
Packit f0b94e
Packit f0b94e
disable-server-graidents.patch: disable server-side gradients
Packit f0b94e
Packit f0b94e
clip-invariant.patch: make rasterization closer to being clip invariant
Packit f0b94e
Packit f0b94e
fix-unnecessary-fallback.patch: avoid unnecessary fallback
Packit f0b94e
Packit f0b94e
handle-a1-upload.patch: handle a1 image uploads through converter
Packit f0b94e
Packit f0b94e
surface-clipper.patch: remove an incorrect optimization
Packit f0b94e
Packit f0b94e
fix-win32-show-glyphs-clipping.patch: fix a clipping bug
Packit f0b94e
Packit f0b94e
native-clipping.patch: Add support for a native clipping api
Packit f0b94e
Packit f0b94e
quartz-is-clear.patch: Propagate the quartz is_clear flag.
Packit f0b94e
Packit f0b94e
cairo-qt-compile.patch: Fix compile error, return not reached, and clone_similar interface
Packit f0b94e
Packit f0b94e
dwrite-glyph-extents.patch: Add padding to extents of antialiased glyphs, to avoid unwanted clipping. (bug 568191)
Packit f0b94e
Packit f0b94e
fix-ps-output.patch: PS: Add missing 'q' when resetting clip path (42b5cac7668625c9761113ff72b47af5cfd10377)
Packit f0b94e
Packit f0b94e
ensure-text-flushed.patch: PDF-operators: ensure text operations flushed before emitting clip (42b5cac7668625c9761113ff72b47af5cfd10377)
Packit f0b94e
Packit f0b94e
fix-xcopyarea-with-clips.patch: 5d07307b691afccccbb15f773d5231669ba44f5a
Packit f0b94e
Packit f0b94e
cairo-x-visual.patch: make valid visua for cairo_xlib_surface_create_with_xrender_format (55037bfb2454a671332d961e061c712ab5471580)
Packit f0b94e
Packit f0b94e
win32-transparent-surface.patch: add API so we can create a win32 surface for an HDC and indicate the surface has an alpha channel
Packit f0b94e
Packit f0b94e
cairo_qt_glyphs.patch: Drop X surface from Qt surface, add support for new qt glyphs api
Packit f0b94e
Packit f0b94e
empty-clip-rectangles.patch: f2fa15680ec3ac95cb68d4957557f06561a7dc55
Packit f0b94e
Packit f0b94e
empty-clip-extents.patch: b79ea8a6cab8bd28aebecf6e1e8229d5ac017264
Packit f0b94e
Packit f0b94e
clip-rects-surface-extents.patch: 108b1c7825116ed3f93aa57384bbd3290cdc9181
Packit f0b94e
Packit f0b94e
disable-previous-scaled-font-cache.patch: Disable the previous-scaled-font-cache until we figure out our ctm handling (#583035)
Packit f0b94e
 
Packit f0b94e
copyarea-with-alpha.patch: support simple overlapping self copies in (some) color_alpha xlib surfaces. https://bugs.freedesktop.org/show_bug.cgi?id=29250
Packit f0b94e
Packit f0b94e
fix-clip-test.patch: Use y 498c10032ea3f8631a928cd7df96766f2c8ddca4
Packit f0b94e
Packit f0b94e
quartz-refactor-surface-setup.patch: Extract the surface-source setup chunk of _cairo_quartz_setup_state into its own function
Packit f0b94e
Packit f0b94e
quartz-fix-PAD.patch: Treat PAD like NONE instead of REPEAT
Packit f0b94e
Packit f0b94e
quartz-mask-non-OVER.patch: Don't use CGContextSetAlpha to optimize alpha masking for non-OVER operators
Packit f0b94e
Packit f0b94e
quartz-layers-content.patch: Store cairo content type in CGLayer surfaces
Packit f0b94e
Packit f0b94e
quartz-optimize-OVER.patch: Optimize OVER to SOURCE for opaque patterns
Packit f0b94e
Packit f0b94e
quartz-check-imageSurfaceEquiv.patch: Drop cairo_quartz_surface_t's "imageSurfaceEquiv" member variable if we have problems creating it
Packit f0b94e
Packit f0b94e
disable-subpixel-antialiasing.patch: Add API to disable subpixel antialiasing completely for a target surface
Packit f0b94e
Packit f0b94e
tee-surfaces-pointwise.patch: Composite tee subsurfaces pointwise if possible
Packit f0b94e
Packit f0b94e
pattern_get_surface-no-error.patch: Don't put a pattern into error if cairo_pattern_get_surface fails
Packit f0b94e
Packit f0b94e
missing-cairo-clip-init.diff: Missing cairo_clip_init call in cairo_gstate_show_text_glyphs lead to crash
Packit f0b94e
Packit f0b94e
fix-cairo-win32-print-gdi-error.diff: Don't use fwprintf with char* format.  Flush stderr so that all error messages appears before exit.
Packit f0b94e
Packit f0b94e
pixman-image-transform.patch: Reset the transform on pixman images when using them as destinations.
Packit f0b94e
Packit f0b94e
fix-cairo-surface-wrapper-flush-build-warning.patch: Ensures that _cairo_surface_wrapper_flush always returns a status, to silence the build warning
Packit f0b94e
Packit f0b94e
fixup-unbounded.patch: Hack to work around bad assumption.
Packit f0b94e
Packit f0b94e
quartz-get-image-performance: Make cairo_quartz_get_image faster in the failure case by not flushing unless we are going to succeed.
Packit f0b94e
Packit f0b94e
lround-c99-only.patch: Only use lround in C99 programs.
Packit f0b94e
Packit f0b94e
unicode-printing.patch: Print as unicode (bug 454532)
Packit f0b94e
Packit f0b94e
quartz-mark-dirty.patch: Add a quartz implementation of mark_dirty_rectangle (bug 715704)
Packit f0b94e
Packit f0b94e
expose-snapshot.patch: Make functions to add snapshots public, as well as allow creating null surfaces publically. (bug 715658)
Packit f0b94e
Packit f0b94e
fix-build-with-Werror=return-type.patch: Fix builds with -Werror=return-type (bug 737909)
Packit f0b94e
Packit f0b94e
avoid-extend-none.patch: Avoid incorrectly using EXTEND_NONE (bug 751668)
Packit f0b94e
Packit f0b94e
win32-ExtCreatePen-zero-size.patch: Don't pass zero width or dash lengths to ExtCreatePen (bug 768348)
Packit f0b94e
Packit f0b94e
d2d-repeating-gradients.patch: Minimize number of gradient stops added to handle repeating with path fills (bug 768775)
Packit f0b94e
Packit f0b94e
xlib-glyph-clip-region.patch: bug 709477, addressed upstream by be1ff2f45fdbc69537e513834fcffa0435e63073
Packit f0b94e
Packit f0b94e
gdi-RGB24-ARGB32.patch: bug 788794
Packit f0b94e
Packit f0b94e
dwrite-font-printing.patch: bug 468568; don't substitute a GDI font for a DWrite font if the name tables aren't equal
Packit f0b94e
Packit f0b94e
d2d-gradient-ensure-stops.patch: bug 792903, ensure we don't set num_stops to 0
Packit f0b94e
Packit f0b94e
setlcdfilter_in_tree.patch: bug 790139; force cairo to use FT_Library_SetLcdFilter from our in tree library rather than picking it up from the system
Packit f0b94e
Packit f0b94e
dwrite-font-match-robustness.patch: bug 717178, don't crash when _name_tables_match is passed a nil scaled-font
Packit f0b94e
Packit f0b94e
handle-multi-path-clip.patch: bug 813124, handle multiple clip paths correctly
Packit f0b94e
Packit f0b94e
win32-gdi-font-cache.patch: Bug 717178, cache GDI font faces to reduce usage of GDI resources
Packit f0b94e
Packit f0b94e
win32-gdi-font-cache-no-HFONT.patch: Bug 717178, don't cache GDI font faces when an HFONT belonging to the caller is passed in
Packit f0b94e
Packit f0b94e
fix-win32-font-assertion.patch: Bug 838617, fix assertion from bug 717178 that was in the wrong place
Packit f0b94e
Packit f0b94e
xlib-flush-glyphs.patch: bug 839745, flush glyphs when necessary
Packit f0b94e
Packit f0b94e
dasharray-zero-gap.patch: bug 885585, ensure strokes get painted when the gaps in a dash array are all zero length
Packit f0b94e
Packit f0b94e
cairo-mask-extends-bug.patch: bug 918671, sometimes when building a mask we wouldn't clear it properly. This is fixed in cairo 1.12
Packit f0b94e
Packit f0b94e
ft-no-subpixel-if-surface-disables.patch: bug 929451, don't use subpixel aa for ft fonts on surfaces that don't support it
Packit f0b94e
Packit f0b94e
win32-printing-axis-swap.patch: bug 1205854, workaround for Windows printer drivers that can't handle swapped X and Y axes
Packit f0b94e
Packit f0b94e
no-pixman-image-reuse-across-threads.patch: bug 1273701, picked from 71e8a4c23019b01aa43b334fcb2784c70daae9b5
Packit f0b94e
Packit f0b94e
==== pixman patches ====
Packit f0b94e
Packit f0b94e
pixman-android-cpu-detect.patch: Add CPU detection support for Android, where we can't reliably access /proc/self/auxv.
Packit f0b94e
Packit f0b94e
pixman-rename-and-endian.patch: include cairo-platform.h for renaming of external symbols and endian macros
Packit f0b94e
Packit f0b94e
NOTE: we previously supported ARM assembler on MSVC, this has been removed because of the maintenance burden
Packit f0b94e
Packit f0b94e
pixman-export.patch: use cairo_public for PIXMAN_EXPORT to make sure pixman symbols are not exported in libxul
Packit f0b94e
Packit f0b94e
pixman-limits.patch: include limits.h for SIZE_MAX
Packit f0b94e
Packit f0b94e
pixman-lowres-interp.patch: Use lower quality interpolation for more speed.
Packit f0b94e
Packit f0b94e
pixman-bilinear-fastpath.patch: Bilinear fast paths for non-neon
Packit f0b94e
Packit f0b94e
pixman-16-bit-pipeline.patch: 16 bit pipeline for dithering
Packit f0b94e
Packit f0b94e
pixman-dither.patch: Add dithering of 16 bit gradients
Packit f0b94e
Packit f0b94e
quartz-support-color-emoji-font.patch: support Apple Color Emoji font in cairo-quartz backend
Packit f0b94e
Packit f0b94e
use-show-text-glyphs-if-glyph-path-fails.patch: fall back to show_text_glyphs even at huge sizes if scaled_font_glyph_path didn't work
Packit f0b94e
Packit f0b94e
pixman-enable-altivec-acceleration.patch: enable building the altivec acceleration
Packit f0b94e
Packit f0b94e
win32-d3dsurface9.patch: Create a win32 d3d9 surface to support LockRect
Packit f0b94e
Packit f0b94e
win32-avoid-extend-pad-fallback: Avoid falling back to pixman when using EXTEND_PAD
Packit f0b94e
Packit f0b94e
support-new-style-atomic-primitives.patch: Support the __atomic_* primitives for atomic operations
Packit f0b94e
Packit f0b94e
==== disable printing patch ====
Packit f0b94e
Packit f0b94e
disable-printing.patch:  allows us to use NS_PRINTING to disable printing.
Packit f0b94e
Packit f0b94e
==== cairo clamp bounday patch ====
Packit f0b94e
cairo-clamp-boundary.patch: don't call pixman_fill with negative starts or negative sizes
Packit f0b94e
Packit f0b94e
==== cairo zero subpath bounds patch ====
Packit f0b94e
zero-subpath-bounds.patch: include zero length paths in bounds