This observation is valid also for proportional fonts, although obviously more problematic for monospaced fonts
> If I use fixed-width font (i.e. Droid Sans Mono) that does not have bold
> version in separate file, some kind of automatic weighting is done,
> and spacing between regular and bold font is ruined. This is obviously
> undesirable when user selects fixed-width font:
This is the normal behaviour. If you want fixed-width spacing then
you have to choose fonts and font attributes that match your
preference.
Neil
I guess "issue" is the best word for it. It's not exactly a bug (in
the sense that it seems to be working as designed), but I understand
how it could be seen as undesirable behavior. I believe Neil is
saying that it is either not possible to achieve what you're asking
for, or that it costs too much to implement (in terms of difficulty or
time) for the benefit it provides. So you've just got to make do with
the fonts that have the definitions you need. (Or I suppose you could
implement it yourself, or find a "champion" to implement it for you.)
> Also I'm curious, does this happen on Windows, if
> someone can reply
Yes, it happens in Windows.
John
Exactly. Windows (in my case at least) is responsible this behaviour, and it is logical,
otherwise it would have to add extra spacing to the non-bold version, or compress the bold
one, giving perhaps strange results (and it would need to find in a reliable way that this
font is fixed-width).
Special bold version of fixed-width fonts take this in account, perhaps making them
slightly more condensed.
I removed bold from most of the styles I used a long time ago, because of this issue.
There are similar issues with italics.
I started again to use them once I found good free monospaced fonts with separate bold and
italics versions. Envy Code R is one of them (it supplanted Andale Mono which lacks such
special versions).
--
Philippe Lhoste
-- (near) Paris -- France
-- http://Phi.Lho.free.fr
-- -- -- -- -- -- -- -- -- -- -- -- -- --
[scite] What (monospaced) fonts are people using in Scite?
It started 2009-02-24, and mostly involved Windows users. (I don't
know a good permalink for that; you should be able to search for it.)
There are a lot of good links in that thread. Maybe you'll find
something you like in there.
John
By "this very SciTE issue" I meant the bold rendering of fonts with no
predefined bold version, and how to work around that.
John