1 Summary: A library for character- and string-glyphs from Adobe Type 1 fonts.
8 Source0: ftp://sunsite.unc.edu/pub/Linux/libs/graphics/%{name}-%{version}.tar.gz
9 Patch0: t1lib-0.7.1-beta-config.patch
10 URL: http://www.windowmaker.org/
11 BuildRoot: /tmp/%{name}-%{version}-root
14 t1lib is a library distributed under the GNU General Public Library License
15 for generating character- and string-glyphs from Adobe Type 1 fonts under
16 UNIX. t1lib uses most of the code of the X11 rasterizer donated by IBM to
17 the X11-project. But some disadvantages of the rasterizer being included in
18 X11 have been eliminated. Here are some of the features:
20 - t1lib is completely independent of X11 (although the program provided for
21 testing the library needs X11)
23 - fonts are made known to library by means of a font database file at
26 - searchpaths for all types of input files are configured by means of a
27 configuration file at runtime
29 - characters are rastered as they are needed
31 - characters and complete strings may be rastered by a simple function
34 - when rastering strings, pairwise kerning information from .afm-files
35 may optionally be taken into account
37 - an interface to ligature-information of afm-files is provided
39 - a program to generate afm-files from Type 1 font files is included
41 - rotation is supported at any angles
43 - there's support for extending and slanting fonts
45 - underlining, overlining and overstriking is supported
47 - new encoding vectors may be loaded at runtime and fonts may be
48 reencoded using these encoding vectors
50 - antialiasing is implemented using three gray-levels between black and
53 - An interactive test program called "xglyph" is included in the
54 distribution. This program allows to test all of the features of the
55 library. It requires X11.
58 Summary: Development files for t1lib
59 Group: Development/Libraries
60 Require: %{name} = %{version}
63 The files needed for developing applications using t1lib.
66 %setup -n T1-%{version}
70 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr
74 if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
75 mkdir -p $RPM_BUILD_ROOT/usr/{lib,share,bin,include}
76 make prefix=$RPM_BUILD_ROOT/usr install
77 cp -fr Fonts/* $RPM_BUILD_ROOT%{_datadir}/t1lib-0.8
78 CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=/usr --with-static-lib
85 %doc Changes LGPL LICENSE README.t1lib-0.8-beta doc/*
86 %attr(-,root,root) /usr/bin/*
87 %attr(-,root,root) %{_libdir}/*.so.*
88 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8
89 %attr(-,root,root) %config %{_datadir}/t1lib-0.8/t1lib.config
90 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/enc
91 %attr(-,root,root) %{_datadir}/t1lib-0.8/enc/*
92 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/afm
93 %attr(-,root,root) %{_datadir}/t1lib-0.8/afm/*
94 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/type1
95 %attr(-,root,root) %{_datadir}/t1lib-0.8/type1/*
96 %attr(-,root,root) %dir %{_datadir}/t1lib-0.8/doc
97 %attr(-,root,root) %doc %{_datadir}/t1lib-0.8/doc/*
100 %attr(-,root,root) /usr/include/*
101 %attr(-,root,root) %{_libdir}/*.a
102 %attr(-,root,root) %{_libdir}/*.so
105 * Tue Jul 21 1998 Kjetil Wiekhorst Jørgensen <jorgens@pvv.org>
106 - Initial relaese as RPM.