Kapiainen / Lauhdutin

A Rainmeter skin for launching games.
MIT License
67 stars 8 forks source link

Font and color changes #152

Open Revadike opened 6 years ago

Revadike commented 6 years ago

If one would like to change the font and its color of the slots, what file would I need to edit? Thank you

Edit: Let's make this also into a suggestion to properly add these font settings to the settings panel

BanCrash commented 6 years ago

Hello!

This is not difficult to do only editing one file. However, you will need:

Steps:

  1. In this line pulse Enter and then add this line: 'FontSizeScaler=1',. The result will be like this:

    image

  2. In this line and in this line too replace 'FontSize=#SlotOverlayTextSize#', with 'FontSize=(#SlotOverlayTextSize#*#FontSizeScaler#)',. The result will be like this:

    image

  1. Below the FontSizeScaler added in 1. of the previous step (in this line) add this line: 'FontName=Berlin Sans FB', (replacing Berlin Sans FB with the name of the font you want). The result will be like this:

    image

  2. Below the modified lines in 2. of the previous step (in this line and in this line too) add this line: 'FontFace=#FontName#',. The result will be like this:

    image

  1. With the RGB decimal code (there are webs where you can find RGB code of whatever colour you want to have) go to this line and replace the three first numbers with the code you have, without modifiying the fourth number. For example: 51,153,255 colour will be SlotOverlayTextColor=51,153,255,255. The result will be like this:

    image

Final result:

image

Revadike commented 6 years ago

Thank you a lot for the detailed explanation! Hopefully this will also be useful to other people!

BanCrash commented 6 years ago

You're welcome :wink: