Tue, 14 Aug 2007 09:35:46 -0700
changeset 4627 22f8df7aeacd902f1acb5df04a7345796e08b166
parent 4414 6486f6b97ac32b62261ad6dabd37a5e02cbfecb2
child 5499 53e384b333baffe97cf1d05d4ad245a3cc8a4ece
permissions -rw-r--r--
Port trace-malloc to Mac OS X. b=392118 r+a=brendan

Snapshots of cairo and glitz for mozilla usage.

We only include the relevant parts of each release (generally, src/*.[ch]),
as we have's that integrate into the Mozilla build system.  For
documentation and similar, please see the official tarballs at


  cairo (1.5.x - c0a7d33ac6c81dd74ee2a9daaa3749a346ef4897)
  pixman (0.9.3 - 0c80a0cd84f30616563cef5910df9deb4f8ed687)
  glitz 0.5.2 (cvs - 2006-01-10)

***** NOTE FOR VISUAL C++ 6.0 *****

VC6 is not supported.  Please upgrade to VC8.

==== Patches ====

All patches in the cairo tree are surrounded by "MOZILLA_CAIRO_NOT_DEFINED"
(which should obviously not be defined).

Some specific things:

max-font-size.patch: Clamp freetype font size to 1000 to avoid overflow issues

win32-scaled-font-size.patch: Add cairo_win32_font_face_create_for_logfontw_hfont,
allow win32 scaled_fonts to rescale themselves properly to the required CTM
and only use the font_face's hfont if we're sure it's appropriate

win32-logical-font-scale.patch: set CAIRO_WIN32_LOGICAL_FONT_SCALE to 1

win32-no-printer-bitblt.patch: If we need to BitBlt from a DC (to do
fallback), only bother trying if the IS_DISPLAY flag is set -- many
printers lie about their support for BitBlt, and we end up getting
black instead of what we want.

nonfatal-assertions.patch: Make assertions non-fatal

clone-similar-fallback.patch: Implement fallback for clone_similar.