FS#7007 - mkfontscale can't create proper encoding items for chinese truetype fonts
Attached to Project:
Arch Linux
Opened by Jeff Zhang (idealbsd) - Thursday, 26 April 2007, 02:06 GMT
Last edited by Jan de Groot (JGC) - Friday, 27 April 2007, 18:44 GMT
Opened by Jeff Zhang (idealbsd) - Thursday, 26 April 2007, 02:06 GMT
Last edited by Jan de Groot (JGC) - Friday, 27 April 2007, 18:44 GMT
|
Details
mkfontscale can't create proper encoding items for chinese
truetype fonts, like gb2312.1980-0,big5-0 and gbk-0.
Replacing /usr/share/fonts/encoding dir from other distro like Debian/sid won't solve the problem. It also don't work to manual modifying fonts.scale/fonts.dir, as apps will complain `FreeType: can't find encoding gb2312-1980-0....`. The same problem exists in packages like ttf-arphic-uming and ttf-fireflysung, only iso10646-1/iso8859-1.. were created in fonts.dir and the needed ones didn't be created correctly like -misc-ar pl shanheisun uni-medium-r-normal--0-0-0-0-p-0-big5-0 ... pacman -Qi xorg-font-utils Name : xorg-font-utils Version : 1.0.3-1 Groups : None Packager : Arch Linux (http://www.archlinux.org) URL : http://xorg.freedesktop.org/ License : None Architecture : i686 Size : 368317 Build Date : Tue Dec 26 11:53:47 2006 UTC Install Date : Mon Apr 23 06:42:08 2007 UTC Install Script : No Reason: : installed as a dependency for another package Provides : font-util Depends On : gcc libxfont Required By : gsfonts ttf-arphic-uming ttf-bitstream-vera ttf-dejavu ttf-fireflysung ttf-ms-fonts xorg-fonts-100dpi xorg-fonts-misc xorg-fonts-type1 Conflicts With : font-util Description : X.Org font utilities |
This task depends upon
- xorg-fonts-encodings
- xorg-font-utils
- libfontenc
libfontenc was pointing to the wrong directory, xorg-fonts-encodings contained a bad encodings.dir file, xorg-font-utils has a post_install file that ldconfigs for pacman3 that doesn't run it.