[Bug 529594] pango uses different fonts for LATIN and COMMON glyphs

bugzilla at redhat.com bugzilla at redhat.com
Fri Oct 23 02:16:25 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=529594


Peng Huang <phuang at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|                            |needinfo?(besfahbo at redhat.c
                   |                            |om)




--- Comment #21 from Peng Huang <phuang at redhat.com>  2009-10-22 22:16:22 EDT ---
Hi Behdad,

At the begin, I reported this bug is about pango render common script with
different fonts in one document. Especially in Chinese fedora desktop, pango
mixes truetype and bitmap common script chars together (Please see the attach
in comment #1). It looks very weird.

I created a fontconf http://phuang.fedorapeople.org/63-zh_CN.conf. it can force
pango always use  Latin (DejaVu) fonts to render common script in Chinese
desktop. It works very well, and will not affect other languages. But it will
override Latin fonts priority of system for Chinese language, it seems the conf
breaks fedora font config rules.

I also tried another way to fix this problem in pango. the modified pango is in
http://github.com/phuang/pango/commits/master. It will process
PANGO_SCRIPT_COMMON as a real script. And we can modify the
pango_script_for_lang to decide which language fonts can support common script,
and which fonts can not support common script. For zh-*, we could just put
PANGO_SCRIPT_HAN in the table, and then pango will only use Chinese fonts to
render HAN script. It works too.

It is current situation. Please give us some suggestions. Thanks.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-fonts-bugs-list mailing list