mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 04:15:43 +00:00
.. | ||
cairo | ||
glitz | ||
libpixman | ||
avoid-region-extract.patch | ||
fbcompose-bandaid.patch | ||
Makefile.in | ||
max-font-size.patch | ||
README | ||
win32-no-printer-bitblt.patch | ||
win32-scaled-font-size.patch |
Snapshots of cairo and glitz for mozilla usage. We only include the relevant parts of each release (generally, src/*.[ch]), as we have Makefile.in's that integrate into the Mozilla build system. For documentation and similar, please see the official tarballs at http://www.cairographics.org/. VERSIONS: cairo (1.4.2) 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 NOT be defined). Some specific things: max-font-size.patch: Clamp freetype font size to 1000 to avoid overflow issues fbcompose-bandaid.patch: Disable "optimized" code in non-MMX case due to bugs 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-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. avoid-region-extract.patch: Bail from _cairo_traps_extract_region early if we have over 200 traps (arbitrary); this avoids an O(N*N) perf hit when the region is built up, because we call union_rect with each rect individually instead of building the region up in one go.