Skip to content

Commit

Permalink
sync: from linuxdeepin/dtkgui
Browse files Browse the repository at this point in the history
Synchronize source files from linuxdeepin/dtkgui.

Source-pull-request: linuxdeepin/dtkgui#294
  • Loading branch information
deepin-ci-robot authored and mhduiy committed Jan 1, 2025
1 parent 7d4046d commit 5715984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/dfontmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ QFont DFontManager::get(int pixelSize, const QFont &base)
{
QFont font = base;
font.setPixelSize(pixelSize);
// Ensure that the FamilyResolved flag is set in order for Qt to correctly set fonts
font.setFamilies(base.families());
return font;
}

Expand Down

0 comments on commit 5715984

Please sign in to comment.