Ignore:
Timestamp:
01/29/14 12:22:33 (10 years ago)
Author:
jts21
Message:

Move resource extraction out of CreateDefaultProfile, since resources need to be extracted prior to frame loading in order to ensure custom fonts are loaded

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Browser.java

    r777 r781  
    225225                String userName = UserSettings.ProfileName.get();
    226226                //UserSettings.UserName.set(UserSettings.ProfileName.get());
     227               
     228                // Load documentation and start pages
     229                FrameUtils.extractResources(false);
     230                // Load fonts before loading any frames so the items on the frames will be able to access their fonts
     231                Text.InitFonts();
    227232
    228233                Frame profile = loadProfile(userName);
     
    283288                       
    284289                        Settings.Init();
    285                        
    286                         Text.InitFonts();
    287290
    288291                        DisplayIO.Init(this);
Note: See TracChangeset for help on using the changeset viewer.