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

Remap font names for iOS for PR 372. #530

Merged
merged 10 commits into from
Feb 1, 2019

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Feb 1, 2019

Description:

This PR simply remaps some font names for an open PR so that the work for iOS as well.

iOS unfortunately doesn't support font families serif and monospace.

Other changes will be needed but these are the basic changes before implementing the iOS native font properties.

Related PRs:

Target PR: #513
Gutenberg PR: WordPress/gutenberg#13628

Testing:

The only testing needed is to make sure the font are good for Android too.

@daniloercoli
Copy link
Contributor

NotoSerif doesn't work on Android.
A viable solution is to set the font family by checking the current Platform. See the GIST below:
WordPress/gutenberg#13628 (comment)

@diegoreymendez
Copy link
Contributor Author

Tests are failing but I've no idea why. Been digging into it without much success so far, so any idea is welcome.

@diegoreymendez
Copy link
Contributor Author

As discussed with @daniloercoli I'm going to go ahead and merge this into his branch, so I can keep working on making the title work fine for iOS, and he can try to figure out why the tests are failing.

@diegoreymendez diegoreymendez merged commit 3d7ecf0 into issue/372-move-title-to-rich-text Feb 1, 2019
@diegoreymendez diegoreymendez deleted the try/improve-372 branch February 1, 2019 18:24
@hypest
Copy link
Contributor

hypest commented Feb 4, 2019

I think this PR pretty much addressed #419 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants