[Poppler-bugs] [Bug 36474] CJK characters are not displayed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 27 20:58:31 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=36474

--- Comment #4 from Koji Otani <sho at bbr.jp> 2011-04-27 20:58:31 PDT ---
(In reply to comment #3)
> So you mean that even if i ask for a "ja" font it will give me a non "ja" font
> first?

Yes.

> Are you sure that this is not a bug in fontconfig?

I don't sure that original developers of fontconfig expect this usecase.
But intent of writer of this setting is clear.

>  What's the point in
> that feature then if it does not work?

If "binding" is not "strong", fontconfig behaves as you expect.
More detail of this setting is following;

    <match target="pattern">
        <test name="lang" compare="contains">
            <string>ja</string>                  ---- (A)
        </test>
        <test qual="any" name="family">
            <string>sans-serif</string>
        </test>
        <edit name="family" mode="prepend" binding="strong">
            <string>DejaVu Sans</string>
            <string>Takao P Gothic</string>
              ......

Please note (A). When "ja" font is required, this setting is applied!!!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list