Skip to content

Commit

Permalink
Fix certain fonts (particularly on macOS) rendering graph text oddly
Browse files Browse the repository at this point in the history
  • Loading branch information
timangus committed Oct 24, 2023
1 parent 9e79667 commit 6100245
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/app/rendering/glyphmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ void GlyphMap::renderImages(const QFont &font)

painter.setFont(font);
painter.setPen(Qt::white);
path.setFillRule(Qt::FillRule::WindingFill);
painter.fillPath(path.translated(x, y - glyphAscent), QBrush(Qt::white));
};

Expand Down

0 comments on commit 6100245

Please sign in to comment.