[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989831: konsole: Bitmap fonts rendered incorrectly if display scaling is enabled



Hi Tim,

> So e.g. If an application would normally display a graphical element
> with a font which renders at 10 pixels-tall, then when I have a global
> scale set to 150%, instead it would try and use font which renders at 15
> pixels-tall.

Maybe, I am not sure here. Another interpretation is that you asked for
10pt and you will get 10pt, whatever the scaling is.
But let us leave that for now.

> I'm assuming that konsole would select a larger font in this case
> (perhaps it's trying to, but it can't because of #989834, or perhaps the
> rendering pipeline just doesn't allow this sort of decision to be made).

I don't know either. I actually tried to get pixmap fonts working, but
found out they are all disabled on the fontconfig level, and only the
terminus is available because it hides as open type font.

> The thing that gives me eye strain is anti-aliasing (having spoken to an

Ok, but that can be turned off.

> more of a problem for me before I switched to higher resolution
> displays), there is some mention of it in section 3.3 of this paper:

Interesting, thanks for the pointer.

> Vector fonts don't give me eye fatigue when anti-aliasing is disabled,
> and this is a good second best (since konsole includes an option to
> disable this, presumably because this is a reasonably common request).
> 
> Unfortunately with anti-aliasing disabled, the vector fonts look lower
> quality.  e.g. see attachment which shows terminus vs noto mono (from
> konsole screenshots of both typefaces).  The vector fonts are not
> unusable, they're just not as good when rendered like this.

Hmm, this looks a bit like hinting is turned off. I agree that the pixel
font looks better and clearer, but I would expect that this can be
recreated with proper hinting.

> I've found I can workaround this issue by disabling scaling in konsole

Good to hear.

Seriously, I don't really know what to make with that. I really would
like to help you here, but there are lot of parts invovled: freetype,
fontconfig, Qt, konsole, ... and whatever I have forgotten.

I feel with you, since I have really bad eyesight, too, and always need
to adjust fonts and everything to my comfort, but here I am out of
ideas.

I would suggest to submit a bug/issue directly to the konsole tracker of
upstream, and see what the upstream author thinks about and where one
would have to start hunting down better solutions for this.

Best

Norbert

--
PREINING Norbert                              https://www.preining.info
Fujitsu Research  +  IFMGA Guide  +  TU Wien  +  TeX Live  + Debian Dev
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


Reply to: