After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 221208 - Evolution does not render non-roman fonts
Evolution does not render non-roman fonts
Status: RESOLVED FIXED
Product: GtkHtml
Classification: Other
Component: Rendering
unspecified
Other All
: Normal enhancement
: 1.2.x
Assigned To: gtkhtml-maintainers
Evolution QA team
: 221209 224492 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-03-01 08:23 UTC by Charles Muller
Modified: 2003-07-09 13:44 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
first attempt at fixing the fontset logic. (2.85 KB, patch)
2002-10-28 04:51 UTC, Larry Ewing
none Details | Review

Description Charles Muller 2002-03-01 08:23:44 UTC
Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem: No display of characters outside of the basic ASCII
set in English locale.

Even though the Evolution mailer seems to be able to receive and transmit
utf-8 encoded messages, the non-roman characters, including Japanese,
Chinese, Korean, Greek, diacriticalized characters, etc. do not display.
This is a serious shortcoming if one compares Evolution to competitive
mailers such as Outlook, Mozilla, etc.

Of course, if I set the X Windowing locale to Japanese, or Chinese, or
whatever, I can get proper font support for these languages. But this is
something that should also be supported in English locale.

Regards,

Charles Muller
Comment 1 Jeffrey Stedfast 2002-03-01 18:26:09 UTC
*** bug 221209 has been marked as a duplicate of this bug. ***
Comment 2 Jeffrey Stedfast 2002-03-01 18:28:41 UTC
did you choose an iso-10646 font? (or a font which could display those
characters?)

I think a lot of people forget to do this and so it doesn't display
for them.
Comment 3 Larry Ewing 2002-03-05 17:10:51 UTC
Yes, this is almost certainly a font selection issue
Comment 4 Xavier Cho 2002-07-23 09:03:20 UTC
Maybe my problem is related to this bug. If not, please tell me  so I
can submit a separate bug report for this.

With ko_KR.eucKR locale and proper font setting, Evolution/GtkHtml had
displayed Korean characters without a problem. But after I've
installed the development snapshots of them, I can't make Korean
characters displayed correctly.

I've tried various matches of encodings and fonts, but only clearyu
font seems to fix the problem for a few messages.

Currently, I'm using :

libgtkhtml-1.99.9.0.200207171735-0.snap.ximian.1 and
evolution-1.1.0.99-snap.ximian.200207221643.

Is it anyway related to this bug?
Comment 5 Larry Ewing 2002-08-08 19:33:10 UTC
It is possible, the font selection logic has changed slightly since
the 1.0.x versions.  If can manage to convince gtkhtml to load the
correct fontset it should be able to display the characters properly,
but it is often difficult to get the settings correct.
Comment 6 Larry Ewing 2002-09-23 00:33:10 UTC
how were you specifying the fonts before you switched to 1.1?
Comment 7 Larry Ewing 2002-10-23 16:40:30 UTC
*** bug 224492 has been marked as a duplicate of this bug. ***
Comment 8 Larry Ewing 2002-10-23 16:41:29 UTC
Fontset loading is broken in 1.1 still, need to get this fixed before 1.2
Comment 9 Larry Ewing 2002-10-28 04:51:39 UTC
Created attachment 41684 [details] [review]
first attempt at fixing the fontset logic.
Comment 10 Larry Ewing 2002-10-28 04:52:28 UTC
This should make fontset loading at least partially work again.
Comment 11 yuedong du 2002-11-05 01:48:25 UTC
Until now I know why NotZed said it is "a setting problem".

I have tried tens of fonts, first see if it is iso-10646 font, then 
see if it work.

But I think it should be considered as design problem, or at least a
document problem. I have looked into 1.2 manual, and found nothing to
teach user how to set font.

In mozilla and outlook, I never have such experience.
Comment 12 Larry Ewing 2002-11-05 03:50:18 UTC
It is abosolutely a desgin problem... of gtk-1.2, and it is well known

We have avoided doing too much about it because it is already solved
in the gtk-2 version of gtkhtml and we will have to throw away any
code we write for the gtk-1.2 version.

I'll try to write up a description of how the current code works, it
should be possible to get the fonts working for you, but it takes
extra effort.  If it is important to you then testing the patch would
be helpful, it is in the RC1 packages.  

Comparisons with applications that aren't based on gtk-1.2 are not
particularly helpful.
Comment 13 Pen Ado 2002-11-13 04:06:43 UTC
Japanese text does not display as well (ISO-2022-JP, EUC-JP, SJIS, JIS).
Comment 14 Pen Ado 2002-11-13 04:35:35 UTC
update: Japanese (ISO-2022-JP) displays correctly in Subject lines in
Evoluton 1.2, but the text body does not. Also, it is not detecting
the charset of the message correctly (ie: if the message header says
charset="iso-2022-jp" it stays with unknown, even if the default is
set to iso-2022-jp.
Comment 15 Larry Ewing 2003-07-09 13:44:46 UTC
This is fixed in 1.4 via pango