> For the complete documentation index, see [llms.txt](https://gamelauncher.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gamelauncher.gitbook.io/documentation/customization/customize-news-fonts.md).

# Customize News Fonts

{% hint style="warning" %}
This tutorial requires to open *<mark style="color:purple;">**GameLauncher.sln**</mark>* in Visual Studio

Open the *<mark style="color:green;">**MainWindow\.xaml.cs**</mark>* file
{% endhint %}

{% hint style="danger" %}
**Do not change the SubNews directly in the XAML view. Or it doesn't reflect any change. They are created internally. Use the below tutorial for that.**
{% endhint %}

{% hint style="info" %}
If you want to change other elements displayed like the text content, image, or title, and other elements, please go here -> [Show your News or Changelog](/documentation/how-to-show-news-and-alerts/show-your-news-or-changelog.md)
{% endhint %}

The subnews are created ***internally*** in Game Launcher by the function

* **CreateSubNewsElement ()**

This functions creates the subnews elements in the Launcher Window.

{% hint style="info" %}
**For editing the News, change them directly in the XAML**
{% endhint %}

These are the SubNews (They aren't the same)

<figure><img src="/files/XG4SRFJIgCKnvDggNhzv" alt=""><figcaption><p>SubNews</p></figcaption></figure>

## Assign your own font

### Insert your new font

The default fonts are in the <mark style="color:yellow;">**GameLauncher/Fonts**</mark> folder

In the **Game Launcher Solution Explorer** -> **Right Click on Fonts** -> **Open Folder in File Explorer**

<figure><img src="/files/weAqVuuzoy5qznmI5VFk" alt=""><figcaption><p>Opening Game Launcher Fonts</p></figcaption></figure>

**Move your new font to this folder (.ttf files)**

<figure><img src="/files/iKHhMMi3CbRGjt1gSWT6" alt=""><figcaption><p>Game Launcher Default Fonts</p></figcaption></figure>

When your new font appears in Visual Studio, **Select it**

In the **Propierties Window** set the **Build Action** to **Resource**

![](/files/bgNYtgeLUcNRRsVpoL7m)

### Using the font in the news

Search for the function ***CreateNewsElement () or CreateSubNewsElement ()***

Look for **FontFamiliy** and change the path to ***Fonts/#YourFont***

`FontFamily = new FontFamily (new Uri ("pack://application:,,,/"), "./Fonts/#Dosis"),`

<figure><img src="/files/DOpFBztEkOnC1nH3njrm" alt=""><figcaption></figcaption></figure>
