Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

evolution: chinese text with standard font is illegibly pixelated

63 views
Skip to first unread message

Drew Parsons

unread,
Apr 1, 2013, 9:10:02 PM4/1/13
to
I'm finding problems using the standard evolution font with Chinese
text. The evolution version is 3.6.3-1 (Gnome 3). evolution is
configured to "Use the same fonts as other applications", i.e. the Gnome
3 fonts, which are "Sans" for Standard font, and "Monospace" for Fixed
Width Font.

The problem is that the Chinese text is pixelated, rendered in
low-resolution, both in the displayed message and when printed to paper.
It's actually worse when printed, making the text practically illegible.

I do have Chinese fonts installed. iceweasel, for instance, displays and
prints Chinese pages (e.g. www.gov.cn) fine (in a fine and clear,
legible resolution).

The text in the email I'm reading is gb2312 (Simplified Chinese), while
I use an en.UTF-8 environment, but I think the encoding is not the
problem. It reads fine, it's just that the Hanzi characters are rendered
in low resolution.

Have the default Gnome "Sans" and "Monospace" fonts been properly
internationalised? It looks as though evolution is not finding the
Chinese characters in the standard fonts and is making a poor font
substitution.

Hope you can help fix it!

Drew




--
To UNSUBSCRIBE, email to debian-i1...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1364863865.1...@schumann.anu.edu.au

luo.yo...@gmail.com

unread,
Apr 2, 2013, 12:00:03 AM4/2/13
to
谁能帮这位解决一下?evolution里面字体显示非常粗糙(我怀疑用了点阵字体),但是浏览器里的字体显示就非常好,我也不知道是字体的问题还是邮件本身的问题
从我的 Blackberry® 无线手持设备发送
To UNSUBSCRIBE, email to debian-chine...@lists.debian.org

HeChi-Lau

unread,
Apr 2, 2013, 2:00:03 AM4/2/13
to
可能是字体设置不正确,导致使用了fallback字体。检查字体设置,确保是有中文字符的字符集。

-----Original Message-----
To UNSUBSCRIBE, email to debian-i1...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/COL401-EAS24496741C...@phx.gbl

Drew Parsons

unread,
Apr 2, 2013, 3:00:02 AM4/2/13
to
谢谢。我学习汉语,因为不会看都你们的文本。还是有意思,Google的翻译好。

For the non-Chinese speakers, Luo Yong translated my question, and
HeChi-Lau replied that the fallback mechanism for the font must be
failing for Chinese characters.

(my Chinese is not actually good enough to read their writing, but I was
curious to see that Google Translate could actually do a good job here).

HeChi-Lau's comment about the fallback mechanism does sound right. That
probably makes the bug a matter of Internationalisation (ok, i18n)
rather than a specific bug in evolution (if it were related to
evolution, it would be more in the gtk or pango libraries anyway, I
guess).

Looking at the fonts using the Gnome Character Map, Cantarell (Gnome
default font), Sans (Gnome Document font) and Monospace (Gnome
monospace font) all show CJK characters in the "CJK Unified Ideographs"
block, evidently proper OpenType (i.e. clean resolution, not bitmapped).

But that may not be proof that that the fonts themselves have the
characters, since the appearance of the CJK characters in the Gnome
Character Map does not change between these fonts.

It seems, then, that Gnome Character Map satisfactorily performs font
fallback, while evolution does not.

If I copy the Chinese text I wrote above into LibreOffice, it
automatically gets assigned the "WenQuanYi Zen Hei" font. I suspect
this must be the fallback font which Gnome Character Map uses. Oddly,
LibreOffice does not offer me a "Sans" or "Monospace" font. If I assign
them manually, or assign Cantarell, the appearance of the Chinese text
does not change (the same fallback font must still be used in
LibreOffice).

By these tests, it is evolution which has the bug.

Are there other ways to test character fallback in the fonts?

中人们,用Gnome Character Map和用LibreOffice,我的汉子是好。只用
evolution不好。
HeChi-Lau,怎么考fallback?

谢谢,thanks,
Drew


On Tue, 2013-04-02 at 13:47 +0800, HeChi-Lau wrote:
> 可能是字体设置不正确,导致使用了fallback字体。检查字体设置,确保是有中文字符的字符集。
>
> -----Original Message-----
>
> From: luo.yo...@gmail.com
> Sent: 2 Apr 2013 03:56:59 GMT
> To: dpar...@debian.org,debia...@lists.debian.org,pkg-evolutio...@lists.alioth.debian.org,debian-c...@lists.debian.org
> Subject: 答复: evolution: chinese text with standard font is illegibly pixelated
>
> 谁能帮这位解决一下?evolution里面字体显示非常粗糙(我怀疑用了点阵字体),但是浏览器里的字体显示就非常好,我也不知道是字体的问题还是邮件本身的问题
> 从我的 Blackberry® 无线手持设备发送
>



--
To UNSUBSCRIBE, email to debian-i1...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/1364884962.1...@schumann.anu.edu.au

