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

Avoid capturing platform-specific font data #3215

Merged
merged 2 commits into from Oct 19, 2018

Conversation

kvark
Copy link
Member

@kvark kvark commented Oct 18, 2018

This PR avoids the capturing to carry or load the platform-specific font instance data. It's less ideal for the case where the replay is done on the same platform, but makes captures more robust and portable overall. Ideally, we'd want to still save it but ignore on other platforms, but this would be less trivial (TODO).
r? anyone


This change is Reviewable

Copy link
Contributor

@gw3583 gw3583 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One spelling nit - tried to use the new suggestion feature to add a fix for it.

webrender/src/capture.rs Outdated Show resolved Hide resolved
Co-Authored-By: kvark <kvarkus@gmail.com>
@kvark
Copy link
Member Author

kvark commented Oct 19, 2018

thanks!
@bors-servo r=gw3583

@bors-servo
Copy link
Contributor

📌 Commit fef45d5 has been approved by gw3583

@bors-servo
Copy link
Contributor

⌛ Testing commit fef45d5 with merge f4941fb...

bors-servo pushed a commit that referenced this pull request Oct 19, 2018
Avoid capturing platform-specific font data

This PR avoids the capturing to carry or load the platform-specific font instance data. It's less ideal for the case where the replay is done on the same platform, but makes captures more robust and portable overall. Ideally, we'd want to still save it but ignore on other platforms, but this would be less trivial (TODO).
r? anyone

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/3215)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: gw3583
Pushing f4941fb to master...

@bors-servo bors-servo merged commit fef45d5 into servo:master Oct 19, 2018
@kvark kvark deleted the wr-font-capture branch October 19, 2018 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants