fune/servo/components/gfx
Mikko Perttunen 31631d420c servo: Merge #5153 - Handle font load errors in FontContext (from cyndis:check-font-result); r=jdm
Thread font load errors from platform font loading code to
FontContext::get_layout_font_group_for_style, and cache the failure
result, instead of panicing the thread when a font fails to load.

Before this patch, a failed font load would panic a LayoutTask,
causing a cascade of panics, eventually aborting the whole engine
during a panic within panic.

On my Arch Linux machine almost every page would crash in this manner,
including e.g. reddit.com and cnn.com. Mosf of the requested fonts would
load fine but some single variant of Helvetica would fail always. Not sure
how to create a test for this as it seems pretty system-specific.

Cheers,
cyndis

Source-Repo: https://github.com/servo/servo
Source-Revision: 4bd5aed5005b1a8dba828a178ea9af4277d0d4a7
2015-03-06 10:31:05 -07:00
..
display_list servo: Merge #5133 - layout: Implement image-rendering per CSS-IMAGES-3 § 5.3 and (from servo:background-size); r=SimonSapin 2015-03-03 11:48:54 -07:00
platform servo: Merge #4893 - Upgrade to rustc ba2f13ef0 2015-02-04 (from servo:rustup_2015-01-31); r=Ms2ger,glennw 2015-02-11 17:24:45 -07:00
text servo: Merge #4922 - Fix some warnings (from servo:warnings); r=jdm 2015-02-13 05:33:49 -07:00
buffer_map.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
Cargo.toml servo: Merge #5000 - Move gfx to libc from crates.io (from Ms2ger:libc-gfx); r=jdm 2015-02-21 06:51:50 -07:00
color.rs servo: Merge #4903 - Companion single Color patch (from Adenilson:singleColor02); r=pcwalton 2015-02-13 15:51:50 -07:00
filters.rs servo: Merge #4719 - Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev (from servo:rustup_20150109); r=jdm 2015-01-27 18:15:50 -07:00
font.rs servo: Merge #4922 - Fix some warnings (from servo:warnings); r=jdm 2015-02-13 05:33:49 -07:00
font_cache_task.rs servo: Merge #4893 - Upgrade to rustc ba2f13ef0 2015-02-04 (from servo:rustup_2015-01-31); r=Ms2ger,glennw 2015-02-11 17:24:45 -07:00
font_context.rs servo: Merge #5153 - Handle font load errors in FontContext (from cyndis:check-font-result); r=jdm 2015-03-06 10:31:05 -07:00
font_template.rs servo: Merge #4524 - gfx: Implement font-stretch per CSS3-FONTS § 3.3 in the Core Text font backend (from pcwalton:font-stretch); r=glennw 2015-01-28 13:57:58 -07:00
lib.rs servo: Merge #5000 - Move gfx to libc from crates.io (from Ms2ger:libc-gfx); r=jdm 2015-02-21 06:51:50 -07:00
paint_context.rs servo: Merge #5133 - layout: Implement image-rendering per CSS-IMAGES-3 § 5.3 and (from servo:background-size); r=SimonSapin 2015-03-03 11:48:54 -07:00
paint_task.rs servo: Merge #4475 - layout: Implement text-shadow per CSS-TEXT-DECORATION-3 § 4 (from pcwalton:text-shadow); r=mbrubeck 2015-03-02 14:54:52 -07:00