搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why does Html font sent via TB change when received by OE?

  • 8 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 maberly

more options

As tests, while trying to setup of TB as I wish, I am sending myself html email, font = Tahoma 12 point, and then receiving it on two different computers, into two different email clients -- TB on one, and Outlook Express 6 on the other.

From OE to OE and also to TB: no problems -- fonts show up exactly as sent.

From TB to TB and OE: no problem when coming back to TB, but FONT CHANGES WHEN RECEIVED BY OE (to Times Roman -- a serif font, when a sans serif was composed!).

The font in question - Tahoma - is considered to be web-safe; not only that, it's the default font on my OE, so I don't understand why OE should have trouble rendering a TB email that uses that font.

I have read, in previous forum posts (from 2006 - 7), that TB does not 'tell' the recipient email client what font it would prefer. Is this true? Can it be changed? (If OE can do it, why can't TB?)

I've read posts where the idea of trying to format email is pooh-poohed; I'm sure there are myriad technical impediments involved (sure seems like it, at least with TB), but this is 2015 -- people use email for business, not just recreation, and presentation is very important in such communications.

BTW: I have checked my OE settings, to see if there is anything that would determine the font displayed on incoming emails, but I can't find anything to that effect. Tahoma is the default font there.

I'd really like to know what's causing this! I thought I was on the verge of solving this email migration/trek. . .

Thanks, in advance, for any help!

As tests, while trying to setup of TB as I wish, I am sending myself html email, font = Tahoma 12 point, and then receiving it on two different computers, into two different email clients -- TB on one, and Outlook Express 6 on the other. From OE to OE and also to TB: no problems -- fonts show up exactly as sent. From TB to TB and OE: no problem when coming back to TB, but FONT CHANGES WHEN RECEIVED BY OE (to Times Roman -- a serif font, when a sans serif was composed!). The font in question - Tahoma - is considered to be web-safe; not only that, it's the default font on my OE, so I don't understand why OE should have trouble rendering a TB email that uses that font. I have read, in previous forum posts (from 2006 - 7), that TB does not 'tell' the recipient email client what font it would prefer. Is this true? Can it be changed? (If OE can do it, why can't TB?) I've read posts where the idea of trying to format email is pooh-poohed; I'm sure there are myriad technical impediments involved (sure seems like it, at least with TB), but this is 2015 -- people use email for business, not just recreation, and presentation is very important in such communications. BTW: I have checked my OE settings, to see if there is anything that would determine the font displayed on incoming emails, but I can't find anything to that effect. Tahoma is the default font there. I'd really like to know what's causing this! I thought I was on the verge of solving this email migration/trek. . . Thanks, in advance, for any help!

被選擇的解決方法

As far as I'm aware and this is how it works on my computer.

If you set the default font in Options, then when composing, it will appear to use that font. But if you check the source of a sent mesage you will see that no font is mentioned which means the recipients personal choice of how they want to see the message will prevail.

However, if you compose the message, then highlight the text and choose a font from the drop down available, then a defined font is specified. If the recipient is allowing messages to use other fonts and that font is available on their computer, then it will be display.

Test: I set Tools > Options > Display > Formatting default font 'courier new'. I set the 'Advanced' to 'Allow messages to use other fonts'

Write new message. In first composed line of text I used whatever was auto selected when I started typing, which was Courier new.

I wrote a second line and then highlighted text and selected 'Times new roman'. Sent the email to myself.

When it arrived, the first line was courier because that is the chosen default display font, but because I allow other fonts that the sender set, I see the second line using Times new roman.

If I then go back into Tools > Options > Display > Formatting and click on 'Advanced' then uncheck 'Allow mesages to use other fonts'. Low and behold - all the text in the received message has now changed to my default display setting - Courier New.

So, it depends upon where you are specifically setting a font using the Formatting Bar and also it depends upon whether the recipient is allowing the use of other fonts. It will of course depend upon whether the recipient actually has the font available otherwise it will use what is available.

從原來的回覆中察看解決方案 👍 0

所有回覆 (8)

more options

In the past, I have found that Thunderbird "forgets" to name the font in use, leaving it to the recipient's client to use its own default font. That is often Times New Roman in OE (but I don't know where it is set.) Just as you report.

However, today, I am unable to create an email message lacking a font declaration. I don't know what's changed. I would note that the font it is declaring isn't the one that appears in the formatting box in the composition window. (My message internally states Arial/Tahoma/sans-serif, but the default in Thunderbird's composition window is Liberation Sans.) So it's still operating strangely, though in a roundabout way it's applying a sans-serif font as wished for.