CHEN Xing

unread,
Apr 2, 2013, 4:00:01 AM4/2/13
to
Drew,
Can you please attach a screen shot for the problem you're reporting?

I believe you're right that such display problems have nothing to do
with encoding (gbk/gb2312/utf-8).

I'm not using Debian now, but I believe
/etc/fonts/conf.d/65-nonlatin.conf is generally the right file to look
at. Try to move WenQuanYi Zen Hei (or WenQuanYi Micro Hei) to the
front of the list of "preferred" alternatives for "serif" and
"sans-serif" fonts.


CHEN Xing / 陈醒


2013/4/1 Drew Parsons <dpar...@debian.org>:
> To UNSUBSCRIBE, email to debian-chine...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> Archive: http://lists.debian.org/1364884962.1...@schumann.anu.edu.au
>


--
To UNSUBSCRIBE, email to debian-i1...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAMoP+xoXj2v+B6Kf6TS6NLOm...@mail.gmail.com

HeChi-Lau

unread,
Apr 2, 2013, 7:20:03 PM4/2/13
to
I'd experienced such situation in opera web browser.there's a temporary way to solve this problem,replace the font file with the font file which included Chinese characters.and you can try to find the options related to charset and font.I've never used evolution .:)


-----Original Message-----
Archive: http://lists.debian.org/CAMoP+xoXj2v+B6Kf6TS6NLOmkTYZowqCOOJ4CMJm=4yG...@mail.gmail.com


--
To UNSUBSCRIBE, email to debian-i1...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/COL401-EAS4691B1B26...@phx.gbl

CHEN Xing

unread,
Apr 2, 2013, 11:40:01 PM4/2/13
to
I guess you're not using the font "Monospace" in Gnome Character Map or
LibreOffice.

I suggest you adding the WenQuanYi Zen Hei font in the Monospace
section of 65-nonlatin. Or, you can probably just remove the Bitmap
Song font..
CHEN Xing / 陈醒


2013/4/2 Drew Parsons <dpar...@debian.org>:
>
> On Tue, 2013-04-02 at 00:49 -0700, CHEN Xing wrote:
>> Drew,
>> Can you please attach a screen shot for the problem you're reporting?
>
> Attached is a screenshot and the Print-To-File pdf of HeChi Lau's message.
>
>> I'm not using Debian now, but I believe
>> /etc/fonts/conf.d/65-nonlatin.conf is generally the right file to look
>> at. Try to move WenQuanYi Zen Hei (or WenQuanYi Micro Hei) to the
>> front of the list of "preferred" alternatives for "serif" and
>> "sans-serif" fonts.
>>
>
> It's a bit confusing. Swapping entries
> in /etc/fonts/conf.d/65-nonlatin.conf doesn't seem to make any
> difference to the evolution display.
>
> (I copied the symlinked 65-nonlatin.conf to 66-nonlatin.conf and then
> deleted 65-nonlatin.conf. I tried to invoke the font changes with
> "dpkg-reconfigure fontconfig" ).
>
> In the evolution preferences I can change the display. The main text of
> the email is set by the Monospace font. The Standard Font is used for
> the Subject line. It's not clear which monospace font is used as
> fallback. It looks like WenQuanYi Bitmap Song (can see that in Gnome
> Character Map), but there's no WenQuan entry in the monospace section in
> 65-nonlatin.conf.
>
> If /etc/fonts/conf.d/65-nonlatin.conf were the problem, then why would
> the fallback fail only in evolution, not in Gnome Character Map or
> LibreOffice?
>
>
>
>
>
>


--
To UNSUBSCRIBE, email to debian-i1...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/CAMoP+xo3LGykJCSsU+e_NOk3...@mail.gmail.com

Roy.L

unread,
Apr 3, 2013, 3:00:03 AM4/3/13
to
Maybe it's font Anti-Aliasing's problem. Try this :)

$ cat ~/.fonts.conf

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!--  Enable sub-pixel rendering --> 
  <match target="font">
    <edit name="rgba" mode="assign"><const>rgb</const></edit>
  </match>
  <match target="font">
    <edit name="antialias" mode="assign">
      <bool>true</bool>
    </edit>
  </match>
    <match target="font">
    <edit name="hinting" mode="assign">
      <bool>true</bool>
    </edit>
   </match>
  <match target="font">
    <edit name="hintstyle" mode="assign">
      <const>hintslight</const>
    </edit>
   </match>
    <match target="font">
    <test name="weight" compare="more">
        <const>medium</const>
    </test>
    <edit name="autohint" mode="assign">
        <bool>false</bool>
    </edit>
    </match>
    <match target="font">
    <edit mode="assign" name="lcdfilter">
      <const>lcddefault</const>
    </edit>
  </match>
</fontconfig>



2013/4/3 CHEN Xing <cxcx...@gmail.com>
>
>
>
>
>
>


--
To UNSUBSCRIBE, email to debian-chine...@lists.debian.org

with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
0 new messages