1 Summary: A library for character- and string-glyphs from Adobe Type 1 fonts
2 Summary(pl): Biblioteka znakowych i ³añcuchowych glifów z fontów Adobe Type 1
12 Group(pt_BR): Bibliotecas
15 Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
16 Source1: %{name}-fonts.Fontmap
17 Source2: %{name}-fonts.fonts.scale
18 Patch0: %{name}-DESTDIR.patch
19 Patch1: %{name}-doc.patch
20 Patch2: %{name}-config.patch
21 Patch3: %{name}-dontprint.patch
22 URL: http://www.windowmaker.org/
23 BuildRequires: XFree86-devel
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: libtool
27 BuildRequires: tetex-latex
28 BuildRequires: tetex-dvips
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define _xbindir /usr/X11R6/bin
32 %define _t1fontsdir %{_fontsdir}/Type1
33 %define _t1afmdir %{_t1fontsdir}/afm
36 t1lib is a library distributed under the GNU General Public Library
37 License for generating character- and string-glyphs from Adobe Type 1
38 fonts under UNIX. t1lib uses most of the code of the X11 rasterizer
39 donated by IBM to the X11-project. But some disadvantages of the
40 rasterizer being included in X11 have been eliminated. Here are some
42 - t1lib is completely independent of X11 (although the program
43 provided for testing the library needs X11)
44 - fonts are made known to library by means of a font database file at
46 - searchpaths for all types of input files are configured by means of
47 a configuration file at runtime
48 - characters are rastered as they are needed
49 - characters and complete strings may be rastered by a simple function
51 - when rastering strings, pairwise kerning information from .afm-files
52 may optionally be taken into account
53 - an interface to ligature-information of afm-files is provided
54 - a program to generate afm-files from Type 1 font files is included
55 - rotation is supported at any angles
56 - there's support for extending and slanting fonts
57 - underlining, overlining and overstriking is supported
58 - new encoding vectors may be loaded at runtime and fonts may be
59 reencoded using these encoding vectors
60 - antialiasing is implemented using three gray-levels between black
62 - An interactive test program called "xglyph" is included in the
63 distribution (as separate package). This program allows to test all of
64 the features of the library. It requires X11.
67 t1lib jest wypuszczon± na LGPL bibliotek± do generowania znakowych i
68 ³añcuchowych glifów z fontów Adobe Type 1. t1lib u¿ywa wiêkszo¶ci kodu
69 rasteryzera X11 (wspomaganego przez IBM), ale niektóre wady tego
70 rasteryzera zosta³y usuniête. Niektóre cechy t1lib:
71 - ca³kowita niezale¿no¶æ od X11 (tylko program dostarczony do testów
73 - fonty s± znane bibliotece poprzez dodanie do pliku z baz± danych o
74 fontach - w czasie uruchamiania
75 - ¶cie¿ki wyszukiwania wszystkich plików wej¶ciowych s± konfigurowalne
77 - znaki s± rasteryzowane kiedy s± potrzebne
78 - znaki i ca³kowite ³añcuchy mog± byæ zrasteryzowane prostym
80 - przy rasteryzacji ³añcuchów opcjonalnie mog± byæ brane pod uwagê
81 informacje o kerningu z plików .afm
82 - interfejs do informacji o ligaturach z plików .afm
83 - do³±czony program do generowania plików .afm z fontów Type 1
84 - obroty o dowolny k±t
85 - wsparcie do rozszerzania i pochylania znaków
86 - wsparcie dla podkre¶lania, nadkre¶lania, przekre¶lania
87 - nowe wektory kodowania mog± byæ wczytane w czasie dzia³ania i fonty
88 mog± byæ ponownie zakodowane przy u¿yciu tych wektorów
89 - antyaliasing zaimplementowany przy u¿yciu trzech stopni szaaro¶ci
90 pomiêdzy czerni± a biel±
91 - interaktywny program testowy xglyph - w osobnym pakiecie (wymaga X).
95 Summary(pl): Fonty Type 1
99 Requires: %{name} = %{version}
106 %description fonts -l pl
107 Zestaw fontów Type 1.
110 Summary: Development files for t1lib
111 Summary(pl): Pliki nag³ówkowe i biblioteki dla t1lib
112 Group: Development/Libraries
113 Group(de): Entwicklung/Libraries
114 Group(es): Desarrollo/Bibliotecas
115 Group(fr): Development/Librairies
116 Group(pl): Programowanie/Biblioteki
117 Group(pt_BR): Desenvolvimento/Bibliotecas
118 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
119 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
120 Requires: %{name} = %{version}
123 The files needed for developing applications using t1lib.
125 %description devel -l pl
126 Pliki niezbêdne do tworzenia aplikacji z wykorzystaniem t1lib.
129 Summary: Static libraries for t1lib
130 Summary(pl): Biblioteki statyczne dla t1lib
131 Group: Development/Libraries
132 Group(de): Entwicklung/Libraries
133 Group(es): Desarrollo/Bibliotecas
134 Group(fr): Development/Librairies
135 Group(pl): Programowanie/Biblioteki
136 Group(pt_BR): Desenvolvimento/Bibliotecas
137 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
138 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
139 Requires: %{name}-devel = %{version}
142 Static libraries for t1lib.
144 %description static -l pl
145 Biblioteki statyczne dla t1lib.
148 Summary: Test program for t1lib with X11 interface
149 Summary: Program testowy dla t1lib z interfejsem X11
150 Group: X11/Applications
151 Group(de): X11/Applikationen
152 Group(pl): X11/Aplikacje
153 Requires: %{name}-devel = %{version}
156 Test program for t1lib with X11 interface.
158 %description xglyph -l pl
159 Program testowy dla t1lib z interfejsem X11.
162 %setup -q -n T1Lib-%{version}
169 libtoolize --copy --force
171 mv -f aclocal.m4 ac-tools
178 rm -rf $RPM_BUILD_ROOT
179 install -d $RPM_BUILD_ROOT{%{_libdir},%{_datadir},%{_bindir}} \
180 $RPM_BUILD_ROOT{%{_includedir},%{_xbindir}} \
181 $RPM_BUILD_ROOT{%{_t1fontsdir},%{_t1afmdir}}
183 %{__make} install DESTDIR=$RPM_BUILD_ROOT
185 cp -a Fonts/enc $RPM_BUILD_ROOT%{_datadir}/%{name}
186 install Fonts/afm/*.afm $RPM_BUILD_ROOT%{_t1afmdir}
187 install Fonts/type1/*.pfb $RPM_BUILD_ROOT%{_t1fontsdir}
188 install %{SOURCE1} $RPM_BUILD_ROOT%{_t1fontsdir}/Fontmap.%{name}-fonts
189 install %{SOURCE2} $RPM_BUILD_ROOT%{_t1fontsdir}/fonts.scale.%{name}-fonts
191 mv -f $RPM_BUILD_ROOT%{_bindir}/xglyph $RPM_BUILD_ROOT%{_xbindir}
193 gzip -9nf Changes README.t1* doc/*.dvi
196 rm -rf $RPM_BUILD_ROOT
198 %post -p /sbin/ldconfig
199 %postun -p /sbin/ldconfig
203 rm -f fonts.scale.bak Fontmap.bak
204 cat fonts.scale.* | sort -u > fonts.scale.tmp
205 cat fonts.scale.tmp | wc -l | sed -e 's/ //g' > fonts.scale
206 cat fonts.scale.tmp >> fonts.scale
207 rm -f fonts.scale.tmp
208 ln -sf fonts.scale fonts.dir
209 cat Fontmap.* > Fontmap
213 rm -f fonts.scale.bak Fontmap.bak
214 cat fonts.scale.* 2>/dev/null | sort -u > fonts.scale.tmp
215 cat fonts.scale.tmp | wc -l | sed -e 's/ //g' > fonts.scale
216 cat fonts.scale.tmp >> fonts.scale
217 rm -f fonts.scale.tmp
218 ln -sf fonts.scale fonts.dir
219 cat Fontmap.* > Fontmap 2>/dev/null
222 %defattr(644,root,root,755)
223 %doc {Changes,README.t1*,doc/*.dvi}.gz
224 %doc doc/*.{tex,eps,fig}
226 %attr(755,root,root) %{_bindir}/type1afm
227 %attr(755,root,root) %{_libdir}/*.so.*.*
229 %dir %{_datadir}/%{name}
230 %{_datadir}/%{name}/enc
232 %config(noreplace) %{_datadir}/%{name}/t1lib.config
235 %defattr(644,root,root,755)
238 %{_t1fontsdir}/*.%{name}-fonts
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_libdir}/*.so
243 %attr(755,root,root) %{_libdir}/*.la
247 %defattr(644,root,root,755)
251 %defattr(644,root,root,755)
252 %attr(755,root,root) %{_xbindir}/xglyph