You could try saving an HTML-formatted message in Drafts, then view its source using ctrl+u and see if you can spot any font declaration. And you could see if explicitly applying a font makes any difference.

由 Zenos 於 修改

more options

Zenos said

. . .You could try saving an HTML-formatted message in Drafts, then view its source using ctrl+u and see if you can spot any font declaration. And you could see if explicitly applying a font makes any difference.

Thank-you for your interest, and for looking into this yourself, Zenos -- I appreciate it! (But I wonder how an important feature such as this hasn't been addressed, after all these years. . . It's a serious flaw.)

I've looked at the source info, but I only understand a bit of it. It looks, to me, like there is no font declaration in the source. There's also a strange reference to "text/plain", even tho' it's all html.

Would you mind if I were to send it to you as a private message? (Not sure if this forum permits that, tho'). Or, if it's better to upload it so that everyone can see it, please tell me which parts of the source code you need -- I can then omit the stuff that shouldn't be out on its own in big, bad cyberspace.

more options

I think first things first... you mention sizes in points. Thunderbird uses pixels, not points so fonts will be about 30% smaller than you would otherwise expect.

more options

Matt said

I think first things first... you mention sizes in points. Thunderbird uses pixels, not points so fonts will be about 30% smaller than you would otherwise expect.

Thanks, Matt. I realized that, having seen the TBird page that gives a rough co-relation between points and pixels (px = 1.5pt, approximately, it said).

more options

BTW: I just tried to post a non-related question, and was blocked from posting it by an "Access Denied" page. Was it something I said? Too many questions?

My new question asked if anyone knows of a free, online, email client preview service, where I could test how my TBird setup looks in other email clients.

more options

選擇的解決方法

As far as I'm aware and this is how it works on my computer.

If you set the default font in Options, then when composing, it will appear to use that font. But if you check the source of a sent mesage you will see that no font is mentioned which means the recipients personal choice of how they want to see the message will prevail.

However, if you compose the message, then highlight the text and choose a font from the drop down available, then a defined font is specified. If the recipient is allowing messages to use other fonts and that font is available on their computer, then it will be display.

Test: I set Tools > Options > Display > Formatting default font 'courier new'. I set the 'Advanced' to 'Allow messages to use other fonts'

Write new message. In first composed line of text I used whatever was auto selected when I started typing, which was Courier new.

I wrote a second line and then highlighted text and selected 'Times new roman'. Sent the email to myself.

When it arrived, the first line was courier because that is the chosen default display font, but because I allow other fonts that the sender set, I see the second line using Times new roman.

If I then go back into Tools > Options > Display > Formatting and click on 'Advanced' then uncheck 'Allow mesages to use other fonts'. Low and behold - all the text in the received message has now changed to my default display setting - Courier New.

So, it depends upon where you are specifically setting a font using the Formatting Bar and also it depends upon whether the recipient is allowing the use of other fonts. It will of course depend upon whether the recipient actually has the font available otherwise it will use what is available.

more options

If I then reset the default to another font eg: Arial, and allow other users fonts, in my received message, the first line will change to display in Arial and the second line will display as times new roman. If I remove the option/ uncheck 'Allow messages to use other fonts'. then all the displayed font in received message is now Arial, eventhough I wrote it using courier new and Times new roman.

So, the recipient can choose to have full control over what they see. This is useful because:

  • some people choose fonts that are not easy to read
  • recipient may need clear choice of font, colour and size due to eye sight reasons
  • the font is not installed on receipients computer.

btw I can also change the colour used.

Ok this has been tested using Thunderbird, but I would expect this facilty on other email clients.

more options

Very clear explanation, Mr. Hall, and useful to keep in mind, should I encounter any future problems. Thank-you!