- Change specification of ulUnicodeRange1-4 to unsigned long

This commit is contained in:
Roozbeh Pournader 2006-05-08 14:35:36 +00:00
parent 3c03230382
commit 87419019ef
2 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,17 @@
--- fonttools/Lib/fontTools/ttLib/tables/O_S_2f_2.py.unsigned-ranges 2006-05-08 17:13:17.000000000 +0330
+++ fonttools/Lib/fontTools/ttLib/tables/O_S_2f_2.py 2006-05-08 17:14:04.000000000 +0330
@@ -52,10 +52,10 @@
yStrikeoutPosition: h # strikeout position
sFamilyClass: h # font family class and subclass
panose: 10s # panose classification number
- ulUnicodeRange1: l # character range
- ulUnicodeRange2: l # character range
- ulUnicodeRange3: l # character range
- ulUnicodeRange4: l # character range
+ ulUnicodeRange1: L # character range
+ ulUnicodeRange2: L # character range
+ ulUnicodeRange3: L # character range
+ ulUnicodeRange4: L # character range
achVendID: 4s # font vendor identification
fsSelection: H # font selection flags
fsFirstCharIndex: H # first unicode character index

View File

@ -3,7 +3,7 @@
Name: fonttools Name: fonttools
Version: 2.0 Version: 2.0
Release: 0.5.%{alphatag}%{?dist} Release: 0.6.%{alphatag}%{?dist}
Summary: A tool to convert True/OpenType fonts to XML and back Summary: A tool to convert True/OpenType fonts to XML and back
Group: Development/Tools Group: Development/Tools
@ -11,6 +11,7 @@ License: BSD
URL: http://sourceforge.net/projects/fonttools/ URL: http://sourceforge.net/projects/fonttools/
Source0: http://fonttools.sourceforge.net/cvs-snapshots/bzip2/fonttools-2005-03-15.210812.tar.bz2 Source0: http://fonttools.sourceforge.net/cvs-snapshots/bzip2/fonttools-2005-03-15.210812.tar.bz2
Patch1: fonttools-20050315-20050624.patch Patch1: fonttools-20050315-20050624.patch
Patch2: fonttools-unsigned-ranges.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel python-numeric BuildRequires: python-devel python-numeric
@ -28,6 +29,7 @@ TrueType and OpenType fonts to an XML-based text format and vice versa.
%prep %prep
%setup -q -n %{name} %setup -q -n %{name}
%patch1 -p1 -b .20050624 %patch1 -p1 -b .20050624
%patch2 -p1 -b .unsigned-ranges
%{__sed} -i.nobang '1 d' Lib/fontTools/ttx.py %{__sed} -i.nobang '1 d' Lib/fontTools/ttx.py
%{__chmod} a-x LICENSE.txt %{__chmod} a-x LICENSE.txt
@ -76,6 +78,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon May 08 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.6.20050624cvs
- Change specification of ulUnicodeRange1-4 to unsigned long
* Mon Feb 13 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.5.20050624cvs * Mon Feb 13 2006 Roozbeh Pournader <roozbeh@farsiweb.info> - 2.0-0.5.20050624cvs
- Rebuild for Fedora Extras 5 - Rebuild for Fedora Extras 5