package init

This commit is contained in:
fun_yang 2020-02-14 14:34:00 +08:00
parent 4e4305d846
commit 960806db80
7 changed files with 95 additions and 75 deletions

16
67-nafees-web-naskh.conf Normal file
View File

@ -0,0 +1,16 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Nafees Web Naskh</family>
</prefer>
</alias>
<alias>
<family>Nafees Web Naskh</family>
<default>
<family>sans-serif</family>
</default>
</alias>
</fontconfig>

View File

@ -1,36 +0,0 @@
# nafees-web-naskh-fonts
#### Description
{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@ -1,39 +0,0 @@
# nafees-web-naskh-fonts
#### 介绍
{**以下是码云平台说明,您可以替换此简介**
码云是 OSCHINA 推出的基于 Git 的代码托管平台(同时支持 SVN。专为开发者提供稳定、高效、安全的云端软件开发协作平台
无论是个人、团队、或是企业,都能够用码云实现代码托管、项目管理、协作开发。企业项目请看 [https://gitee.com/enterprises](https://gitee.com/enterprises)}
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

View File

@ -0,0 +1,52 @@
Name: nafees-web-naskh-fonts
Version: 1.2
Release: 21
Summary: Nafees Web Naskh fonts
License: Bitstream Vera
URL: http://www.cle.org.pk/Downloads/NafeesWeb.zip
Group: User Interface/X
Source0: nafees-web-naskh-20080509.zip
Source1: nafees-web-naskh-update-preferred-family.pe
Source2: 67-nafees-web-naskh.conf
Source3: nafees-web-naskh.metainfo.xml
BuildArch: noarch
Requires: fontpackages-filesystem
BuildRequires: fontpackages-devel fontforge
%description
Nafees Web Naskh fonts is desiged to writing Urdu in Naskh script.
This updated version has complete support of Aerabs for Urdu and
updated glyphs for Latin characters. For now, Nafees Web Naskh OTF
already contains approximately 330 glyphs and including 5 ligatures.
%prep
%setup -q -c
%build
%{_bindir}/fontforge %{SOURCE1} NafeesWeb.ttf
%install
rm -rf %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/67-nafees-web-naskh.conf
ln -s %{_fontconfig_templatedir}/67-nafees-web-naskh.conf %{buildroot}%{_fontconfig_confdir}/67-nafees-web-naskh.conf
install -Dm 0644 -p %{SOURCE3} %{buildroot}%{_datadir}/appdata/nafees-web-naskh.metainfo.xml
%_font_pkg -f 67-nafees-web-naskh.conf *.ttf
%doc
%{_datadir}/appdata/nafees-web-naskh.metainfo.xml
%changelog
* Fri Nov 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2-21
- Rebuilt Nafees Web Naskh fonts

View File

@ -0,0 +1,11 @@
#!/usr/bin/fontforge
fontfile = $1
Open(fontfile)
SetTTFName(0x409, 16, 'Nafees Web Naskh')
Generate('NafeesWeb.ttf')
Close()

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="font">
<id>nafees-web-naskh</id>
<metadata_license>CC-BY-3.0</metadata_license>
<name>Nafees</name>
<summary>Nafees Web font for writing Urdu in the Naskh script</summary>
<description>
<p>
Character based Nafees Web Naskh Open Type Font for writing Urdu in Naskh
script based on Unicode standard. This version has complete support of
Aerabs for Urdu and updated glyphs for Latin characters.
Nafees Web Naskh OTF contains approximately 330 glyphs, including 5 ligatures.
</p>
</description>
<url type="homepage">http://www.cle.org.pk/</url>
</component>