commit
c4b95bb33e
BIN
freefont-src-20120503.tar.gz
Normal file
BIN
freefont-src-20120503.tar.gz
Normal file
Binary file not shown.
40
gnu-free-fonts-devanagari-rendering.patch
Normal file
40
gnu-free-fonts-devanagari-rendering.patch
Normal file
@ -0,0 +1,40 @@
|
||||
--- freefont-20120503/sfd/FreeSansBold.sfd 2012-05-03 18:53:49.000000000 +0530
|
||||
+++ freefont-20120503/sfd/FreeSansBold.sfd 2013-05-16 12:39:06.399829387 +0530
|
||||
@@ -59117,6 +59117,7 @@ Substitution2: "Substitute rakaar.blf fo
|
||||
Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva
|
||||
LCarets2: 1 0
|
||||
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
|
||||
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
|
||||
EndChar
|
||||
|
||||
StartChar: dev_ha_rrvocalic.blws
|
||||
--- freefont-20120503/sfd/FreeSans.sfd 2012-05-03 18:53:49.000000000 +0530
|
||||
+++ freefont-20120503/sfd/FreeSans.sfd 2013-05-16 12:42:00.215227977 +0530
|
||||
@@ -83796,6 +83796,7 @@ EndSplineSet
|
||||
Validated: 3073
|
||||
LCarets2: 1 0
|
||||
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
|
||||
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
|
||||
EndChar
|
||||
|
||||
StartChar: dev_ra_anusvara.rphf
|
||||
--- freefont-20120503/sfd/FreeSerifBold.sfd 2012-05-03 18:53:49.000000000 +0530
|
||||
+++ freefont-20120503/sfd/FreeSerifBold.sfd 2013-05-16 13:37:31.159274925 +0530
|
||||
@@ -112581,6 +112581,7 @@ EndSplineSet
|
||||
Validated: 3073
|
||||
LCarets2: 1 0
|
||||
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
|
||||
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
|
||||
Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva
|
||||
Substitution2: "Substitute rakaar.blf for rakaar in Devanagari" dev_rakaar.blwf
|
||||
EndChar
|
||||
--- freefont-20120503/sfd/FreeSerif.sfd 2012-05-03 18:53:49.000000000 +0530
|
||||
+++ freefont-20120503/sfd/FreeSerif.sfd 2013-05-16 13:36:04.382132354 +0530
|
||||
@@ -328421,6 +328421,7 @@ Validated: 1
|
||||
LCarets2: 1 0
|
||||
Ligature2: "Substitute rakaar for virama-ra in Devanagari-subtable" virama radeva
|
||||
Ligature2: "'blwf' Below Base Forms in Devanagari subtable" radeva virama
|
||||
+Ligature2: "'blwf' Below Base Forms in Devanagari subtable" virama radeva
|
||||
Substitution2: "Substitute rakaar.blf for rakaar in Devanagari" dev_rakaar.blwf
|
||||
EndChar
|
||||
|
||||
104
gnu-free-fonts.spec
Normal file
104
gnu-free-fonts.spec
Normal file
@ -0,0 +1,104 @@
|
||||
%global fontname gnu-free
|
||||
|
||||
Name: gnu-free-fonts
|
||||
Version: 20120503
|
||||
Release: 21
|
||||
Summary: GNU Unicode-encoded Fonts
|
||||
License: GPLv3+ with exceptions
|
||||
URL: http://www.gnu.org/software/freefont/
|
||||
Source0: http://ftp.gnu.org/gnu/freefont/freefont-src-%{version}.tar.gz
|
||||
Source2: gnu-free-mono-fonts.conf
|
||||
Source3: gnu-free-sans-fonts.conf
|
||||
Source4: gnu-free-serif-fonts.conf
|
||||
Source5: gnu-free.metainfo.xml
|
||||
Source6: gnu-free-mono-fonts.metainfo.xml
|
||||
Source7: gnu-free-sans-fonts.metainfo.xml
|
||||
Source8: gnu-free-serif-fonts.metainfo.xml
|
||||
|
||||
Patch0000: gnu-free-fonts-devanagari-rendering.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel fontforge /usr/bin/2to3
|
||||
|
||||
|
||||
%description
|
||||
Gnu FreeFont is a set of Unicode-encoded scalable outline fonts used on all modern operating systems.
|
||||
|
||||
|
||||
%package common
|
||||
Summary: GNU FreeFont Common files
|
||||
Requires: fontpackages-filesystem
|
||||
Obsoletes: gnu-free-fonts-compat < 20120503
|
||||
%description common
|
||||
Some common files used by other %{name} font packages.
|
||||
|
||||
%package -n gnu-free-mono-fonts
|
||||
Summary: GNU Monospaced FreeFont
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
%description -n gnu-free-mono-fonts
|
||||
This package contains GNU Monospaced FreeFont files.
|
||||
|
||||
|
||||
%package -n gnu-free-sans-fonts
|
||||
Summary: GNU Sans-Serif FreeFont
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
%description -n gnu-free-sans-fonts
|
||||
This package contains GNU Sans-Serif FreeFont files.
|
||||
|
||||
|
||||
%package -n gnu-free-serif-fonts
|
||||
Summary: GNU Serif FreeFont
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
%description -n gnu-free-serif-fonts
|
||||
This package contains GNU Serif FreeFont files.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n freefont-%{version} -p1
|
||||
|
||||
cd tools/generate
|
||||
rm *.pyc
|
||||
for x in `ls`;do
|
||||
2to3 -w $x
|
||||
done
|
||||
cd -
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
cd sfd
|
||||
install -m 755 -d %{buildroot}%{_fontdir}
|
||||
install -p -m 644 *.ttf %{buildroot}%{_fontdir}
|
||||
install -m 755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
||||
install -m 644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/gnu-free-mono-fonts.conf
|
||||
install -m 644 -p %{SOURCE3} %{buildroot}%{_fontconfig_templatedir}/gnu-free-sans-fonts.conf
|
||||
install -m 644 -p %{SOURCE4} %{buildroot}%{_fontconfig_templatedir}/gnu-free-serif-fonts.conf
|
||||
|
||||
|
||||
for fconf in gnu-free-mono-fonts.conf gnu-free-sans-fonts.conf gnu-free-serif-fonts.conf ; do
|
||||
ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf
|
||||
done
|
||||
|
||||
install -Dm 644 -p %{SOURCE5} %{buildroot}%{_datadir}/appdata/gnu-free.metainfo.xml
|
||||
install -Dm 644 -p %{SOURCE6} %{buildroot}%{_datadir}/appdata/gnu-free-mono-fonts.metainfo.xml
|
||||
install -Dm 644 -p %{SOURCE7} %{buildroot}%{_datadir}/appdata/gnu-free-sans-fonts.metainfo.xml
|
||||
install -Dm 644 -p %{SOURCE8} %{buildroot}%{_datadir}/appdata/gnu-free-serif-fonts.metainfo.xml
|
||||
|
||||
%_font_pkg -n mono -f gnu-free-mono-fonts.conf FreeMono*.ttf
|
||||
%{_datadir}/appdata/gnu-free-mono-fonts.metainfo.xml
|
||||
|
||||
%_font_pkg -n sans -f gnu-free-sans-fonts.conf FreeSans*.ttf
|
||||
%{_datadir}/appdata/gnu-free-sans-fonts.metainfo.xml
|
||||
|
||||
%_font_pkg -n serif -f gnu-free-serif-fonts.conf FreeSerif*.ttf
|
||||
%{_datadir}/appdata/gnu-free-serif-fonts.metainfo.xml
|
||||
|
||||
%files common
|
||||
%doc AUTHORS ChangeLog CREDITS README
|
||||
%license COPYING
|
||||
%{_datadir}/appdata/gnu-free.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Tue Nov 26 2019 Shuaishuai Song <songshuaishuai2@huawei.com> - 20120503-21
|
||||
- package init
|
||||
16
gnu-free-mono-fonts.conf
Normal file
16
gnu-free-mono-fonts.conf
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>FreeMono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>FreeMono</family>
|
||||
<default>
|
||||
<family>monospace</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
7
gnu-free-mono-fonts.metainfo.xml
Normal file
7
gnu-free-mono-fonts.metainfo.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>gnu-free-mono-fonts</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<extends>gnu-free</extends>
|
||||
</component>
|
||||
|
||||
43
gnu-free-sans-fonts.conf
Normal file
43
gnu-free-sans-fonts.conf
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>FreeSans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>FreeSans</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
<match target="scan">
|
||||
<test name="family">
|
||||
<string>FreeSans</string>
|
||||
</test>
|
||||
<edit name="lang" mode="assign">
|
||||
<minus>
|
||||
<name>lang</name>
|
||||
<langset>
|
||||
<string>bho</string>
|
||||
<string>brx</string>
|
||||
<string>doi</string>
|
||||
<string>hi</string>
|
||||
<string>hne</string>
|
||||
<string>kok</string>
|
||||
<string>mai</string>
|
||||
<string>mr</string>
|
||||
<string>sa</string>
|
||||
<string>sat</string>
|
||||
<string>as</string>
|
||||
<string>bn</string>
|
||||
<string>pa</string>
|
||||
</langset>
|
||||
</minus>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
||||
6
gnu-free-sans-fonts.metainfo.xml
Normal file
6
gnu-free-sans-fonts.metainfo.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>gnu-free-sans-fonts</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<extends>gnu-free</extends>
|
||||
</component>
|
||||
43
gnu-free-serif-fonts.conf
Normal file
43
gnu-free-serif-fonts.conf
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>FreeSerif</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>FreeSerif</family>
|
||||
<default>
|
||||
<family>serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
|
||||
<match target="scan">
|
||||
<test name="family">
|
||||
<string>FreeSerif</string>
|
||||
</test>
|
||||
<edit name="lang" mode="assign">
|
||||
<minus>
|
||||
<name>lang</name>
|
||||
<langset>
|
||||
<string>bho</string>
|
||||
<string>brx</string>
|
||||
<string>doi</string>
|
||||
<string>hi</string>
|
||||
<string>hne</string>
|
||||
<string>kok</string>
|
||||
<string>mai</string>
|
||||
<string>mr</string>
|
||||
<string>sa</string>
|
||||
<string>sat</string>
|
||||
<string>as</string>
|
||||
<string>bn</string>
|
||||
<string>pa</string>
|
||||
</langset>
|
||||
</minus>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
</fontconfig>
|
||||
6
gnu-free-serif-fonts.metainfo.xml
Normal file
6
gnu-free-serif-fonts.metainfo.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>gnu-free-serif-fonts</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<extends>gnu-free</extends>
|
||||
</component>
|
||||
22
gnu-free.metainfo.xml
Normal file
22
gnu-free.metainfo.xml
Normal file
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="font">
|
||||
<id>gnu-free</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<name>Freefont</name>
|
||||
<summary>Free UCS Outline Fonts</summary>
|
||||
<description>
|
||||
<p>
|
||||
Gnu FreeFont is a free family of scalable outline fonts, suitable for general
|
||||
use on computers and for desktop publishing. It is Unicode-encoded for
|
||||
compatibility with all modern operating systems.
|
||||
Besides a full set of characters for writing systems based on the Latin
|
||||
alphabet, FreeFont contains large selection of characters from other writing
|
||||
systems some of which are hard to find elsewhere.
|
||||
FreeFont also contains a large set of symbol characters, both technical and
|
||||
decorative. We are especially pleased with the Mathematical Operators range,
|
||||
with which most of the glyphs used in LaTeX can be displayed.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">http://www.gnu.org/software/freefont/</url>
|
||||
</component>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user