Jan, thanks for responding.
It isn't a surprise this is the case. It is a huge problem in the web
viewing component genre in general. At this point, I can only use
firefox on Linux and Windows with any reliability (and thus thunderbird
since it shares the components).
Since the mozilla foundation is losing any interest in thunderbird and
it is growing unstable over time, I really would appreciate options. I
am a software developer myself and attempting to get my head into the
accessibility APIs out there and maybe wrestle something out that is useful.
I'll try the CSS but honestly only a small percentage of emails are
plain text anymore. Then you run into the wrapping and/or scrolling
issues with overly large fonts and "quoting". This is why as I lose my
vision, I'm relying on TTS more since it is more restful/comfortable and
far faster than I.
Would you happen to know of a usable example of something using
QWebEngine? I could give it a test spin to see how it behaves. I'm
getting interested in Qt again (used to do some in the version 2.x - 3.x
days) due to its cross platform accessibility API and bridging (Mac OS
is still immature from my reading).
Regarding QWebView and zooming, that would be helpful too. It is my
experience that it should be persistent (with a way to reset to
normal). For usual users, the "evil" email will be handled with it but
then too big for the rest (thus needing a reset). But for someone like
myself, having to adjust *every* time is truly maddening.
Regards,
Dan
On 05/21/2016 08:15 AM, Jan Kundrát wrote:
(Folks, please Cc Dan on follow-up e-mails, he isn't subscribed to the
list.)
Hi Dan,
thanks for your interest in Trojita. I'm afraid that the big
limitation is going to be our use of QtWebKit which apparently [1]
doesn't really support many accessibility features :(. We will switch
to QWebEngine, eventually, but nobody is working on it right now.
In general, we respect your system's settings about the chosen
monospace font and the prefered font sizes. If the systemwide settings
do not work for you for some reason, you can try making the font
larger by adding a custom CSS stylesheet. Try puting something like
this this into your ~/.local/share/flaska.net/trojita/message.css :
pre { font-size: 32pt; }
Note that this only affects plaintext e-mails. It seems that we do not
currently have a way of adding a custom stylesheet for HTML e-mails
(patches welcome).
Finally, the QWebView supports its own native zooming. I guess that we
should add support for using that -- this could be very handy with
"evil" HTML e-mails which deliberately specify too small font sizes.
Do you think that this zoom setting should be made persistent?
Cheers,
Jan
[1] https://bugreports.qt.io/browse/QTBUG-33551