Summary: | fontconfig do hint Chinese fonts well (/etc/fonts/fonts.conf error) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yi-Shin Li <ysli> |
Component: | [OLD] Library | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | major | CC: | bug-wranglers, nakano, seo, ysli |
Priority: | Normal | ||
Version: | 1.4_rc1 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Yi-Shin Li
2002-12-21 08:25:28 UTC
Nakano, can you confirm this for Japanese fonts please? <!-- We can't hint CJK fonts well, so turn off hinting for CJK fonts. --> <match target="font"> <test name="lang" compare="contains"> <string>ja</string> </test> <edit name="hinting" mode="assign"> <bool>false</bool> </edit> </match> <match target="font"> <test name="lang" compare="contains"> <string>ko</string> </test> <edit name="hinting" mode="assign"> <bool>false</bool> </edit> </match> <match target="font"> <test name="lang" compare="contains"> <string>zh</string> </test> <edit name="hinting" mode="assign"> <bool>false</bool> </edit> </match> -------------- Looks like Keith and co turned it off by default ... Seo, can you test Korean fonts please? Btw, that page display fine here without editing fonts.conf ... my korean ttf fonts work well without enabling the hinting feature, and your chinese fonts seem to have the correct hinting information with them, which is why they are better with enabling it. >Btw, that page display fine here without editing fonts.conf ... maybe that is because we have different Chinese TTF configuration. What is your font configuration? In my mozilla, the "Traditional Chinese Font" is "PMingLiU", which is copied from MSWin2K(mingliu.ttc). The followings are the screenshots that took from mozilla: tw.yahoo.com with "zh" hinting (200% text room): http://cottonclub.ee.columbia.edu/~ysli/hint-zh-tw.yahoo.com.png tw.yahoo.com without "zh" hinting (200% text room): http://cottonclub.ee.columbia.edu/~ysli/nohint-zh-tw.yahoo.com.png the Chinese Font configuration: http://cottonclub.ee.columbia.edu/~ysli/mozilla-font-conf.png Didnt specify specific chinese fonts .. just let it use site specified ones still an issue? please test with latest fontconfig fontconfig-2.2.1 mozilla-1.5 The Chinese Font Problem has been solved. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22) ================================================================= System uname: 2.4.22 i686 AMD Duron(tm) Processor Gentoo Base System version 1.4.3.12 distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabd] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/sha/config /var/bind /usr/X11R6/lib/X11/xkb /opt/tomcat/conf /usr/kde/3.1/share/cfig /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /r/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ http://gentooregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo http:csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm foomaticdb libg++ mad mikmod pdflib xmms xv zlib gtkhtml gdbm berb slang readline tetex svga guile sdl gpm tcpd pam python imlib qt motif snmp r -sse 3dnow mmx kde gnome alsa bonobo -cups lprng mozilla truetype dvd jpeg g avi mpeg encode quicktime opengl directfb esd nls nas arts perl tcltk java crt xfs ssl mozsvg mozcalendar mozinterfaceinfo mozp3p mozxmlterm moznocompose o oggvorbis ncurses X libwww png gtk gtk2 lcms tiff xml2 -ldap mysql imap maild sasl postgres ofx hbci doc spell cjk" You might close this bug, it's solved now! |