1 |
%global fontname adf-tribun |
2 |
%global fontconf 60-%{fontname}.conf |
3 |
|
4 |
%global archivename Tribun-Std |
5 |
|
6 |
Name: %{fontname}-fonts |
7 |
Version: 1.13 |
8 |
Release: %mkrel 3 |
9 |
Summary: A newsprint-like serif typeface |
10 |
|
11 |
Group: System/Fonts/True type |
12 |
License: GPLv2+ with exceptions |
13 |
URL: http://arkandis.tuxfamily.org/adffonts.html |
14 |
Source0: http://arkandis.tuxfamily.org/fonts/%{archivename}.zip |
15 |
Source1: http://arkandis.tuxfamily.org/docs/Tribun-Cat.pdf |
16 |
Source11: %{name}-fontconfig.conf |
17 |
|
18 |
|
19 |
BuildArch: noarch |
20 |
BuildRequires: fontpackages-devel |
21 |
Requires: fontpackages-filesystem |
22 |
|
23 |
%description |
24 |
Hirwen Harendal started in 1999 the realization of a first font family, aiming |
25 |
to create another “Times New Roman”… He does not consider this endeavour a huge |
26 |
success. However, he transformed Tribun progessively since then to give it its |
27 |
own character. |
28 |
|
29 |
The idea was to achieve newsprint-like rendering. To this effect, the glyph |
30 |
bodies, serifs, or even extenders are not normalised and use irregular strokes. |
31 |
This is most visible in italics though those variations stay imperceptible at |
32 |
small sizes. |
33 |
|
34 |
Italics proved time-consuming. They are never an easy thing to draw. |
35 |
Nevertheless, the designer considers them very close to those of “Times”, with |
36 |
some variations. |
37 |
|
38 |
The medium weight uses a stronger stroke. It can be used for emphasis, or for |
39 |
effects in titles. That being said it has also been used for body copy. It is |
40 |
also slightly expanded to complete the face offerings. |
41 |
|
42 |
The condensed version is a bit unusual, since it stands in for both normal and |
43 |
medium condensed. After several trials, Hirwen decided an intermediate weight |
44 |
rendered much better both for document display and in print. Secondly, he took |
45 |
great care to keep readability excellent, and this even for italics. |
46 |
|
47 |
This font family is particularly well suited for text, display, or |
48 |
presentations. It is also ideal for all Web publications. It can serve as |
49 |
alternative to “Times New Roman” and other similar fonts. |
50 |
|
51 |
|
52 |
%prep |
53 |
%setup -q -n %{archivename} |
54 |
install -m 0644 -p %{SOURCE1} . |
55 |
for txt in NOTICE */COPYING ; do |
56 |
fold -s $txt > $txt.new &&\ |
57 |
sed -i 's/\r//' $txt.new &&\ |
58 |
touch -r $txt $txt.new &&\ |
59 |
mv $txt.new $txt |
60 |
done |
61 |
|
62 |
|
63 |
%build |
64 |
|
65 |
|
66 |
%install |
67 |
rm -fr %{buildroot} |
68 |
|
69 |
install -m 0755 -d %{buildroot}%{_fontdir} |
70 |
install -m 0644 -p TTF/*.ttf %{buildroot}%{_fontdir} |
71 |
|
72 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ |
73 |
%{buildroot}%{_fontconfig_confdir} |
74 |
|
75 |
install -m 0644 -p %{SOURCE11} \ |
76 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf} |
77 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \ |
78 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf} |
79 |
|
80 |
|
81 |
%clean |
82 |
rm -fr %{buildroot} |
83 |
|
84 |
|
85 |
%_font_pkg -f %{fontconf} *.ttf |
86 |
|
87 |
%doc NOTICE TTF/COPYING *.pdf |
88 |
|