[Bug 476459] wqy-zenhei-fonts overrides Japanese desktop (so can't be installed by default in @chinese-support group)

bugzilla at redhat.com bugzilla at redhat.com
Tue May 12 14:43:47 UTC 2009

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


--- Comment #35 from Qianqian Fang <fangqq at gmail.com>  2009-05-12 10:43:46 EDT ---
(In reply to comment #34)
> It just works for your desired packages. but not for someone's. that's not a
> neutral solution. 

But you do realize, in the end, there only exists one font order, no matter
which way you set it. It is impossible for two fonts to be both preferred if
they are both installed. If you want to control the orders by the presence of
fonts, you can do exactly the same thing with a centralized conf file. The only
difference is that a single config file gives you a master fallback list, and
what you suggested determines this list ad-hoc, which is more difficult to
predict and debug.

> we can suggest the default font in comps. but someone may not
> likes that. the centralized management for the rule would prevents to use the
> preferred font packages for users. I'm afraid you can't maintain/update it
> without painful for you and everyone nor without any notice from the font
> package maintainers.
> The point I'm saying is:
> * Do not make any changes that affects to the other font packages.
>   -> this can be solved to apply the rule for the specific language.

IMHO, this is impossible. If you set <prefer> or use prepend/prepend_first, you
ARE affecting other font packages. Indeed, that's how fontconfig works. Again,
for a given system state, there is only one priority list for each language, no
matter you set it from a single file, or by a bunch of font-specific files.

> * Do not make any changes that depends on the other font packages. otherwise it
> must has certain dependencies in the package.

It's not dependency, it is fallback relationship. If you set priority as A>B>C
and some of them do not present, fontconfig will pick up the next one with the
highest priority. I think that's how fontconfig was designed.

> * Maintaining all of the font packages available on Fedora at the centralized
> fontconfig rule isn't realistic. as fontconfig is capable to read the rule from
> each fonts, maintaining it in each font packages with the certain policy would
> works enough.

If you check my old posts, I used to be a supporter to font-specific config
files, because I know the fonts I maintained are good, but other high priority
fonts prevent the use of these good one but I have no control (for exp.
65-nonlatin). I endured a lot of troubles in order to set my own list. Now I am
suggesting to get things right from the very beginning, and save time of the
font maintainers. In you really want to insist, you can still do what you have
been doing, but having a up-to-date default language-specific font list will
greatly reduce the amount of work you need to do.

>   Right now some font packages doesn't follow even current policy. we have to
> mass-file a bug for them in F-12.

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list