Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Nov 13, 2023
1 parent fab3966 commit 4b64b80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ int main(int argc, char *argv[])
eSizesUI::font.setEvaluator([]() {
double dpi = (qApp->desktop()->logicalDpiX() / 96.0);
#ifdef FRICTION_BUNDLE_ROBOTO
#ifdef Q_OS_WIN
dpi -= 0.2;
#else
dpi -= 0.1;
#endif
#endif
qDebug() << "DPI" << dpi;
const auto fm = QFontMetrics(OS_FONT);
Expand Down

0 comments on commit 4b64b80

Please sign in to comment.