techee left a comment (geany/geany#4329)

> Isn't there some built-in GTK theme (Adwaita) that provides some sane 
> defaults in case themes miss something? In any case, I can try what happens 
> when I remove the definition of .monospace from the theme I use.

So, unfortunately, the font becomes proportional when `.monospace` is removed 
from the theme. Still, I think it's not such a disaster to have a proportional 
font used for the search entry, and, in addition, from the themes I tested (and 
I have quite a bunch of them from the time when I tried to find something 
suitable to fix https://github.com/geany/geany/issues/3063), all of them define 
`.monospace`. So, personally, I would just go to the "risk" that some theme out 
there doesn't define it - even in this case it will be easy to switch to a 
monospaced font using geany.css.

Apart from that, I updated 
https://github.com/geany/geany-osx/blob/master/prof_gnome_windows_changes.patch 
to use Consolas and added GTK_STYLE_CLASS_MONOSPACE to some more entries 
(except Directory in FIF which to me seems better with proportional font).

I kept
```css
/* adjust the font used in search entries */
/*
#GeanyDialogSearch entry.monospace {
        font-family: monospace;
}
*/
```

in `geany.css` so users have a quick way to adjust the font and I updated the 
documentation accordingly.

This has been tested on Windows with deleted configuration (including 
geany.css) and it works as expected.

Thoughts?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/4329#issuecomment-2966545391
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/4329/[email protected]>

Reply via email to