servo/components/gfx
bors-servo 5ccb087769 Auto merge of #16388 - Tiwalun:fix-freetype-panic, r=emilio
Fix panic when font face name is not available

I got a panic in Servo when I ran it with `RUST_LOG=debug`, which was due to `FT_Get_Postscript_Name` returning a null pointer.

I'm not sure how to add a test for this, so there is none right now.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16388)
<!-- Reviewable:end -->
2017-04-16 10:50:20 -05:00
..
display_list Use real clips when generating scroll roots 2017-04-06 14:46:02 +02:00
platform Fix panic when font face name is not available 2017-04-12 20:36:27 +02:00
text Use SIMD in gfx when possible 2017-02-04 12:46:22 +01:00
Cargo.toml Update parking_lot_core and smallvec 2017-03-22 14:55:49 -07:00
font.rs Auto merge of #16388 - Tiwalun:fix-freetype-panic, r=emilio 2017-04-16 10:50:20 -05:00
font_cache_thread.rs Serialize unquoted font-family without quote 2017-03-30 23:40:23 +03:00
font_context.rs Make font-variant shorthand. 2017-04-14 08:50:16 +09:00
font_template.rs Update to string-cache 0.3 2016-11-03 16:23:05 +01:00
lib.rs Kill the plugins crate and its clippy support 2017-02-21 11:50:36 +01:00