Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WR (driver workaround, large clip mask fix, font index support). #16523

Merged
merged 1 commit into from Apr 19, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update WR (driver workaround, large clip mask fix, font index support).

  • Loading branch information
gw3583 committed Apr 19, 2017
commit 3dccd1ed2c14b00366154327f40709e26b7f895f

Some generated files are not rendered by default. Learn more.

@@ -348,9 +348,9 @@ impl FontCache {
font_key = Some(*webrender_fonts.entry(template.identifier.clone()).or_insert_with(|| {
let font_key = webrender_api.generate_font_key();
match (template.bytes_if_in_memory(), template.native_font()) {
(Some(bytes), _) => webrender_api.add_raw_font(font_key, bytes),
(Some(bytes), _) => webrender_api.add_raw_font(font_key, bytes, 0),
(None, Some(native_font)) => webrender_api.add_native_font(font_key, native_font),
(None, None) => webrender_api.add_raw_font(font_key, template.bytes().clone()),
(None, None) => webrender_api.add_raw_font(font_key, template.bytes().clone(), 0),
}
font_key
}));
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.