Skip to content

Remap font names for iOS for PR 372.#530

Merged
diegoreymendez merged 10 commits intoissue/372-move-title-to-rich-textfrom
try/improve-372
Feb 1, 2019
Merged

Remap font names for iOS for PR 372.#530
diegoreymendez merged 10 commits intoissue/372-move-title-to-rich-textfrom
try/improve-372

Conversation

@diegoreymendez
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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