Subject: The antialias of ttf-arphic-uming Package: ttf-arphic-uming Version: 0.2.20080216.1-3 Severity: normal Tags: patch
*** Please type your report below this line *** Dear all: My system is debian testing with gnome desktop environment, and some qt-based programs, such opera, are also installed into my system. I have to say that uming work excellent on my system. After I upgrade the ttf-arphic-uming from 0.2.20080216.1-1 to 0.2.20080216.1-3, all font in the qt-based programs are become antialias. When I use the opera to browsing the internet, the chinese font in the web content will become too blurred for me to browse the web. What followed is the comparsion image by using the opera Original (uming-orignal.png): http://xpenguin.myweb.hinet.net/temp/uming-orignal.png upgraded (uming-updated.png): http://xpenguin.myweb.hinet.net/temp/uming-updated.png By original, the chinese font in the web content window is not antialiased and the chinese is clear to read and browse. After upgrading, the chinese in the web content will become blurred because the antialias is enable. In the GTK-based programs, such as icewease or gedit, the chinese font in the web content window are non-antialiased and chinese fonts are clear to read, as same as the "uming-orignal.png"; But in qt-base program, such as opera, fonts includes toolbar, content window, ... and so on, are antialiased, such the "uming-updated.png" shown. Why and what make this difference? It really confused me... ============================================================================ By tracing the changlog, the file "/etc/fonts/conf.avail/25-ttf-arphic-uming-bitmaps.conf" is modified since 0.2.20080216.1-2. It only enable the embedded bitmaps supports of the uming. The original setting for disabling the antialias when the font size less than 17 is discarded. Because of the modification: If the uming is applied as the default chinese font in opera, the chinese fonts in the web content will become blurred because of the antialiase is enable. Not only for the opera web browser, but also for other qt-based program... all the chinese font will be blurred... In my opinion, there should be also a conf file in "/etc/fonts/conf.avail/" to provide the functionality to disable the antialias of uming if its font size is less than 17. And the chinese fonts will be more clear confortable in qt-based programs for user to read. Since uming has the excellent embedded bitmap fonts, I think it is reasonable to provide such the conf file. So I re-add the file "/etc/fonts/conf.avail/15-ttf-arphic-uming-antialias.conf" to disable the antialias of uming if the font size is less than 17, and also make a link in the "/etc/fonts/conf.d/". =========== /etc/fonts/conf.avail/15-ttf-arphic-uming-antialias.conf =========== <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <test name="family" compare="contains"> <string>AR PL UMing</string> </test> <test name="pixelsize" compare="less_eq"><int>17</int></test> <edit name="antialias" mode="assign"><bool>false</bool></edit> <edit name="hinting" mode="assign"><bool>true</bool></edit> </match> </fontconfig> ================================================================================ Now the chinese font in the web content are become clear again. -- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages ttf-arphic-uming depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii defoma 0.11.10-0.2 Debian Font Manager -- automatic f ii dpkg 1.14.25 Debian package management system Versions of packages ttf-arphic-uming recommends: ii fontconfig 2.6.0-3 generic font configuration library ii x-ttcidfont-conf 32 TrueType and CID fonts configurati ttf-arphic-uming suggests no packages. -- no debconf information

