How to weak certain CJK fonts under zh_CN locale

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

 



I installed YaHei fonts in Fedora 15, which are the only CJK fonts.

When LANG=en_US.utf8, fc-match monospace returns "DejaVu Sans Mono",

which are the default mono fonts. When LANG=zh_CN.utf8, fc-match monospace

returns "Microsoft YaHei"。I don't want this result, because ASCII

characters are not fixed width in YaHei and my desktop seems very ugly

at many places. Although I am able to adjust fonts to these places

separately, I think add a file to /etc/fonts/conf.d is more effective.

I read fontconfig man pages, which says that

font family names are split into two bindings; strong and weak. Strong

family names are given greater precedence in the match than lang

elements while weak family names are given lower precedence than lang

elements.

But it doesn't say how to set such weak bindings. I need some help, thanks.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux