Skip to content

the property font is not compatiable with HTML5 canvas font  #566

Closed
@zwzw911

Description

@zwzw911

HTML5 canvas font accept: font-style/font-variant/font-weight/font-size/font-family, for example, context.font="italic small-caps bold 12px arial", but node-canvas only accept font-style/font-size/font-family, it set font-variant or font-weight, the property font change to default value "10px sans-serfi"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions