gecko/gfx
Adrian Johnson ext:(%2C%20Andrea%20Canciani%20%3Cranma42%40gmail.com%3E) 5570709872 Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream. r=jrmuizel
======

From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Tue, 16 Nov 2010 13:18:39 +0000
Subject: win32: Use a font_face hash table to provide unique font faces

Similar to the freetype and toy font backends, use a hash table
to map logfont,hfont to font faces.

This fixes the multiple embedding of the same font in PDF.

https://bugs.freedesktop.org/show_bug.cgi?id=24849

======

From 6e3e329170ab4b96bc0d587c8071e869e228e758 Mon Sep 17 00:00:00 2001
From: Adrian Johnson <ajohnson@redneon.com>
Date: Thu, 18 Nov 2010 12:37:45 +0000
Subject: win32: fix font_face hashing

some bugs were discovered while testing with firefox

======

From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
From: Andrea Canciani <ranma42@gmail.com>
Date: Wed, 15 Jun 2011 09:37:36 +0000
Subject: win32-font: Improve static data reset function

The hashtable is guaranteed to only contain font faces which are
currently referenced, hence there is no need to remove any font face
when it is reset (just like for toy-font).

This makes the function simpler and fixes the assertion

Assertion failed: predicate != NULL, file cairo-hash.c, line 373

hit by multiple tests (the first one being "clear").

See https://bugs.freedesktop.org/show_bug.cgi?id=38049

======

--HG--
extra : rebase_source : 73172c901f80e2f6e9f52035e1d6eab2a220642f
2012-10-23 12:43:29 +13:00
..
2d Bug 798053 - Do a more accurate test for the return value of Scale(). r=gw280 2012-10-10 11:35:23 -04:00
angle Bug 787653 - Allow compiling ANGLE on mingw-w64 (makefile part) r=bjacob,ted 2012-09-19 10:58:31 +02:00
cairo Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream. r=jrmuizel 2012-10-23 12:43:29 +13:00
gl Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (gfx/gl part) r=bjacob 2012-10-04 10:31:56 +02:00
graphite2 Bug 800058 - Unbreak graphite2-1.2.0 on clang/libc++. r=jfkthame 2012-10-11 10:53:19 +01:00
harfbuzz bug 802223 - suppress harfbuzz build warning that isn't relevant to our usage. r=jdaggett 2012-10-18 15:44:21 +01:00
ipc Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-28 14:56:27 -04:00
layers Bug 803013 - Maintain coherency when progressively updating visible areas. r=bgirard 2012-10-22 20:18:14 +01:00
ots Bug 719286 - Add OTS support for OpenType SVG table r=jfkthame 2012-09-06 16:57:02 +12:00
qcms Bug 800667 - typo wih NATIVE_OUTPUT in qcms. r=jmuizelaar 2012-10-15 13:34:52 +09:00
skia Bug 714050 - Add support for optional JS helper threads (r=luke) 2012-10-16 11:57:09 -07:00
src Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
tests Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me 2012-10-05 17:48:15 +01:00
thebes Bug 758531: DWrite fonts create mScaledFont on demand. This causes GetCairoScaledFont to return NULL. This subsequently caused the surface to go into an error status which caused the CreateSimilar call to fail for that surface. This patch properly uses the call which will create the cairo_scaled_font_t if it's not there yet. r=jrmuizel 2012-10-23 02:26:27 +02:00
ycbcr Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-28 14:56:27 -04:00
Makefile.in Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00