Difference between revisions of "Font"

From BotF2-Wiki
Jump to: navigation, search
(Created page with "== Intro == At the moment it's not directly possible to use other fonts. They are hardcoded. By installing Visual Studio Community version and downloading the >> Source Co...")
 
(Intro)
 
Line 5: Line 5:
 
By installing Visual Studio Community version and downloading the >> [[Source Code]] (both for free), you can change the code:
 
By installing Visual Studio Community version and downloading the >> [[Source Code]] (both for free), you can change the code:
  
- inside the code in SupremacyClient \themes\Dominion\Shared.xaml: In this shared-Files the shared content for all Dominion screens are set.  
+
- inside the code in '''SupremacyClient \themes\Dominion\Shared.xaml''': In this shared-Files the shared content for all Dominion screens are set.  
(In addition in \themes\global.xaml more settings are done which are needed all over the game and each empire - have a look there if you don't find it in Shared.xaml)
+
(In addition in \themes\'''Global.xaml''' more settings are done which are needed all over the game and each empire - have a look there if you don't find it in Shared.xaml)
  
 
* mostly you find definitions for
 
* mostly you find definitions for

Latest revision as of 20:34, 11 November 2017

Intro

At the moment it's not directly possible to use other fonts. They are hardcoded.

By installing Visual Studio Community version and downloading the >> Source Code (both for free), you can change the code:

- inside the code in SupremacyClient \themes\Dominion\Shared.xaml: In this shared-Files the shared content for all Dominion screens are set. (In addition in \themes\Global.xaml more settings are done which are needed all over the game and each empire - have a look there if you don't find it in Shared.xaml)

  • mostly you find definitions for
    • HeaderText
    • Default Text
    • InfoPane (seems to be a typo - InfoPanel)
  • there are definitions for
    • FontFamily (you can type in there any windows font like "Arial")
    • Size
    • Bold or normal or similar
    • Colors