Closed
Bug 82815
Opened 24 years ago
Closed 22 years ago
Need font download dialog for Mail
Categories
(MailNews Core :: Internationalization, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: ji, Assigned: nhottanscp)
References
Details
(Keywords: intl)
This bug is seperated from bug 82786.
Font download dialog has been implemented for browser, we need this for Mail as
well. Besically when the user has a mail in his/her mailbox which needs extra
fonts to view the mail, the font download dialog should be poped up.
We might need to consider the following things:
1. When does the user should get this dialog?
At the moment when the subject is shown on the thread pane or when the user
actually select the mail to view it.
2. If we pop up the dialog as soon as the thread pane shows the subject, if the
mailbox contains the mails which use different languages, should we pop up the
dialog several times to be able to show all the subjects correctly?
3. For the mails w/o MIME header, should we use folder charset to decide if we
need to pop up the dialog?
Assignee | ||
Comment 1•24 years ago
|
||
Mail uses the same layout engine to display. Roy, why it's not working for mail?
Is there a browser specific code to hook up the download dialog?
Keywords: intl
Comment 2•24 years ago
|
||
Here is a comment from 82786:
===========================================================
The display mLanguage in nsTextFrame is
"x-western" despite the fact that the MIME content type is "euc-kr".
===========================================================
The above occured while reading a Korean email.
>Is there a browser specific code to hook up the download dialog?
No. The Font download dlg is generic. dlgbox will be displayed
once the nsIFontPackageService calls ::NeedFontPackage().
The font detection code (nsIFontPackageService) is also generic.
Hope this helps.
Assignee | ||
Comment 4•24 years ago
|
||
In order to detect which font to download, language information is needed.
It looks like the language information is usually derived from charset.
But in case of UTF-8, language seems to be set mapped to "x-western".
This is a generic problem of documents with Unicode charsets but most noticeable
for mail since it always sends text to layout as UTF-8.
Assignee | ||
Comment 5•24 years ago
|
||
Language information may be specified by using "LANG" attribute in libmime.
But we can not always get a correct language. Mozilla internal name like
"x-western" should not be sent to the layout. So need some kind of mechanism to
distinguish non internal language names.
Other possibility is to duplicate the font checking code from gfx to libmime.
Either case the change is non trivial.
I don't know if font download in mail is useful. Unlike web pages which the user
goes to the pages, mails are sent to the user. Some mails are not desired like
spam mail. It would be annoying to see the font download dialog for the mails
you don't really want to read.
Assignee | ||
Comment 7•24 years ago
|
||
Yes, that I mentioned about language which actually is derived from MIME charset.
Assignee | ||
Updated•23 years ago
|
Status: NEW → ASSIGNED
Comment 10•23 years ago
|
||
==== cc'ing jbetak@netscape.com ====
Comment 11•23 years ago
|
||
marking nsbranch- as per Frank's comment
Assignee | ||
Comment 12•23 years ago
|
||
WFM, probably enabled by the change of attaching a lang attribute for message view.
see bug 128368
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 13•22 years ago
|
||
Naoki, i am reopening this bug : in 08-25-1.0 build on Win2K and Win98 when i
have a clean system without CJK fonts installed and the cjk mail is open there
is no dlgbox requesting the font download, i see one if go to Browser (for ex.
follwing the link in mail). Nominating
Assignee | ||
Comment 14•22 years ago
|
||
This was enabled once but many people disliked that, so it turned off.
We do not plan to turn it on again for mail.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → WONTFIX
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•