Skip to content

Generic font families should use system fonts on iOS #1864

@hamorphis

Description

@hamorphis

When the user specifies serif, sans-serif or monospace as the font-family on iOS, we should obtain a system font, for example using the UIFont.systemFontOfSize(...) method.

Currently they are hard-coded as:

var DEFAULT_SERIF = "Times New Roman";
var DEFAULT_SANS_SERIF = "Helvetica";
var DEFAULT_MONOSPACE = "Courier New";

This does not allow the use of fonts such as Helvetica Neue and San Francisco.

Slightly related to #1862

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions