Comment 0 for bug 568855

Revision history for this message
Zhang Weiwu (zhangweiwu) wrote : "song ti" and other bitmap fonts are not available even if using yes-bitmaps rule

Binary package hint: fontconfig

Having 70-yes-bitmaps.conf replacing 70-no-bitmaps.conf in /etc/fonts/conf.d/ does not make available all bitmap fonts. Reproduce:

1) have 70-yes-bitmaps.conf set;
2) some bitmap fonts in /usr/share/fonts/X11/misc are then available, varify by fc-list. Some others are not.

Example of those are available on both xlsfont and fc-list:
/usr/share/fonts/X11/misc/unifont.pcf.gz in xfonts-unifont package
    xlsfont says

    -gnu-unifont-medium-r-normal--0-0-75-75-c-0-iso10646-1
    -gnu-unifont-medium-r-normal--16-160-75-75-c-80-iso10646-1
    -unifoundry.com-gnu unifont-medium-r-normal--0-0-0-0-p-0-iso10646-1

    fc-list says:

    unifont.pcf:style=Regular
    unifont:style=Medium

Example of those are available on xlsfont but not on fc-list:
/usr/share/fonts/X11/misc/gb16st.pcf.gz in xfonts-base package.
    xlsfont says:

    -isas-song ti-medium-r-normal--0-0-72-72-c-0-gb2312.1980-0
    -isas-song ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0
    -isas-song ti-medium-r-normal--24-240-72-72-c-240-gb2312.1980-0

    the font is not in fc-list.

Rationate why we need to make bitmap font available:
Despite the general trend of using anti-alias fonts there are still many very good reasons to use bitmap fonts for Asian text. Correct me if I am wrong, but there is not another "Fangsong Ti" in Ubuntu package than "-isas-fangsong ti-medium-r-normal--16-160-72-72-c-160-gb2312.1980-0" in xfonts-base. "Faongsong Ti" is one of the 4 basic fonts of Chinese, to Chinese users, as basic as Italic to westerners. It should not happen that the system asks users to use scalable font instead of bitmap font when there is no scalable font with similiar look.