gecko/gfx
Adrian Johnson d6fa6eb875 win32: fix font_face hashing
win32: Use a font_face hash table to provide unique font faces

win32-font: Improve static data reset function

Bug 717178. Part 2: Import changesets eb29a25d, 6e3e3291 and 101fab7c from upstream.
======

From 101fab7cd8a90f7cf3d8113c792b3f8c2a9afb7d Mon Sep 17 00:00:00 2001
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

======

From eb29a25dd6dddc511388bf883c9b95843ecdb823 Mon Sep 17 00:00:00 2001
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
some bugs were discovered while testing with firefox

======

--HG--
extra : rebase_source : 6bbb299194f2296522e36bfeb68d1e8ebc2d1f17
2010-11-18 12:37:45 +00:00
..
2d Bug 811950 - Add scaling operators to BaseSize and gfxPoint. r=roc 2012-12-23 10:50:30 -05:00
angle Bug 805814 - import ANGLE r1317 (only that revision) - r=jgilbert 2012-12-11 16:57:30 -05:00
cairo win32: fix font_face hashing 2010-11-18 12:37:45 +00:00
gl Bug 825995; fix scissor rect logic in GLContext. r=jgilbert 2013-01-03 15:11:54 +13:00
graphite2 bug 805760 - update graphite2 lib to commit 51e72e74b9a6. r=jdaggett 2012-11-06 18:11:58 +00:00
harfbuzz bug 799869 - [harfbuzz] improve heuristic for choosing between shapers for khmer fonts. r=behdad 2012-11-21 19:31:35 +00:00
ipc Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-28 14:56:27 -04:00
layers Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
ots bug 811382 - update OTS library to r.95. r=jdaggett 2012-11-15 17:04:57 -08:00
qcms Bug 726586 - Uninitialised value use in build_input_gamma_table. r=jrmuizel 2012-12-10 11:10:26 -05:00
skia Bug 817356. the skia image resizers need to respect endian order when finding the alpha values. r=joedrew 2012-12-09 21:20:41 +01:00
src Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09: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 825875 - shape long words directly into the textrun instead of using word caching. r=roc 2013-01-04 18:35:37 +00:00
ycbcr Bug 793408 - Remove some prtypes.h #includes from gfx; r=jrmuizel 2012-09-28 14:56:27 -04:00
Makefile.in