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

allow creating a CTFont from a CGFont with variations #193

Merged
merged 2 commits into from Feb 6, 2018

Conversation

@lsalzman
Copy link
Contributor

lsalzman commented Feb 6, 2018

This is functionality necessary to solve https://bugzilla.mozilla.org/show_bug.cgi?id=1435062

We need to be able to pass the variations dictionary to the CTFont, otherwise core-text does not properly handle with the variations on the font.


This change is Reviewable

@jdm
Copy link
Member

jdm commented Feb 6, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Feb 6, 2018

📌 Commit 4dd878b has been approved by jdm

@bors-servo
Copy link
Contributor

bors-servo commented Feb 6, 2018

Testing commit 4dd878b with merge 51a7b0c...

bors-servo added a commit that referenced this pull request Feb 6, 2018
allow creating a CTFont from a CGFont with variations

This is functionality necessary to solve https://bugzilla.mozilla.org/show_bug.cgi?id=1435062

We need to be able to pass the variations dictionary to the CTFont, otherwise core-text does not properly handle with the variations on the font.

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

bors-servo commented Feb 6, 2018

☀️ Test successful - status-travis
Approved by: jdm
Pushing 51a7b0c to master...

@bors-servo bors-servo merged commit 4dd878b into servo:master Feb 6, 2018
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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.

None yet

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