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

Use NativeFontHandle instead of CGFont #16512

Merged
merged 1 commit into from May 2, 2017

Conversation

@alfredoyang
Copy link

alfredoyang commented Apr 18, 2017

serde is removed from core-graphics, NativeFontHandle implements serialization and we should use NativeFontHandle instead of CGFont.

This PR depends on followings.
servo/core-graphics-rs#82
servo/webrender#1133


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #15607 (github issue number if applicable).
  • These changes do not require tests according to issue comment.

This change is Reviewable

@highfive
Copy link

highfive commented Apr 18, 2017

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @asajeffrey (or someone else) soon.

@highfive
Copy link

highfive commented Apr 18, 2017

warning Warning warning

  • These commits modify gfx code, but no tests are modified. Please consider adding a test!
@asajeffrey
Copy link
Member

asajeffrey commented Apr 18, 2017

LGTM, once servo/webrender#1133 has landed.

@asajeffrey
Copy link
Member

asajeffrey commented May 2, 2017

The dependencies have merged, so this can go in now! @bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented May 2, 2017

📌 Commit 2bb03f3 has been approved by asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented May 2, 2017

Testing commit 2bb03f3 with merge f56032b...

bors-servo added a commit that referenced this pull request May 2, 2017
Use NativeFontHandle instead of CGFont

<!-- Please describe your changes on the following line: -->
```serde``` is removed from ```core-graphics```, ```NativeFontHandle``` implements serialization and we should use ```NativeFontHandle``` instead of ```CGFont```.

This PR depends on followings.
servo/core-graphics-rs#82
servo/webrender#1133

---
<!-- 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
- [X]  These changes fix #15607 (github issue number if applicable).

<!-- Either: -->
- [X] These changes do not require tests according to issue comment.

<!-- 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/16512)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 2, 2017

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-msvc-dev
Approved by: asajeffrey
Pushing f56032b to master...

@bors-servo bors-servo merged commit 2bb03f3 into servo:master May 2, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@nox nox mentioned this pull request May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.