xnote icon indicating copy to clipboard operation
xnote copied to clipboard

Allow to change the font size of notes more easily

Open froilo opened this issue 5 years ago • 5 comments

Although this is possible to change the font size of the notes through userChrome.css, this requires quite some technical skills.

froilo avatar Dec 08 '20 20:12 froilo

Although this is possible to change the font size of the notes through userChrome.css, this requires quite some technical skills.

The font used is not easy to read (see screenshot). Can it be replaced with a commonly used regular font? If this can be done in userChrome.css, I'd appreciate an example of the code.

Image

akwala avatar Apr 22 '25 02:04 akwala

Although this is possible to change the font size of the notes through userChrome.css, this requires quite some technical skills.

The font used is not easy to read (see screenshot). Can it be replaced with a commonly used regular font? If this can be done in userChrome.css, I'd appreciate an example of the code.

Image

Things change quite a bit since I looked into this the last time. However, you can change font by adding the following snippet to userChrome.sss in the "chrome" directory (create it, if it does not exist) of your Thunderbird user profile:

#xnote-texte {
  font-family: Arial, Helvetica sans-serif !important;
  font-size: 12pt !important;
}

In order to activate this configuration, you have to set the configuration option toolkit.legacyUserProfileCustomizations.stylesheets to true (button to edit the configuration is on the bottom of the settings page).

Out of curiosity: Which OS are you using? On my Windows computer, XNote is shown in a plain sans-serif font anyway.

froilo avatar Apr 28 '25 17:04 froilo

Out of curiosity: Which OS are you using?

Operating System: Kubuntu 24.04 KDE Plasma Version: 5.27.12 KDE Frameworks Version: 5.115.0 Qt Version: 5.15.13

TB 128.9.1esr (64-bit) XNote++ 4.5.45

akwala avatar Apr 28 '25 20:04 akwala

Thanks @froilo I just installed xnote and wouldn't have been able to use it without your fix; the text was next to impossible to read.

aminahbl avatar May 12 '25 15:05 aminahbl

OS: Linux mint: 22.2 TB 140.4.0esr XNote++ 4.6.51

Same problem as in @akwala screenshot, and trying to solve it with the code for userChrome.css, but nothing happens... Wouldn't it be easier to have a "font selection" in the XNOTE settings? I don't want to be disrespectful, but wouldn't there be an easy fix/update to the extension being able to change the font?

Shaka-60hp avatar Nov 02 '25 14:11 Shaka-60hp