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
3 Summary(pt_BR): Rasterizador de fontes Type 1
4 Summary(ru): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× Type 1
5 Summary(uk): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔ¦× Type 1
11 Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
12 Source1: %{name}-fonts.Fontmap
13 Source2: %{name}-fonts.fonts.scale
14 Patch0: %{name}-DESTDIR.patch
15 Patch1: %{name}-doc.patch
16 Patch2: %{name}-config.patch
17 Patch3: %{name}-dontprint.patch
18 Patch4: %{name}-KernMapSize.patch
19 Patch5: %{name}-man.patch
20 Patch6: %{name}-%{name}config.patch
21 Patch7: %{name}-xglyph.patch
22 BuildRequires: XFree86-devel
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: libtool
26 BuildRequires: tetex-dvips
27 BuildRequires: tetex-latex
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Obsoletes: libt1lib1.3.1
30 Obsoletes: libt1lib1.3.1-progs
32 %define _xbindir /usr/X11R6/bin
33 %define _t1fontsdir %{_fontsdir}/Type1
34 %define _t1afmdir %{_t1fontsdir}/afm
38 t1lib is a library distributed under the GNU General Public Library
39 License for generating character- and string-glyphs from Adobe Type 1
40 fonts under UNIX. t1lib uses most of the code of the X11 rasterizer
41 donated by IBM to the X11-project. But some disadvantages of the
42 rasterizer being included in X11 have been eliminated. Here are some
44 - t1lib is completely independent of X11 (although the program
45 provided for testing the library needs X11)
46 - fonts are made known to library by means of a font database file at
48 - searchpaths for all types of input files are configured by means of
49 a configuration file at runtime
50 - characters are rastered as they are needed
51 - characters and complete strings may be rastered by a simple function
53 - when rastering strings, pairwise kerning information from .afm-files
54 may optionally be taken into account
55 - an interface to ligature-information of afm-files is provided
56 - a program to generate afm-files from Type 1 font files is included
57 - rotation is supported at any angles
58 - there's support for extending and slanting fonts
59 - underlining, overlining and overstriking is supported
60 - new encoding vectors may be loaded at runtime and fonts may be
61 reencoded using these encoding vectors
62 - antialiasing is implemented using three gray-levels between black
64 - An interactive test program called "xglyph" is included in the
65 distribution (as separate package). This program allows to test all of
66 the features of the library. It requires X11.
69 t1lib jest wypuszczon± na LGPL bibliotek± do generowania znakowych i
70 ³añcuchowych glifów z fontów Adobe Type 1. t1lib u¿ywa wiêkszo¶ci kodu
71 rasteryzera X11 (wspomaganego przez IBM), ale niektóre wady tego
72 rasteryzera zosta³y usuniête. Niektóre cechy t1lib:
73 - ca³kowita niezale¿no¶æ od X11 (tylko program dostarczony do testów
75 - fonty s± znane bibliotece poprzez dodanie do pliku z baz± danych o
76 fontach - w czasie uruchamiania
77 - ¶cie¿ki wyszukiwania wszystkich plików wej¶ciowych s± konfigurowalne
79 - znaki s± rasteryzowane kiedy s± potrzebne
80 - znaki i ca³kowite ³añcuchy mog± byæ zrasteryzowane prostym
82 - przy rasteryzacji ³añcuchów opcjonalnie mog± byæ brane pod uwagê
83 informacje o kerningu z plików .afm
84 - interfejs do informacji o ligaturach z plików .afm
85 - do³±czony program do generowania plików .afm z fontów Type 1
86 - obroty o dowolny k±t
87 - wsparcie do rozszerzania i pochylania znaków
88 - wsparcie dla podkre¶lania, nadkre¶lania, przekre¶lania
89 - nowe wektory kodowania mog± byæ wczytane w czasie dzia³ania i fonty
90 mog± byæ ponownie zakodowane przy u¿yciu tych wektorów
91 - antyaliasing zaimplementowany przy u¿yciu trzech stopni szaaro¶ci
92 pomiêdzy czerni± a biel±
93 - interaktywny program testowy xglyph - w osobnym pakiecie (wymaga X).
96 Rasterizador de fontes Type 1 da Adobe.
99 T1lib - ÜÔÏ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÓÏÚÄÁÎÉÑ ÇÌÉÆÏ× ÓÉÍ×ÏÌÏ× É ÃÅÐÏÞÅË ÓÉÍ×ÏÌÏ×
100 ÉÚ ÛÒÉÆÔÏ× Adobe Type 1. T1lib ÉÓÐÏÌØÚÕÅÔ ËÏÄ ÒÁÓÔÅÒÉÚÁÔÏÒÁ ÄÌÑ X11
101 ÐÏÄÁÒÅÎÎÏÇÏ ÆÉÒÍÏÊ IBM ÐÒÏÅËÔÕ X11. îÏ ÎÅËÏÔÏÒÙÅ ÎÅÄÏÓÔÁÔËÉ
102 ×ËÌÀÞÅÎÎÏÇÏ × X11 ÒÁÓÔÅÒÉÚÁÔÏÒÁ ÂÙÌÉ ÕÓÔÒÁÎÅÎÙ. T1lib ×ËÌÀÞÁÅÔ ÔÁËÖÅ
103 ÐÏÄÄÅÒÖËÕ ÁÎÔÉÁÌÉÁÓÉÎÇÁ.
106 T1lib - ʦÂ̦ÏÔÅËÁ ÄÌÑ ÓÔ×ÏÒÅÎÎÎÑ ÇÌ¦Æ¦× ÓÉÍ×ÏÌ¦× ÔÁ ÌÁÎÃÀÖ˦×
107 ÓÉÍ×ÏÌ¦× Ú ÛÒÉÆÔ¦× Adobe Type 1. T1lib ×ÉËÏÒÉÓÔÏ×Õ¤ ËÏÄ ÒÁÓÔÅÒÉÚÁÔÏÒÁ
108 ÄÌÑ X11 ÐÏÄÁÒÏ×ÁÎÏÇÏ Æ¦ÒÍÏÀ IBM ÐÒÏÅËÔÕ X11. áÌÅ ÄÅÑ˦ ÎÅÄÏ̦ËÉ
109 ×ËÌÀÞÅÎÏÇÏ × X11 ÒÁÓÔÅÒÉÚÁÔÏÒÁ ÂÕÌÉ ÐÒÉÂÒÁΦ. T1lib ÔÁËÏÖ ×ËÌÀÞÁ¤
110 ЦÄÔÒÉÍËÕ ÁÎÔÉÁ̦ÁÓÉÎÇÁ.
113 Summary: Type 1 fonts
114 Summary(pl): Fonty Type 1
116 Requires(post,postun):fileutils
117 Requires(post,postun):sed
118 Requires(post,postun):textutils
123 %description fonts -l pl
124 Zestaw fontów Type 1.
127 Summary: Development files for t1lib
128 Summary(pl): Pliki nag³ówkowe i biblioteki dla t1lib
129 Summary(pt_BR): Arquivos de inclusão e bibliotecas para o desenvolvimento com a T1lib
130 Summary(ru): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔÏ× Type 1 - ÆÁÊÌÙ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÏÇÒÁÍÍ
131 Summary(uk): òÁÓÔÅÒÉÚÁÔÏÒ ÛÒÉÆÔ¦× Type 1 - ÆÁÊÌÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ
132 Group: Development/Libraries
133 Requires: %{name} = %{version}
134 Obsoletes: libt1lib1.3.1-devel
137 The files needed for developing applications using t1lib.
139 %description devel -l pl
140 Pliki niezbêdne do tworzenia aplikacji z wykorzystaniem t1lib.
142 %description devel -l pt_BR
143 Arquivos de inclusão e bibliotecas para o desenvolvimento de programas
146 %description devel -l ru
147 æÁÊÌÙ ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ËÏÍÐÉÌÑÃÉÉ ÉÓÐÏÌØÚÕÀÝÉÈ t1lib ÐÁËÅÔÏ×.
149 %description devel -l uk
150 æÁÊÌÉ ÐÏÔÒ¦ÂΦ ÄÌÑ ËÏÍЦÌÑæ§ ÐÁËÅÔ¦×, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØ t1lib.
153 Summary: Static libraries for t1lib
154 Summary(pl): Biblioteki statyczne dla t1lib
155 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com t1lib
156 Group: Development/Libraries
157 Requires: %{name}-devel = %{version}
160 Static libraries for t1lib.
162 %description static -l pl
163 Biblioteki statyczne dla t1lib.
165 %description static -l pt_BR
166 Bibliotecas estáticas para desenvolvimento com t1lib
168 %description static -l ru
169 óÔÁÔÉÞÅÓËÁÑ ÂÉÂÌÉÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÍÉÒÏ×ÁÎÉÑ Ó t1lib.
171 %description static -l uk
172 óÔÁÔÉÞÎÁ ¦Â̦ÏÔÅËÁ ÄÌÑ ÐÒÏÇÒÁÍÕ×ÁÎÎÑ Ú t1lib.
175 Summary: Test program for t1lib with X11 interface
176 Summary: Program testowy dla t1lib z interfejsem X11
177 Group: X11/Applications
178 Requires: %{name}-devel = %{version}
181 Test program for t1lib with X11 interface.
183 %description xglyph -l pl
184 Program testowy dla t1lib z interfejsem X11.
198 libtoolize --copy --force
200 mv -f aclocal.m4 ac-tools
205 %{__make} %{?_without_doc:without_doc}
208 rm -rf $RPM_BUILD_ROOT
209 install -d $RPM_BUILD_ROOT{%{_libdir},%{_datadir},%{_bindir}} \
210 $RPM_BUILD_ROOT{%{_includedir},%{_xbindir}} \
211 $RPM_BUILD_ROOT{%{_t1fontsdir},%{_t1afmdir}} \
212 $RPM_BUILD_ROOT%{_mandir}/man{1,5,8}
214 %{__make} install DESTDIR=$RPM_BUILD_ROOT
216 cp -a Fonts/enc $RPM_BUILD_ROOT%{_datadir}/%{name}
217 install Fonts/afm/*.afm $RPM_BUILD_ROOT%{_t1afmdir}
218 install Fonts/type1/*.pfb $RPM_BUILD_ROOT%{_t1fontsdir}
219 install %{SOURCE1} $RPM_BUILD_ROOT%{_t1fontsdir}/Fontmap.%{name}-fonts
220 install %{SOURCE2} $RPM_BUILD_ROOT%{_t1fontsdir}/fonts.scale.%{name}-fonts
222 install debian/t1libconfig $RPM_BUILD_ROOT/%{_bindir}/
224 touch $RPM_BUILD_ROOT/%{_datadir}/%{name}/FontDatabase
226 for sec in 1 5 8 ; do
227 install debian/*.${sec} $RPM_BUILD_ROOT/%{_mandir}/man${sec}/
230 mv -f $RPM_BUILD_ROOT%{_bindir}/xglyph $RPM_BUILD_ROOT%{_xbindir}
232 gzip -9nf Changes README.t1* %{!?_without_doc:doc/*.dvi}
235 rm -rf $RPM_BUILD_ROOT
237 %post -p /sbin/ldconfig
238 %postun -p /sbin/ldconfig
242 rm -f fonts.scale.bak Fontmap.bak
243 cat fonts.scale.* | sort -u > fonts.scale.tmp
244 cat fonts.scale.tmp | wc -l | sed -e 's/ //g' > fonts.scale
245 cat fonts.scale.tmp >> fonts.scale
246 rm -f fonts.scale.tmp
247 ln -sf fonts.scale fonts.dir
248 cat Fontmap.* > Fontmap
252 rm -f fonts.scale.bak Fontmap.bak
253 cat fonts.scale.* 2>/dev/null | sort -u > fonts.scale.tmp
254 cat fonts.scale.tmp | wc -l | sed -e 's/ //g' > fonts.scale
255 cat fonts.scale.tmp >> fonts.scale
256 rm -f fonts.scale.tmp
257 ln -sf fonts.scale fonts.dir
258 cat Fontmap.* > Fontmap 2>/dev/null
261 %defattr(644,root,root,755)
262 %doc {Changes,README.t1*}.gz
263 %if %{?_without_doc:0}%{!?_without_doc:1}
266 %doc doc/*.{tex,eps,fig}
268 %attr(755,root,root) %{_bindir}/type1afm
269 %attr(755,root,root) %{_bindir}/t1libconfig
270 %attr(755,root,root) %{_libdir}/*.so.*.*
272 %dir %{_datadir}/%{name}
273 %{_datadir}/%{name}/enc
275 %config(noreplace) %{_datadir}/%{name}/t1lib.config
276 %config(noreplace) %{_datadir}/%{name}/FontDatabase
279 %{_mandir}/man1/type1afm.1*
282 %defattr(644,root,root,755)
285 %{_t1fontsdir}/*.%{name}-fonts
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/*.so
290 %attr(755,root,root) %{_libdir}/*.la
294 %defattr(644,root,root,755)
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_xbindir}/xglyph
300 %{_mandir}/man1/xglyph.1*