Changeset View
Changeset View
Standalone View
Standalone View
kcms/fonts/fonts.cpp
Show First 20 Lines • Show All 502 Lines • ▼ Show 20 Line(s) | |||||
503 | #ifdef Q_OS_MAC | 503 | #ifdef Q_OS_MAC | ||
504 | setGeneralFont(QFont("Lucida Grande", 13)); | 504 | setGeneralFont(QFont("Lucida Grande", 13)); | ||
505 | setMenuFont(QFont("Lucida Grande", 13)); | 505 | setMenuFont(QFont("Lucida Grande", 13)); | ||
506 | setFixedWidthFont(QFont("Monaco", 10)); | 506 | setFixedWidthFont(QFont("Monaco", 10)); | ||
507 | setToolbarFont(QFont("Lucida Grande", 11)); | 507 | setToolbarFont(QFont("Lucida Grande", 11)); | ||
508 | setSmallFont(QFont("Lucida Grande", 9)); | 508 | setSmallFont(QFont("Lucida Grande", 9)); | ||
509 | setWindowTitleFont(QFont("Lucida Grande", 14)); | 509 | setWindowTitleFont(QFont("Lucida Grande", 14)); | ||
510 | #else | 510 | #else | ||
511 | setGeneralFont(QFont("Noto Sans", 10)); | 511 | setGeneralFont(QFont("Noto Sans Display", 10)); | ||
512 | setMenuFont(QFont("Noto Sans", 10)); | 512 | setMenuFont(QFont("Noto Sans Display", 10)); | ||
513 | setFixedWidthFont(QFont("Hack", 9)); | 513 | setFixedWidthFont(QFont("Hack", 9)); | ||
514 | setToolbarFont(QFont("Noto Sans", 10)); | 514 | setToolbarFont(QFont("Noto Sans Display", 10)); | ||
515 | setSmallFont(QFont("Noto Sans", 8)); | 515 | setSmallFont(QFont("Noto Sans Display", 8)); | ||
516 | setWindowTitleFont(QFont("Noto Sans", 10)); | 516 | setWindowTitleFont(QFont("Noto Sans Display", 10)); | ||
517 | #endif | 517 | #endif | ||
518 | 518 | | |||
519 | m_fontAASettings->defaults(); | 519 | m_fontAASettings->defaults(); | ||
520 | } | 520 | } | ||
521 | 521 | | |||
522 | void KFonts::load() | 522 | void KFonts::load() | ||
523 | { | 523 | { | ||
524 | KSharedConfig::Ptr config = KSharedConfig::openConfig("kdeglobals"); | 524 | KSharedConfig::Ptr config = KSharedConfig::openConfig("kdeglobals"); | ||
▲ Show 20 Lines • Show All 252 Lines • Show Last 20 Lines |