Skip to content

findFontsSync not returning all fonts in family #44

@shaehn

Description

@shaehn

On my Windows 10 system, I have 4 font files in the Times New Roman family; times.ttf, timesbd.ttf, timesbi.ttf, timesi.ttf. When I make the following call:

let times = fm.findFontsSync({ family: 'Times New Roman' });

the result only holds two font files; times.ttf and timesbd.ttf.

Why doesn't the other two files appear as well?

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