servo/components/gfx
bors-servo 8e75a05e6b Auto merge of #9149 - adrianheine:webFonts, r=glennw
Correctly handle local sources for CSS3 fonts

Currently, servo panics for me when loading something like this:

```
@font-face {
  font-family: "test family";
  src: local(test font face);
}
```

That's due to a bug in `FontCacheTask`. `FontCacheTask` tries to get the value for the key
"test font face" from `self.web_families`, but previously initialized a value for the key "test family".

These two commits add an awkward test and fix the bug by not shadowing the variable `family_name`. Since the argument to `local()` should explicitly not be the name of a font family, the previous variable name was wrong and misleading anyways.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9149)
<!-- Reviewable:end -->
2016-01-08 04:47:55 +05:30
..
display_list Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
platform Fix a bunch of clippy lints 2016-01-02 23:27:15 +01:00
text Auto merge of #9013 - antrik:debug-fontgroup, r=Ms2ger 2015-12-18 14:23:15 +05:30
Cargo.toml Restrict font loads to known MIME types. 2015-12-31 07:45:48 -05:00
filters.rs Split Au type into separate crate, with minimal dependencies. 2015-10-01 07:16:11 +10:00
font.rs Auto merge of #9013 - antrik:debug-fontgroup, r=Ms2ger 2015-12-18 14:23:15 +05:30
font_cache_task.rs Auto merge of #9149 - adrianheine:webFonts, r=glennw 2016-01-08 04:47:55 +05:30
font_context.rs Remove the fontgroup address cache. 2016-01-06 17:06:59 -08:00
font_template.rs Derive Debug on FontGroup and its components 2015-12-12 10:04:33 +01:00
lib.rs Restrict font loads to known MIME types. 2015-12-31 07:45:48 -05:00
paint_context.rs Auto merge of #9055 - simartin:issue_9042, r=Wafflespeanut 2015-12-24 10:55:48 +05:30
paint_task.rs Move LayerKind and ScrollPolicy enums to gfx_traits 2015-12-20 20:43:31 -05:00