strange behavior for font with partial bitmap embedding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I am working toward a new CJK font including both the outline
data and embedded bitmap glyphs. The embedded bitmaps only
cover the CJK characters (Hanzi), at 9,10,11,12pt; while the outline
part covers most Latin, Hanzi, Korean, Japanese and other symbols
(35206 characters in total). The font does not include hinting
instructions for now and only include the medium face (therefore
the fake-bolding process is called when needed)

I observed a rather strange behavior with this font, which can be
summarized below:

1. at size 10pt, if I turn on AA+hinting+subpixel rendering, the
Hanzi part are shown correctly, with the embedded bitmaps, however,
the Latin characters were displayed without AA.

2. if I turn on AA+subpixel from my desktop, the
Latin characters were rendered ok, with smooth outlines, but
all normal face Hanzi (suppose to be displayed with the embedded bitmaps)
become blanks (not the bold face).

this test was done on Xubuntu 7.04, Xfce 4.4.0,
fontconfig 2.4.2-1ubuntu1, freetype2 2.2.1-5ubuntu1.1
the locale was under zh_CN(similar for other zh_* locales).

Need to mention that the font behaves normal in OpenOffice 2.2:
(for autohinting off)
(for autohinting on)

The reason for making this partially embedded fonts is because
I have seen a strong consensus among the Chinese users that
a pleasing rendering requires bitmaps for Hanzi, and AA for
Latin or low-density glyphs.

I know little about fontconfig, just curious if this behavior
is by design or a potential bug of fontconfig. This font
is not officially released yet, please let me know if you
need a copy to test and debug.

any other feedback on this matter is also appreciated.

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux