initial import

This commit is contained in:
nim 2007-11-01 15:37:32 +00:00
parent 130f0c4aaa
commit a913e81afb
4 changed files with 293 additions and 0 deletions

View File

@ -0,0 +1 @@
STIXBeta.zip

View File

@ -0,0 +1 @@
3d869530e7fe4803658d3974392b5911 STIXBeta.zip

65
stix-fonts-License.txt Normal file
View File

@ -0,0 +1,65 @@
TERMS AND CONDITIONS
1. Permission is hereby granted, free of charge, to any person obtaining a
copy of the STIX Fonts-TM set accompanying this license (collectively, the
"Fonts") and the associated documentation files (collectively with the Fonts,
the "Font Software"), to reproduce and distribute the Font Software, including
the rights to use, copy, merge and publish copies of the Font Software, and to
permit persons to whom the Font Software is furnished to do so same, subject to
the following terms and conditions (the "License").
2. The following copyright and trademark notice and these Terms and
Conditions shall be included in all copies of one or more of the Font typefaces
and any derivative work created as permitted under this License:
Copyright (c) 2001-2005 by the STI Pub Companies, consisting of the
American Institute of Physics, the American Chemical Society, the American
Mathematical Society, the American Physical Society, Elsevier, Inc., and The
Institute of Electrical and Electronic Engineers, Inc. Portions copyright (c)
1998-2003 by MicroPress, Inc. Portions copyright (c) 1990 by Elsevier, Inc. All
rights reserved. STIX Fonts-TM is a trademark of The Institute of Electrical
and Electronics Engineers, Inc.
3. You may (a) convert the Fonts from one format to another (e.g., from
TrueType to PostScript), in which case the normal and reasonable distortion
that occurs during such conversion shall be permitted and (b) embed or include
a subset of the Fonts in a document for the purposes of allowing users to read
text in the document that utilizes the Fonts. In each case, you may use the
STIX Fonts-TM mark to designate the resulting Fonts or subset of the Fonts.
4. You may also (a) add glyphs or characters to the Fonts, or modify the
shape of existing glyphs, so long as the base set of glyphs is not removed and
(b) delete glyphs or characters from the Fonts, provided that the resulting
font set is distributed with the following disclaimer: "This [name] font does
not include all the Unicode points covered in the STIX Fonts-TM set but may
include others." In each case, the name used to denote the resulting font set
shall not include the term "STIX" or any similar term.
5. You may charge a fee in connection with the distribution of the Font
Software, provided that no copy of one or more of the individual Font typefaces
that form the STIX Fonts-TM set may be sold by itself.
6. THE FONT SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
COPYRIGHT, PATENT, TRADEMARK OR OTHER RIGHT. IN NO EVENT SHALL MICROPRESS OR
ANY OF THE STI PUB COMPANIES BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, INCLUDING, BUT NOT LIMITED TO, ANY GENERAL, SPECIAL, INDIRECT,
INCIDENTAL OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM OR OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE
OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
7. Except as contained in the notice set forth in Section 2, the names
MicroPress Inc. and STI Pub Companies, as well as the names of the
companies/organizations that compose the STI Pub Companies, shall not be used
in advertising or otherwise to promote the sale, use or other dealings in the
Font Software without the prior written consent of the respective company or
organization.
8. This License shall become null and void in the event of any material
breach of the Terms and Conditions herein by licensee.
9. A substantial portion of the STIX Fonts set was developed by MicroPress
Inc. for the STI Pub Companies. To obtain additional mathematical fonts, please
contact MicroPress, Inc., 68-30 Harrow Street, Forest Hills, NY 11375, USA -
Phone: (718) 575-1816.

226
stix-fonts.spec Normal file
View File

@ -0,0 +1,226 @@
%define fontname stix
%define fontdir %{_datadir}/fonts/%{fontname}
%define archivename STIXBeta
Name: %{fontname}-fonts
Version: 0.9
Release: 4%{?dist}
Summary: STIX scientific and engineering fonts
Group: User Interface/X
License: STIX
URL: http://www.stixfonts.org/
Source0: %{archivename}.zip
Source1: %{name}-License.txt
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
%description
The mission of the Scientific and Technical Information Exchange (STIX) font
creation project is the preparation of a comprehensive set of fonts that serve
the scientific and engineering community in the process from manuscript
creation through final publication, both in electronic and print formats.
This package includes base Unicode fonts containing most glyphs for standard
use.
%package pua
Group: User Interface/X
Summary: STIX scientific and engineering fonts, PUA glyphs
# Does not really make sense without the core typefaces
Requires: %{name} = %{version}-%{release}
%description pua
The mission of the Scientific and Technical Information Exchange (STIX) font
creation project is the preparation of a comprehensive set of fonts that serve
the scientific and engineering community in the process from manuscript
creation through final publication, both in electronic and print formats.
This package includes fonts containing glyphs called out from the Unicode
Private Use Area (PUA) range. Glyphs in this range do not have an official
Unicode codepoint. They're generally accessible only through specialised
software. Text using them will break if they're ever accepted by the Unicode
Consortium and moved to an official codepoint.
%package integrals
Group: User Interface/X
Summary: STIX scientific and engineering fonts, additional integral glyphs
# Does not really make sense without the core typefaces
Requires: %{name} = %{version}-%{release}
%description integrals
The mission of the Scientific and Technical Information Exchange (STIX) font
creation project is the preparation of a comprehensive set of fonts that serve
the scientific and engineering community in the process from manuscript
creation through final publication, both in electronic and print formats.
This package includes fonts containing additional integrals of various size
and slant.
%package sizes
Group: User Interface/X
Summary: STIX scientific and engineering fonts, additional glyph sizes
# Does not really make sense without the core typefaces
Requires: %{name} = %{version}-%{release}
%description sizes
The mission of the Scientific and Technical Information Exchange (STIX) font
creation project is the preparation of a comprehensive set of fonts that serve
the scientific and engineering community in the process from manuscript
creation through final publication, both in electronic and print formats.
This package includes fonts containing glyphs in additional sizes (Mostly
"fence" and "piece" glyphs).
%package variants
Group: User Interface/X
Summary: STIX scientific and engineering fonts, additional glyph variants
# Does not really make sense without the core typefaces
Requires: %{name} = %{version}-%{release}
%description variants
The mission of the Scientific and Technical Information Exchange (STIX) font
creation project is the preparation of a comprehensive set of fonts that serve
the scientific and engineering community in the process from manuscript
creation through final publication, both in electronic and print formats.
This package includes fonts containing alternative variants of some glyphs.
%prep
%setup -c -q -n %{archivename}
install -m 0644 -p %{SOURCE1} License.txt
for txt in *.txt ; do
fold -s $txt > $txt.new
sed -i 's/\r//' $txt.new
touch -r $txt $txt.new
mv $txt.new $txt
done
%build
# Source format not available
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{fontdir}
install -m 0644 -p *.otf %{buildroot}%{fontdir}
%clean
rm -fr %{buildroot}
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
%postun
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
fi
%post pua
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
%postun pua
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
fi
%post integrals
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
%postun integrals
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
fi
%post sizes
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
%postun sizes
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
fi
%post variants
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
%postun variants
if [ "$1" = "0" ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache -f %{fontdir}
fi
fi
%files
%defattr(0644,root,root,0755)
%doc *.txt
%dir %{fontdir}
%{fontdir}/STIXGeneral*otf
%files pua
%defattr(0644,root,root,0755)
%{fontdir}/STIXNonUni*otf
%files integrals
%defattr(0644,root,root,0755)
%{fontdir}/STIXInt*.otf
%files sizes
%defattr(0644,root,root,0755)
%{fontdir}/STIXSiz*.otf
%files variants
%defattr(0644,root,root,0755)
%{fontdir}/STIXVar*otf
%changelog
* Thu Nov 1 2007 <nicolas.mailhot at laposte.net>
0.9-4
Initial experimental packaging