Skip to content

Windows does not use DejaVuSansMono font #4

@higaski

Description

@higaski

For some reason loading DejaVuSansMono works, but using it doesn't?

if (QFontDatabase::addApplicationFont(":/fonts/DejaVuSansMono.ttf") == -1)
  return -1;
QFont font{"DejaVuSansMono"};
font.setPointSize(10);
font.setStyleHint(QFont::Monospace);
app.setFont(font);

Now the [docs] say that one should not use setFont together with stylesheets, however it also doesn't work if no stylesheet whatsoever is applied...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions