• KMail: fonts in message view look "rough" (was: Re: KDEPIM with SQLite3

    From Martin Steigerwald@21:1/5 to All on Sun Dec 22 12:30:01 2024
    Hi Frank, hi.

    Frank Mehnert - 22.12.24, 09:47:41 MEZ:
    Unrelated topic: Since kmail was upgraded, the fonts in the message view
    look "rough". See attached part of a screenshot (sorry for the
    attachment). Doesn't matter if I use the fixed font (Hack) or the
    normal one (Noto Sans). In the font setting dialog both fonts look
    smooth!

    Strange.

    Just looks fine here.

    Even with fractional scaling 150%.

    Hmm, but for some reason I do not have the Noto Sans default font but a
    font called "Inter". Ah, I may have switched to it for seeing whether its readability is better than the default. But I did not even have it
    installed, so it may have used the default Noto Sans anyway. I bet I hadf
    it installed previously, but for some reason it has been removed. I now installed it. Let's see.

    Anyway… it is just looking fine. Yours look like probably anti aliasing disabled? I have it enabled with RGB sub pixel rendering. And Hinting set
    to "light". Ah, but I also have force DPI for fonts set to 144 dpi. It is
    not recommended to set it here, but it may have been set automatically as
    I configured fractional scaling.

    Well at least now you have some settings to look at and fiddle around with
    to see whether some can fix your issue. It is still quite confusing. The amount of different settings you have there.

    But it also looks fine with the Hack 10 pt font I have for fixed width (toggable with "X" key by default).

    I still run Plasma on X11. Are you on Wayland?

    Best,
    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Sun Dec 22 12:40:01 2024
    Martin Steigerwald - 22.12.24, 12:28:44 MEZ:
    Hmm, but for some reason I do not have the Noto Sans default font but a
    font called "Inter". Ah, I may have switched to it for seeing whether
    its readability is better than the default. But I did not even have it installed, so it may have used the default Noto Sans anyway. I bet I
    had it installed previously, but for some reason it has been removed.
    I now installed it. Let's see.

    Looks fine with "Inter" font installed as well. Actually I am happy I installed it again. Contrast is clearer. Subjectively I find this is more readable than Noto, but of course your mileage may vary.

    Anyway… it is just looking fine. Yours look like probably anti aliasing disabled? I have it enabled with RGB sub pixel rendering. And Hinting
    set to "light". Ah, but I also have force DPI for fonts set to 144 dpi.
    It is not recommended to set it here, but it may have been set
    automatically as I configured fractional scaling.

    Also works fine with just fractional scaling set to 150%. But haha, it
    again set it to force DPI for fonts set to 144 dpi. So I bet it is automatically setup this way by setting fractional scaling to 150%. When I
    set scaling to 100% force DPI is not set.

    Again this is on X11.

    Best,
    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Sun Dec 22 14:10:01 2024
    Martin Steigerwald - 22.12.24, 12:28:44 MEZ:
    Frank Mehnert - 22.12.24, 09:47:41 MEZ:
    Unrelated topic: Since kmail was upgraded, the fonts in the message
    view look "rough". See attached part of a screenshot (sorry for the attachment). Doesn't matter if I use the fixed font (Hack) or the
    normal one (Noto Sans). In the font setting dialog both fonts look
    smooth!

    Strange.

    Just looks fine here.

    Even with fractional scaling 150%.

    Wait a moment.

    With "Inter" font… not sure whether it is font independent at all when I scroll with the mouse wheel in the mail I see a similar effect to what you have in your screenshot in one line of the text at one scroll step. Once I scroll a step up and down the line looks normal again. I can reproduce
    this with several mails.

    But it is just in one line and it appears as if two lines of pixels are squeezed into one line of pixels.

    But still, there is something odd there. Maybe in my case it is just some rounding issue with fractional scaling. Your screenshot looks like if anti aliasing is completely off.

    Best.
    --
    Martin - please no carbon copy to me

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Sun Dec 22 17:00:01 2024
    Frank Mehnert - 22.12.24, 16:52:23 MEZ:
    Yes, I'm on Wayland. Actually I'm on Wayland for some months and
    everything I need works fine. So I was on Wayland also before
    upgrading to the new kmail version. Will try X11 as well.

    With X11 it looks fine, also with 150%. But still, it's weird that the composer window looks fine on Wayland, it's only the message pane where
    the fonts don't look correct.

    I will try more things, thanks for the suggestions.

    You could look whether there is some upstream issue reported about this.

    I am not sure whether it could be packaging related as well.

    At another idea: Did you set some different font or something like this in KMail specific font settings if applicable?

    How is it on a new user account?

    Any of the other settings I mentioned doing any difference to the better?

    Really weird.

    Best,
    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dietz =?UTF-8?B?UHLDtnBwZXI=?=@21:1/5 to All on Sun Dec 22 17:06:37 2024
    Am Sonntag, 22. Dezember 2024, 16:58:01 MEZ schrieb Frank Mehnert:
    On Sonntag, 22. Dezember 2024 14:04:35 MEZ Martin Steigerwald wrote:
    Martin Steigerwald - 22.12.24, 12:28:44 MEZ:
    [...]
    But still, there is something odd there. Maybe in my case it is just some rounding issue with fractional scaling. Your screenshot looks like if anti aliasing is completely off.

    Anti aliasing is enabled, and everything else (including the kmail composer window) looks OK.

    I have the same effect and Akregators message view shows the same. Wayland, fractional scaling.

    But here, the problem seems not to be related to the kmail version. Iirc it started when I updated to Plasma 6.2 (from experimental then) somewhen in October I think.

    When using X11, rendering is ok.

    Regards,
    Dietz
    -----BEGIN PGP SIGNATURE-----

    iHUEABEKAB0WIQRXLjFJrGUqrtIn2lCong32mc4SfAUCZ2g5DQAKCRCong32mc4S fP80APwPKeIkLlF8ZaQQBoJsax+W9vGmBZhDr02PJyumuWFosAD+Jj0NChDrncdb 7qehS2jHQXlLj+cN8j53nG2yLlU0CEI=
    =emUh
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Martin Steigerwald@21:1/5 to All on Sun Dec 22 18:00:06 2024
    Frank Mehnert - 22.12.24, 17:51:59 MEZ:
    Just to confirm: Same kmail font problem with a virgin KDE account
    (still Wayland).

    Could be some upstream issue. Did you look in their bug tracker / forum?

    I did not see anything on the kdepim-users mailing list but I did not
    follow it closely in the last weeks.

    --
    Martin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dietz =?UTF-8?B?UHLDtnBwZXI=?=@21:1/5 to All on Mon Dec 23 14:08:52 2024
    Am Sonntag, 22. Dezember 2024, 18:16:38 MEZ schrieb Frank Mehnert:
    On Sonntag, 22. Dezember 2024 17:57:40 MEZ Martin Steigerwald wrote:
    Frank Mehnert - 22.12.24, 17:51:59 MEZ:
    Just to confirm: Same kmail font problem with a virgin KDE account
    (still Wayland).

    Could be some upstream issue. Did you look in their bug tracker / forum?

    I did not see anything on the kdepim-users mailing list but I did not follow it closely in the last weeks.

    I think it's this issue:

    https://bugs.kde.org/show_bug.cgi?id=482128

    For now I added

    QT_SCALE_FACTOR_ROUNDING_POLICY=RoundPreferFloor

    That also fixes my akregaror issue - thanks alot for sharing! oO(I searched
    for that months ago but did not find it.)

    Kidnest regards
    Dietz
    -----BEGIN PGP SIGNATURE-----

    iHUEABEKAB0WIQRXLjFJrGUqrtIn2lCong32mc4SfAUCZ2lg5AAKCRCong32mc4S fIrYAP9VakA+Ie9Ni3NvKB9FQK+6WKhH3ub3vQrPkx28dFjL/QD/Xxr8f4XQU5u9 62hLkQiu+b0l0JIrpHUDCshlgh/8lrw=
    =zmb/
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)