1 Summary: Auto-generating hints for TrueType fonts
2 Summary(pl.UTF-8): Automatyczne generowanie hintingu dla fontów TrueType
6 License: FreeType License or GPL v2+
8 Source0: http://downloads.sourceforge.net/freetype/%{name}-%{version}.tar.gz
9 # Source0-md5: f85a4d5d70f960c9a9a6f26fbda495ae
10 URL: http://freetype.org/
11 BuildRequires: QtCore-devel >= 4.6
12 BuildRequires: QtGui-devel >= 4.6
13 BuildRequires: freetype-devel >= 1:2.4.5
14 BuildRequires: qt4-build >= 4.6
15 Requires: freetype >= 1:2.4.5
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 This project provides a utility which takes a TrueType font as the
20 input, remove its hinting bytecode instructions (if any), and return a
21 new font where all glyphs are bytecode hinted using the information
22 given by FreeType's autohinting module. The idea is to provide the
23 same quality of the autohinter on platforms which don't use FreeType.
25 %description -l pl.UTF-8
26 Ten projekt zapewnia narzędzie przyjmujące na wejściu fonty TrueType,
27 usuwające z nich instrukcje bajtkodowe hintingu (jeśli są) i tworzące
28 nowy font, w którym wszystkie glify wykorzystują hinting utworzony
29 przy użyciu modułu autohintingu z FreeType. Celem jest zapewnienie tej
30 samej jakości, którą daje autohinter, na platformach nie
31 wykorzystujących FreeType.
34 Summary: GUI application to replace hints in a TrueType font
35 Summary(pl.UTF-8): Graficzna aplikacja do podmiany reguł hintingu w fontach TrueType
36 Group: X11/Applications/Graphics
37 Requires: QtGui >= 4.6
38 Requires: freetype >= 1:2.4.5
41 GUI application to replace hints in a TrueType font. The new hints are
42 based on FreeType's auto-hinter.
44 %description gui -l pl.UTF-8
45 Graficzna aplikacja do podmiany reguł hintingu w fontach TrueType.
46 Nowe reguły są oparte na auto-hinterze z FreeType.
53 MOC=/usr/bin/moc-qt4 \
54 QMAKE=/usr/bin/qmake-qt4 \
55 QTDIR=%{_libdir}/qt4 \
56 --disable-silent-rules
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 # requirements to automatically install man pages are insane - do it manually
67 install -d $RPM_BUILD_ROOT%{_mandir}/man1
68 cp -p frontend/ttf*.1 $RPM_BUILD_ROOT%{_mandir}/man1
71 rm -rf $RPM_BUILD_ROOT
74 %defattr(644,root,root,755)
75 %doc AUTHORS COPYING ChangeLog FTL.TXT NEWS README THANKS TODO
76 %attr(755,root,root) %{_bindir}/ttfautohint
77 %{_mandir}/man1/ttfautohint.1*
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/ttfautohintGUI
82 %{_mandir}/man1/ttfautohintGUI.1*