Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
wqy-zenhei-fonts
wqy-zenhei-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wqy-zenhei-fonts.spec of Package wqy-zenhei-fonts
# # spec file for package wqy-zenhei-fonts # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: wqy-zenhei-fonts Version: 0.9.41 Release: 1 License: GPL-2.0-with-font-exception Summary: open-source Chinese font for Hei Ti Url: http://wenq.org Group: System/X11/Fonts Source0: wqy-zenhei-%{version}-May.tar.bz2 # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: wqy-zenhei-font-config-fixes.diff Requires(pre): %suseconfig_fonts_prereq Requires(pre): fontconfig Provides: scalable-font-zh-CN, Provides: scalable-font-zh-SG Provides: scalable-font-zh-TW, Provides: locale(zh_TW;zh_CN;zh_SG) Provides: ttf-wqy-zenhei = %{version} Obsoletes: ttf-wqy-zenhei <= 0.9.41 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description The WenQuanYi Zen Hei is the first open-source Chinese font for Hei Ti, a sans-serif font style that are widely used for general purpose text formatting, and on-screen display of Chinese characters (such as in Windows Vista and Mac OS). Simple and elegant font outlines and slightly emboldened strokes makes the glyphs presenting higher contrast and therefore easy to read. The unique style of this font also provide a simple interface for adding grid-fitting information for further fine-tuning of the on-screen performance. WenQuanYi Zen Hei contains arguably the largest number of Chinese Hanzi glyphs of all known open-source outline Chinese fonts: it has 20194 Hanzi glyphs covering 97% of the Unicode CJK Unified Ideographics [4]. This font provides full coverage to the required code points for zh_cn, zh_sg, zh_tw, zh_hk and zh_mo locales. The total vector glyphs in this font is over 35000 including Latin characters, Japanese kanas, hanguls and symbols from many other languages. Highly regarded WenQuanYi Bitmap Song fonts were embedded into this font for those who prefer shaper look of the text rendering, The embedded bitmap glyphs cover font sizes at 9pt, 10pt, 11pt and 12pt. The primary purpose of developing this font is to provide CJK (Chinese-Japanese-Korean) users a visually pleasing, standard compliant, platform independent and compact solution for displaying and printing Chinese on their computers. We wish you enjoying the font, and joining us to continuously improve this font for better performance and wider applications. %prep %setup -n wqy-zenhei %patch0 -p1 %build # Do nothing for build %install mkdir -p %{buildroot}%{_datadir}/fonts/truetype mkdir -p %{buildroot}%{_sysconfdir}/fonts/conf.avail mkdir -p %{buildroot}%{_sysconfdir}/fonts/conf.d install -c -m 644 wqy-zenhei.ttc %{buildroot}%{_datadir}/fonts/truetype/ #44- is too early to include in, embeddedbitmap will be enabled later, so move to 57- install -c -m 644 44-wqy-zenhei.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei.conf install -c -m 644 66-wqy-zenhei-sharp.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp.conf install -c -m 644 66-wqy-zenhei-sharp-no13px.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp-no13px.conf cd %{buildroot}%{_sysconfdir}/fonts/conf.d ln -s ../conf.avail/57-wqy-zenhei.conf %clean [ %{buildroot} != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot}; %post %run_suseconfig_fonts -c %postun %run_suseconfig_fonts -c %files %defattr(-, root,root) %doc ChangeLog INSTALL AUTHORS COPYING README WQY_ZENHEI_MONTHLY_BUILD zenheiset %dir %{_datadir}/fonts/truetype %{_datadir}/fonts/truetype/wqy-zenhei.ttc %{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei.conf %{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp.conf %{_sysconfdir}/fonts/conf.avail/57-wqy-zenhei-sharp-no13px.conf %{_sysconfdir}/fonts/conf.d/57-wqy-zenhei.conf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor