Bold font style change on Linux Mint
-
I just swapped to Linux Mint today and everything has been going smoothly so far … the problem is that I was running obsidian theme with Courier New as bold on Windows. But when I check the bold option under Settings > Style Configurator > Default Style > Font Style - Bold it doesn’t seem to make a change to the font even after a close and re-open, restart, or font cache clear. I have made sure that the system recognizes the font … seems to just be an issue with notepad++ having reference to the bold variant of the font. That seems odd to me because it has reference to the default font face which I just installed with the
ttf-mscorefonts-installer
package. Any words of wisdom for me? -
The Developer only supports Notepad++ on real Windows, not on Wine. And not many here in the Community Forum use it on Wine.
On Windows, Notepad++'s bold checkbox typically works. However, when you try to pick one of the “weighted” fonts (
XYZ Light
orXYZ SemiBold
), it doesn’t always work, depending on Settings > MISC > DirectWrite choices. I don’t know how bold works in Linux, but if it’s more like theLight
orSemiBold
options do on Windows, then you might need to try each of the DirectWrite settings to see if any of them improve things for you. -
@kapenike maybe double-check the Language that you are editing the default style of; the one for Global Styles applies to plain text, and the Bold box in the Style Configurator seems to work for each language I’ve tried on my Ubuntu 24.04 LTS VM.
-
@PeterJones I know :/ it seems odd to me that the developers choice doesn’t include the greatest IDE to exist. Someone should fix that lol p.s. I see nothing in the app for DirectWrite
-
@mathlete2 welp … you’re right. The bold works for plain text and I just need to get it to work for all languages … nice insight! I just scrolled down to Global override and checked Bold and Force bold choice for all styles
It’s kind of weird to me that default style overrode on windows but not in wine o.O oh whale. Tis fixed
-
This post is deleted! -
@kapenike said in Bold font style change on Linux Mint:
I see nothing in the app for DirectWrite
Settings> Preferences > MISC > DirectWrite Rendering Mode (or, in older versions, ☐ Use DirectWrite (May improve rendering special characters, need to restart Notepad++))
-
@kapenike said in Bold font style change on Linux Mint:
It’s kind of weird to me that default style overrode on windows but not in wine
After I played around with the bold settings on my Linux VM, I tried the same thing on my host Windows machine. I saw the same sort of behaviour there, so I don’t think these settings are unique to Wine.
-
on my host Windows machine. I saw the same sort of behaviour there
Which contradicts the original claim that Windows and Wine were behaving differently. The fact that the original poster implied that Windows did inherit the Bold but said that Wine did not inherit the bold is what was originally confusing.
I originally didn’t know that the original questioner was talking about changing the Language=
Global Styles
> Style =Default Style
Font’s Bold state, but having it not affect the Bold state of a particular Style for a given lexer. But since Global override was needed, then that’s likely what was actually happening.It completely makes sense to me that setting Default Style to bold does not automatically change Language=
C++
> Style=PREPROCESSOR
to also use bold (for example). I wouldn’t expect that, as that doesn’t happen in Windows, either.Which makes me think they were doing an apples-to-oranges comparison – I think that, on Windows, where they implied that it was “working as they expected”, they were either using Plain Text, or they were looking at text which didn’t get styled in that particular lexer; whereas I am assuming when they looked at Wine, they were looking at text which was using a specific lexer’s defined style (which thus doesn’t inherit the BOLD from Default Style). Because both should work the same, given the same circumstances. (When a lexer is in play, most lexers are written in the way that almost nothing – except maybe space characters – inherit from the Global > Default Style settings.)