gnus-outlook-style
gnus-outlook-style copied to clipboard
Font is huge in OWA
When I send mail using gnus-outlook-style
the font seems reasonable when I check it in Outlook. But when I use Outlook Web Access (the web-based Outlook interface) the font is ginormous. It seems to be caused by the following font
tag:
<font face="Helvetica,sans-serif" size="7">
...message content...
</font>
If I use Chrome's dev tools to change that to something like size="3"
it looks better...
I'm not sure where that's being generated (checked the obvious places like the helper formatter program). It might be something that OWA itself is inserting for some reason... I'll keep digging but wanted to see if you knew off the top of your head where that's coming from.
It might come from the muse formatter. You can run it manually on some source text to determine what comes out of it. On 24 May 2015 08:56, "Mitchel Humpherys" [email protected] wrote:
When I send mail using gnus-outlook-style the font seems reasonable when I check it in Outlook. But when I use Outlook Web Access (the web-based Outlook interface) the font is ginormous. It seems to be caused by the following font tag:
...message content...I'm not sure where that's being generated (checked the obvious places like the helper formatter program). It might be something that OWA itself is inserting for some reason... I'll keep digging but wanted to see if you knew off the top of your head where that's coming from.
— Reply to this email directly or view it on GitHub https://github.com/lokedhs/gnus-outlook-style/issues/7.
I verified that the superfluous font
tag is not coming from muse
. I also checked the actual source of a message sent with gnus-outlook-style
and it also doesn't have the font
tag. So it's being inserted at some point by OWA.
Although there might be a workaround to prevent OWA from being dumb (I'll keep looking into it), this is not a problem with gnus-outlook-style
, closing.
If you can figure out an alternative HTML to send that would prevent this, I'll be happy to perform the necessary transform so that that content gets sent instead.
On 29 May 2015 at 12:39, Mitchel Humpherys [email protected] wrote:
Closed #7 https://github.com/lokedhs/gnus-outlook-style/issues/7.
— Reply to this email directly or view it on GitHub https://github.com/lokedhs/gnus-outlook-style/issues/7#event-316856476.
I noticed the above issue too. One observation is that if I double click the message in OWA to open in the new window, then the font looks normal. It looks enormous only in the preview mode (when viewed in the reading pane in OWA).
Did you find put why that happens? And even better, do you have an idea of what to change in the HTML to fix it?
The HTML source was all javascript (only set of script tags) and the email message text was nowhere visible. I did notice one iframe tag with content loading from a link. If you can provide me guidance, I can try to find the erring element.
By the way this is Office365 OWA URL
I haven't been able to use gnus-outlook-style
because of this bug, but I would love to start using it. The bug is likely on Microsoft's side but there's really no path forward for getting that fixed, so hopefully we can work around it here. To that end, I've created a bountysource if anyone else wants to pitch in: https://www.bountysource.com/issues/17142212-font-is-huge-in-owa
For me, this avoids the OWA large font problem:
;; Remove CSS font-size settings to work around an Outlook Web Access ;; bug that causes text to be displayed in a huge ;; font. `outlook-style-src-css' is fine because it uses a relative ;; size setting (90%). ;; ;; https://github.com/lokedhs/gnus-outlook-style/issues/7 (customize-set-variable 'outlook-style-body-css "font-family: Helvetica, sans-serif;") (customize-set-variable 'outlook-style-header-title-css "font-family: Helvetica, sans-serif; font-weight:bold; vertical-align:top;") (customize-set-variable 'outlook-style-header-data-css "font-family: Helvetica, sans-serif;")
If others confirm it works well for them, I can send a pull request to change the customization defaults.
I'm no longer in an Outlook work environment but looks promising!