VirtualBox

Ignore:
Timestamp:
Sep 29, 2015 7:40:08 PM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: Mac OS X: Qt 4.x font fix for El Capitan, native El Capitan font is not available since it's private, using font from Yosemite.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDefs.h

    r57951 r57953  
    102102    MacOSXRelease_Mavericks,
    103103    MacOSXRelease_Yosemite,
     104    MacOSXRelease_ElCapitan,
    104105    MacOSXRelease_New,
    105106};
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r57952 r57953  
    331331        release[13] = MacOSXRelease_Mavericks;
    332332        release[14] = MacOSXRelease_Yosemite;
     333        release[15] = MacOSXRelease_ElCapitan;
    333334
    334335        /* Cut the major release index of the string we have, s.a. 'man uname': */
  • trunk/src/VBox/Frontends/VirtualBox/src/main.cpp

    r57952 r57953  
    377377            case MacOSXRelease_Mavericks: QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande"); break;
    378378            case MacOSXRelease_Yosemite:  QFont::insertSubstitution(".Helvetica Neue DeskInterface", "Helvetica Neue"); break;
     379            case MacOSXRelease_ElCapitan: QFont::insertSubstitution(".SF NS Text", "Helvetica Neue"); break;
    379380            default: break;
    380381        }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette