Separated pong to its own repository

This commit is contained in:
Toasterbirb 2022-01-18 16:27:53 +02:00
parent 77db031342
commit 7784d7dfb5
27 changed files with 3 additions and 17153 deletions

View File

@ -1,6 +1,5 @@
CC=g++
SRCDIR=./src
PONG_SRC=./games/Ping-Pong/src
outputDir=./build
CFLAGS=-fPIC -O2
WarningFlags=-Wpedantic -pedantic -Wall -Wextra
@ -8,7 +7,7 @@ SDL_FLAGS=-lSDL2 -lSDL2main -lSDL2_image -lSDL2_ttf -lSDL2_mixer -lSDL2_gfx
INCLUDES=-I./include
LIBFILE=libbirb2d.so
all: test pong engine_lib
all: test engine_lib
test: tests.o logger.o renderwindow.o values.o timestep.o utils.o math.o
mkdir -p build
@ -17,14 +16,6 @@ test: tests.o logger.o renderwindow.o values.o timestep.o utils.o math.o
run_tests: test
./build/test
pong: pong_main.o logger.o renderwindow.o timestep.o entity.o utils.o audio.o
mkdir -p build
rsync -av ./games/Ping-Pong/res ./build/
$(CC) $^ $(SDL_FLAGS) $(WarningFlags) -o $(outputDir)/pong
pong_main.o: $(PONG_SRC)/pong_entry.cpp
$(CC) -c $(INCLUDES) $(SDL_FLAGS) $(WarningFlags) $^ -o pong_main.o
engine_obj: audio.o entity.o logger.o math.o renderwindow.o timer.o timestep.o utils.o values.o
mkdir -p build
ld -r $^ -o $(outputDir)/birb2d.o
@ -34,12 +25,12 @@ engine_lib: audio.o entity.o logger.o math.o renderwindow.o timer.o timestep.o u
g++ -shared $(SDL_FLAGS) -o $(outputDir)/$(LIBFILE) $^
install: engine_lib
cp $(outputDir)/$(LIBFILE) /usr/local/lib/
cp $(outputDir)/$(LIBFILE) /usr/lib/
mkdir -p /usr/local/include/birb2d
cp ./include/* /usr/local/include/birb2d/
uninstall:
rm -f /usr/local/lib/$(LIBFILE)
rm -f /usr/lib/$(LIBFILE)
rm -rf /usr/local/include/birb2d
audio.o: $(SRCDIR)/audio.cpp

View File

@ -1,242 +0,0 @@
-*- mode:text; coding:utf-8; -*-
GNU FreeFont Authors
====================
The FreeFont collection is being maintained by
Steve White <stevan.white AT googlemail.com>
The folowing list cites the other contributors that contributed to
particular ISO 10646 blocks.
* URW++ Design & Development GmbH <http://www.urwpp.de/>
Basic Latin (U+0041-U+007A)
Latin-1 Supplement (U+00C0-U+00FF) (most)
Latin Extended-A (U+0100-U+017F)
Spacing Modifier Letters (U+02B0-U+02FF)
Mathematical Operators (U+2200-U+22FF) (parts)
Block Elements (U+2580-U+259F)
Dingbats (U+2700-U+27BF)
* Yannis Haralambous <yannis.haralambous AT enst-bretagne.fr> and John
Plaice <plaice AT omega.cse.unsw.edu.au>
Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)
Greek (U+0370-U+03FF)
Armenian (U+0530-U+058F)
Hebrew (U+0590-U+05FF)
Arabic (U+0600-U+06FF)
Currency Symbols (U+20A0-U+20CF)
Arabic Presentation Forms-A (U+FB50-U+FDFF)
Arabic Presentation Forms-B (U+FE70-U+FEFF)
* Yannis Haralambous and Wellcome Institute
Sinhala (U+0D80-U+0DFF)
* Young U. Ryu <ryoung AT utdallas.edu>
Arrows (U+2190-U+21FF)
Mathematical Symbols (U+2200-U+22FF)
Mathematical Alphanumeric Symbols (U+1D400-U+1D7FF)
* Valek Filippov <frob AT df.ru>
Cyrillic (U+0400-U+04FF)
* Wadalab Kanji Comittee
Hiragana (U+3040-U+309F)
Katakana (U+30A0-U+30FF)
* Angelo Haritsis <ah AT computer.org>
Greek (U+0370-U+03FF)
* Yannis Haralambous and Virach Sornlertlamvanich
Thai (U+0E00-U+0E7F)
* Shaheed R. Haque <srhaque AT iee.org>
Bengali (U+0980-U+09FF)
* Sam Stepanyan <sam AT arminco.com>
Armenian (U+0530-U+058F)
* Mohamed Ishan <ishan AT mitf.f2s.com>
Thaana (U+0780-U+07BF)
* Sushant Kumar Dash <sushant AT writeme.com>
Oriya (U+0B00-U+0B7F)
* Harsh Kumar <harshkumar AT vsnl.com>
Devanagari (U+0900-U+097F)
Bengali (U+0980-U+09FF)
Gurmukhi (U+0A00-U+0A7F)
Gujarati (U+0A80-U+0AFF)
* Prasad A. Chodavarapu <chprasad AT hotmail.com>
Telugu (U+0C00-U+0C7F)
* Frans Velthuis <velthuis AT rc.rug.nl> and Anshuman Pandey
<apandey AT u.washington.edu>
Devanagari (U+0900-U+097F)
* Hardip Singh Pannu <HSPannu AT aol.com>
Gurmukhi (U+0A00-U+0A7F)
* Jeroen Hellingman <jehe AT kabelfoon.nl>
Oriya (U+0B00-U+0B7F)
Malayalam (U+0D00-U+0D7F)
* Thomas Ridgeway <email needed>
Tamil (U+0B80-U+0BFF)
* Berhanu Beyene <1beyene AT informatik.uni-hamburg.de>,
Prof. Dr. Manfred Kudlek <kudlek AT informatik.uni-hamburg.de>, Olaf
Kummer <kummer AT informatik.uni-hamburg.de>, and Jochen Metzinger <?>
Ethiopic (U+1200-U+137F)
* Maxim Iorsh <iorsh AT users.sourceforge.net>
Hebrew (U+0590-U+05FF)
* Vyacheslav Dikonov <sdiconov AT mail.ru>
Syriac (U+0700-U+074A)
Braille (U+2800-U+28FF)
* Panayotis Katsaloulis <panayotis AT panayotis.com>
Greek Extended (U+1F00-U+1FFF)
* M.S. Sridhar <mssridhar AT vsnl.com>
Devanagari (U+0900-U+097F)
Bengali (U+0980-U+09FF)
Gurmukhi (U+0A00-U+0A7F)
Gujarati (U+0A80-U+0AFF)
Oriya (U+0B00-U+0B7F)
Tamil (U+0B80-U+0BFF)
Telugu (U+0C00-U+0C7F)
Kannada (U+0C80-U+0CFF)
Malayalam (U+0D00-U+0D7F)
* DMS Electronics, The Sri Lanka Tipitaka Project, and Noah Levitt
<nlevitt AT columbia.edu>
Sinhala (U+0D80-U+0DFF)
* Dan Shurovich Chirkov <dansh AT chirkov.com>
Cyrillic (U+0400-U+04FF)
* Abbas Izad <abbasizad AT hotmail.com>
Arabic (U+0600-U+06FF)
Arabic Presentation Forms-A (U+FB50-U+FDFF)
Arabic Presentation Forms-B (U+FE70-U+FEFF)
* Denis Jacquerye <moyogo AT gmail.com>
Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)
* K.H. Hussain <hussain AT kfri.org> and R. Chitrajan
Malayalam (U+0D00-U+0D7F)
* Solaiman Karim <solaiman AT ekushey.org> and Omi Azad <omi AT ekushey.org>
Bengali (U+0980-U+09FF)
* Sonali Sonania <sonalisonania AT gmail.com> and Monika Shah
<monikapatira AT gmail.com>
Devanagari (U+0900-U+097F)
Gujarati (U+0A80-U+0AFF)
* Pravin Satpute <pravin.d.s AT gmail.com>, Bageshri Salvi
<sbagrshri AT yahoo.co.in>, Rahul Bhalerao <b.rahul.pm AT gmail.com> and
Sandeep Shedmake <sandeep.shedmake AT gmail.com>
Devanagari (U+0900-U+097F)
Gujarati (U+0A80-U+0AFF)
Oriya (U+0B00-U+0B7F)
Malayalam (U+0D00-U+0D7F)
Tamil (U+0B80-U+0BFF)
* Kulbir Singh Thind
Gurmukhi (U+0A00-U+0A7F)
* Gia Shervashidze <giasher AT telenet.ge>
Georgian (U+10A0-U+10FF)
* Daniel Johnson
Armenian (serif) (U+0530-U+058F)
Cherokee (U+13A0-U+13FF)
Unified Canadian Aboriginal Syllabics (U+1400-U+167F)
UCAS Extended (U+18B0-U+18F5)
Tifinagh (U+2D30-U+2D7F)
Vai (U+A500-U+A62B)
Latin Extended-D (Mayanist letters) (U+A720-U+A7FF)
Kayah Li (U+A900-U+A92F)
Osmanya (U+10480-U+104a7)
* George Douros
Gothic (U+10330-U+1034F)
Phoenecian (U+10900-U+1091F)
Byzantine Musical Symbols (U+1D000-U+1D0FF)
Western Musical Symbols (U+1D100-U+1D1DF)
Mathematical Alphanumeric Symbols (U+1D400-U+1D7FF)
Mah Jong Tiles (U+1F000-U+1F02B)
Dominoes (U+1F030-U+1F093)
* Steve White <stevan_white AT gmail.com>
Glagolitic (U+2C00-U+2C5F)
Coptic (U+2C80-U+2CFF)
Arabic (U+0600-U+06FF) (Mono)
Old Italic (U+10300-U+1032F)
* Pavel Skrylev is responsible for
Cyrillic Extended-A (U+2DEO-U+2DFF)
as well as many of the additions to
Cyrillic Extended-B (U+A640-U+A65F)
* Mark Williamson
Made the MPH 2 Damase font, from which
Hanunóo (U+1720-U+173F)
Buginese (U+1A00-U+1A1F)
Tai Le (U+1950-U+197F)
Ugaritic (U+10380-U+1039F)
Old Persian (U+103A0-U+103DF)
* Masoud Pourmoosa
Arabic (U+0600-U+06FF)
* Emmanuel Vallois
Python scripts, support
* Primož Peterlin <primoz.peterlin AT biofiz.mf.uni-lj.si>
maintained FreeFont for several years, and is thanked for all his work.
Please see the CREDITS file for details on who contributed particular
subsets of the glyphs in font files.
--------------------------------------------------------------------------
$Id: AUTHORS,v 1.23 2010-09-11 13:24:11 Stevan_White Exp $

View File

@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -1,597 +0,0 @@
-*- mode:text; coding:utf-8; -*-
GNU FreeFont Credits
====================
This file lists contributors and contributions to the GNU FreeFont project.
* URW++ Design & Development GmbH <http://www.urwpp.de/>
URW++ donated a set of 35 core PostScript Type 1 fonts to the
Ghostscript project <http://www.ghostscript.com/>, to be available
under the terms of GNU General Public License (GPL).
Basic Latin (U+0041-U+007A)
Latin-1 Supplement (U+00C0-U+00FF)
Latin Extended-A (U+0100-U+017F)
Spacing Modifier Letters (U+02B0-U+02FF)
Mathematical Operators (U+2200-U+22FF)
Block Elements (U+2580-U+259F)
Dingbats (U+2700-U+27BF)
* Yannis Haralambous <yannis.haralambous AT enst-bretagne.fr> and John
Plaice <plaice AT omega.cse.unsw.edu.au>
Yannis Haralambous and John Plaice are the authors of Omega typesetting
system, <http://omega.enstb.org/>. Omega is an extension of TeX.
Its first release, aims primarily at improving TeX's multilingual abilities.
In Omega all characters and pointers into data-structures are 16-bit wide,
instead of 8-bit, thereby eliminating many of the trivial limitations of TeX.
Omega also allows multiple input and output character sets, and uses
programmable filters to translate from one encoding to another, to perform
contextual analysis, etc. Internally, Omega uses the universal 16-bit Unicode
standard character set, based on ISO-10646. These improvements not only make
it a lot easier for TeX users to cope with multiple or complex languages,
like Arabic, Indic, Khmer, Chinese, Japanese or Korean, in one document, but
will also form the basis for future developments in other areas, such as
native color support and hypertext features. ... Fonts for UT1 (omlgc family)
and UT2 (omah family) are under development: these fonts are in PostScript
format and visually close to Times and Helvetica font families.
Omega fonts are available subject to GPL
Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)
Greek (U+0370-U+03FF)
Armenian (U+0530-U+058F)
Hebrew (U+0590-U+05FF)
Arabic (U+0600-U+06FF)
Currency Symbols (U+20A0-U+20CF)
Arabic Presentation Forms-A (U+FB50-U+FDFF)
Arabic Presentation Forms-B (U+FE70-U+FEFF)
Current info: <http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=omega>
* Valek Filippov <frob AT df.ru>
Valek Filippov added Cyrillic glyphs and composite Latin Extended A to
the whole set of the abovementioned URW set of 35 PostScript core fonts,
<ftp://ftp.gnome.ru/fonts/>. The fonts are available under GPL.
(The Cyrillic range was since replaced by another font.)
Latin Extended-A (U+0100-U+017F)
* Wadalab Kanji Comittee
Between April 1990 and March 1992, Wadalab Kanji Comittee put together a
series of scalable font files with Japanese scripts, in four forms:
Sai Micho, Chu Mincho, Cho Kaku and Saimaru.
The font files are written in custom file format, while tools for conversion
into Metafont and PostScript Type 1 are also supplied. The Wadalab Kanji
Comittee was later dismissed. The resulting files were once found on the FTP
server of the Department of Mathematical Engineering and Information Physics,
Faculty of Engineering, University of Tokyo. Some of these are available at
<http://www.ctan.org/tex-archive/fonts/wadalab>
Hiragana (U+3040-U+309F)
Katakana (U+30A0-U+30FF)
* Young U. Ryu <ryoung AT utdallas.edu>
Young Ryu is the author of Txfonts, a set of mathematical symbols
designed to accompany text typeset in Times or its variants. In the
documentation, Young adresses the design of mathematical symbols: "The
Adobe Times fonts are thicker than the CM fonts. Designing math fonts
for Times based on the rule thickness of Times = , , + , / , < ,
etc. would result in too thick math symbols, in my opinion. In the TX
fonts, these glyphs are thinner than those of original Times
fonts. That is, the rule thickness of these glyphs is around 85% of
that of the Times fonts, but still thicker than that of the CM fonts."
TX fonts are are distributed under the GNU public license (GPL).
<http://www.ctan.org/tex-archive/fonts/txfonts/>.
Arrows (U+2190-U+21FF)
Mathematical Symbols (U+2200-U+22FF)
* Angelo Haritsis <ah AT computer.org>
Angelo Haritsis has compiled a set of Greek Type 1 fonts, once available as
as a tarball named greekXfonts-Type1-1.1.tgz.
The glyphs from this source have been used to compose Greek glyphs in
FreeSans and FreeMono.
Angelo's licence says: "You can enjoy free use of these fonts for
educational or commercial purposes. All derived works should include
this paragraph. If you want to change something please let me have
your changes (via email) so that they can go into the next
version. You can also send comments etc to the above address."
Greek (U+0370-U+03FF)
* Yannis Haralambous and Virach Sornlertlamvanich
In 1999, Yannis Haralambous and Virach Sornlertlamvanich made a set of
glyphs covering the Thai national standard Nf3, in both upright and
slanted shape. The collection of glyphs have been made part of GNU
intlfonts 1.2 package and is available under the GPL at
<ftp://ftp.gnu.org/pub/gnu/intlfonts/>.
Thai (U+0E00-U+0E7F)
* Shaheed R. Haque <srhaque AT iee.org>
Shaheed Haque has developed a basic set of basic Bengali glyphs
(without ligatures), using ISO10646 encoding. They are available under
the XFree86 license at <http://www.btinternet.com/~shaheedhaque/>.
Copyright (C) 2001 S.R.Haque <srhaque AT iee.org>. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL S.R.HAQUE BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of S.R.Haque shall not be
used in advertising or otherwise to promote the sale, use or other
dealings in this Software without prior written authorization from
S.R.Haque.
Bengali (U+0980-U+09FF)
* Sam Stepanyan <sam AT arminco.com>
Sam Stepanyan created a set of Armenian sans serif glyphs visually
compatible with Helvetica or Arial. Available on
<http://www.editum.com.ar/mashtots/html/fonts/ara.tar.gz>. On
2002-01-24, Sam writes: "Arial Armenian font is free for
non-commercial use, so it is OK to use under GPL license."
Armenian (U+0530-U+058F)
* Mohamed Ishan <>
Mohamed Ishan started the Thaana Unicode Project and among other things
created a couple of Thaana fonts, available under FDL or BDF license.
Thaana (U+0780-U+07BF)
* Sushant Kumar Dash <sushant AT writeme.com> (*)
Sushant Dash has created a font in his mother tongue, Oriya. As he
states on his web page <http://sushantdash.tripod.com/>:
"Please feel free to foreword this mail to your Oriya friends. No
copyright law is applied for this font. It is totally free!!! Feel
free to modify this using any font editing tools. This is designed for
people like me, who are away from Orissa and want to write letters
home using Computers, but suffer due to unavailability of Oriya
fonts.(Or the cost of the available packages are too much)."
Oriya (U+0B00-U+0B7F)
* Harsh Kumar <harshkumar AT vsnl.com>
Harsh Kumar has started BharatBhasha <http://www.bharatbhasha.net/> -
an effort to provide "FREE software, Tutorial, Source Codes
etc. available for working in Hindi, Marathi, Gujarati, Gurmukhi and
Bangla. You can type text, write Web pages or develop Indian Languages
Applications on Windows and on Linux. We also offer FREE help to
users, enthusiasts and software developers for their work in Indian
languages."
Devanagari (U+0900-U+097F)
Bengali (U+0980-U+09FF)
Gurmukhi (U+0A00-U+0A7F)
Gujarati (U+0A80-U+0AFF)
* Prasad A. Chodavarapu <chprasad AT hotmail.com>
Prasad A. Chodavarapu created Tikkana, a Telugu font available in Type
1 and TrueType format on <http://chaitanya.bhaavana.net/fonts/>.
Tikkana exceeds the Unicode Telugu range with some composite glyphs.
Available under the GNU General Public License.
Telugu (U+0C00-U+0C7F)
* Frans Velthuis <velthuis AT rc.rug.nl> and Anshuman Pandey
<apandey AT u.washington.edu>
In 1991, Frans Velthuis from the Groningen University, The Netherlands,
released a Devanagari font as Metafont source, available under the terms of
GNU GPL. Later, Anshuman Pandey from the Washington University, Seattle, USA,
took over the maintenance of font. Zdeněk Wagner has provided a huge amount
of expert advice regarding the implementation of the font in FreeSerif.
Fonts can be found on CTAN,
<ftp://ftp.dante.de/tex-archive/language/devanagari/>.
Devanagari (U+0900-U+097F)
* Hardip Singh Pannu <HSPannu AT aol.com>
In 1991, Hardip Singh Pannu has created a free Gurmukhi TrueType font,
available as regular, bold, oblique and bold oblique form. Its license
says "Please remember that these fonts are copyrighted (by me) and are
for non-profit use only."
Gurmukhi (U+0A00-U+0A7F)
* Jeroen Hellingman <jehe AT kabelfoon.nl>
Jeroen Hellingman created a set of Malayalam metafonts in 1994, and a
set of Oriya metafonts in 1996. Malayalam fonts were created as
uniform stroke only, while Oriya metafonts exist in both uniform and
modulated stroke. From private communication: "It is my intention to
release the fonts under GPL, but not all copies around have this
notice on them." Metafonts can be found on CTAN,
<ftp://ftp.dante.de/tex-archive/language/oriya/> and
<ftp://ftp.dante.de/tex-archive/language/malayalam/>.
Oriya (U+0B00-U+0B7F)
Malayalam (U+0D00-U+0D7F)
* Thomas Ridgeway <> (*)
Thomas Ridgeway, then at the Humanities And Arts Computing Center,
Washington University, Seattle, USA, (now defunct), created a Tamil
metafont in 1990. Anshuman Pandey from the same university took over
the maintenance of font. Fonts can be found at CTAN,
<ftp://ftp.dante.de/tex-archive/language/tamil/wntamil/>.
Tamil (U+0B80-U+0BFF)
* Berhanu Beyene <1beyene AT informatik.uni-hamburg.de>,
Prof. Dr. Manfred Kudlek <kudlek AT informatik.uni-hamburg.de>, Olaf
Kummer <kummer AT informatik.uni-hamburg.de>, and Jochen Metzinger <?>
Beyene, Kudlek, Kummer and Metzinger from the Theoretical Foundations
of Computer Science, University of Hamburg, prepared a set of Ethiopic
metafonts, found on
<ftp://ftp.dante.de/tex-archive/language/ethiopia/ethiop/>. They also
maintain home page on the Ethiopic font project,
<http://www.informatik.uni-hamburg.de/TGI/mitarbeiter/wimis/kummer/ethiop_eng.html>,
and can be reached at <ethiop AT informatik.uni-hamburg.de>. The current
version of fonts is 0.7 (1998), and they are released under GNU GPL. I
converted the fonts to Type 1 format using Péter Szabó's TeXtrace-A
program <http://www.inf.bme.hu/~pts/textrace/> and removed some
redundant control points with PfaEdit.
Ethiopic (U+1200-U+137F)
* Maxim Iorsh <iorsh AT users.sourceforge.net>
In 2002, Maxim Iorsh started the Culmus project, aiming at providing
Hebrew-speaking Linux and Unix community with a basic collection of
Hebrew fonts for X Windows. The fonts are visually compatible with
URW++ Century Schoolbook L, URW++ Nimbus Sans L and URW++ Nimbus Mono
L families, respectively, and are released under GNU GPL license. See
also <http://culmus.sourceforge.net/>.
Hebrew (U+0590-U+05FF)
* Panayotis Katsaloulis <panayotis AT panayotis.com>
Panayotis Katsaloulis helped fixing Greek accents in the Greek
Extended area.
Greek Extended (U+1F00-U+1FFF)
* Vyacheslav Dikonov <sdiconov AT mail.ru>
Vyacheslav Dikonov made a Braille unicode font that could be merged
with the UCS fonts to fill the 2800-28FF range completely. (uniform
scaling is possible to adapt it to any cell size). He also contributed
a free syriac font, whose glyphs (about half of them) are borrowed
from the "Carlo Ator" font by Tim Erickson.
Vyacheslav also filled in a few missing
spots in the U+2000-U+27FF area, e.g. the box drawing section, sets of
subscript and superscript digits and capital Roman numbers.
Syriac (U+0700-U+074A)
Box Drawing (U+2500-U+257F)
Braille (U+2800-U+28FF)
* Tim Erickson
Is the author of several Eurasian fonts, including "Carlo Ator".
He has given his written permission for glyphs from this font to be
included in FreeFont.
Syriac (U+0700-U+074A)
* M.S. Sridhar <mssridhar AT vsnl.com>
M/S Cyberscape Multimedia Limited, Mumbai, developers of Akruti
Software for Indian Languages (http://www.akruti.com/), have released
a set of TTF fonts for nine Indian scripts (Devanagari, Gujarati,
Telugu, Tamil, Malayalam, Kannada, Bengali, Oriya, and Gurumukhi)
under the GNU General Public License (GPL). You can download the fonts
from the Free Software Foundation of India WWW site
(http://www.gnu.org.in/akruti-fonts/) or from the Akruti website.
For any further information or assistance regarding these fonts,
please contact mssridhar AT vsnl.com.
Devanagari (U+0900-U+097F)
Bengali (U+0980-U+09FF)
Gurmukhi (U+0A00-U+0A7F)
Gujarati (U+0A80-U+0AFF)
Oriya (U+0B00-U+0B7F)
Tamil (U+0B80-U+0BFF)
Telugu (U+0C00-U+0C7F)
Kannada (U+0C80-U+0CFF)
Malayalam (U+0D00-U+0D7F)
* DMS Electronics, The Sri Lanka Tipitaka Project, and Noah Levitt
<nlevitt AT columbia.edu>
Noah Levitt found out that the Sinhalese fonts available on the site
<http://www.metta.lk/fonts/> are released under GNU GPL, or,
precisely, "Public Domain under GNU Licence Produced by DMS
Electronics for The Sri Lanka Tipitaka Project" (taken from the font
comment), and took the effort of recoding the font to Unicode.
These glyphs were later replaced by those from the LKLUG font
<http://www.lug.lk/fonts/lklug>
Finally the range was completely replaced by glyphs from the sinh TeX
font, with much help and advice from Harshula Jayasuriya.
Sinhala (U+0D80-U+0DFF)
* Daniel Shurovich Chirkov <dansh AT chirkov.com>
Dan Chirkov updated the FreeSerif font with the missing Cyrillic
glyphs needed for conformance to Unicode 3.2. The effort is part of
the Slavjanskij package for Mac OS X,
<http://www.versiontracker.com/dyn/moreinfo/macosx/18680>.
Cyrillic (U+0400-U+04FF)
* Denis Jacquerye <moyogo AT gmail.com>
Denis Jacquerye added new glyphs and corrected existing ones in the
Latin Extended-B and IPA Extensions ranges.
Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)
* K.H. Hussain <hussain AT kfri.org> and R. Chitrajan
`Rachana' in Malayalam means `to write', `to create'. Rachana Akshara Vedi,
a team of socially committed information technology professionals and
philologists, has applied developments in computer technology and desktop
publishing to resurrect the Malayalam language from the disorder,
fragmentation and degeneration it had suffered since the attempt to adapt
the Malayalam script for using with a regular mechanical typewriter, which
took place in 1967-69. K.H. Hussein at the Kerala Forest Research Institute
has released "Rachana Normal" fonts with approximately 900 glyphs required
to typeset traditional Malayalam. R. Chitrajan apparently encoded the
glyphs in the OpenType table.
In 2008, the Malayalam ranges in FreeSerif were updated under the advise
and supervision of Hiran Venugopalan of Swathanthra Malayalam Computing,
to reflect the revised edition Rachana_04.
Malayalam (U+0D00-U+0D7F)
* Solaiman Karim <solaiman AT ekushey.org>
Bengali (U+0980-U+09FF)
Solaiman Karim has developed several OpenType Bangla fonts and
released them under GNU GPL on <http://www.ekushey.org>.
* Sonali Sonania <sonalisonania AT gmail.com> and Monika Shah
<monikapatira AT gmail.com>
Devanagari (U+0900-U+097F)
Gujarati (U+0A80-U+0AFF)
Glyphs were drawn by Cyberscape Multimedia Ltd., #101,Mahalakshmi
Mansion 21st Main 22nd "A" Cross Banashankari 2nd stage Banglore
560070, India. Converted to OTF by IndicTrans Team, Powai, Mumbai,
lead by Prof. Jitendra Shah. Maintained by Monika Shah and Sonali
Sonania of janabhaaratii Team, C-DAC, Mumbai. This font is released
under GPL by Dr. Alka Irani and Prof Jitendra Shah, janabhaaratii
Team, C-DAC, Mumabi. janabhaaratii is localisation project at C-DAC
Mumbai (formerly National Centre for Software Technology); funded by
TDIL, Govt. of India. Contact:monika_shah AT lycos.com,
sonalisonania AT yahoo.com, jitendras AT vsnl.com, alka AT ncst.ernet.in.
website: www.janabhaaratii.org.in.
* Pravin Satpute <pravin.d.s AT gmail.com>, Bageshri Salvi
<sbagrshri AT yahoo.co.in>, Rahul Bhalerao <b.rahul.pm AT
gmail.com> and Sandeep Shedmake <sandeep.shedmake AT gmail.com>
Devanagari (U+0900-U+097F)
Gujarati (U+0A80-U+0AFF)
Oriya (U+0B00-U+0B7F)
Malayalam (U+0D00-U+0D7F)
Tamil (U+0B80-U+0BFF)
In December 2005 the team at www.gnowledge.org released a set of two
Unicode pan-Indic fonts: "Samyak" and "Samyak Sans". "Samyak" font
belongs to serif style and is an original work of the team; "Samyak
Sans" font belongs to sans serif style and is actually a compilation
of already released Indic fonts (Gargi, Padma, Mukti, Utkal, Akruti
and ThendralUni). Both fonts are based on Unicode standard.
The fonts are now hosted at Sarovar.org:
http://sarovar.org/projects/samyak/
* Kulbir Singh Thind
Gurmukhi (U+0A00-U+0A7F)
Dr. Kulbir Singh Thind designed a set of Gurmukhi Unicode fonts,
AnmolUni and AnmolUni-Bold, which are available under the terms of GNU
Generel Public License from the Punjabu Computing Resource Center,
http://guca.sourceforge.net/typography/fonts/anmoluni/.
* Gia Shervashidze <giasher AT telenet.ge>
Georgian (U+10A0-U+10FF)
Starting in mid-1990s, Gia Shervashidze designed many
Unicode-compliant Georgian fonts: Times New Roman Georgian, Arial
Georgian, Courier New Georgian. His work on Georgian localization can
be reached at http://www.gia.ge/.
* Primož Peterlin <primoz.peterlin AT biofiz.mf.uni-lj.si>
Primož Peterlin filled in missing glyphs here and there (e.g. Latin
Extended-B and IPA Extensions ranges in the FreeMono familiy), and
created the following UCS blocks:
Latin Extended-B (U+0180-U+024F)
IPA Extensions (U+0250-U+02AF)
Arrows (U+2190-U+21FF)
Box Drawing (U+2500-U+257F)
Block Elements (U+2580-U+259F)
Geometrical Shapes (U+25A0-U+25FF)
* Mark Williamson
Made the MPH 2 Damase font, from which
Hanunóo (U+1720-U+173F)
Buginese (U+1A00-U+1A1F)
Tai Le (U+1950-U+197F)
Ugaritic (U+10380-U+1039F)
Old Persian (U+103A0-U+103DF)
* Jacob Poon
Submitted a very thorough survey of glyph problems and other suggestions.
* Alexey Kryukov
Made the TemporaLCGUni fonts, based on the URW++ fonts, from which at one
point FreeSerif Cyrillic, and some of the Greek, was drawn. He also provided
valuable direction about Cyrillic and Greek typesetting.
Cyrillic (U+0400-U+04FF)
* George Douros
The creator of several fonts focusing on ancient scripts and symbols.
Many of the glyphs are created by making outlines from scanned images
of ancient sources.
Aegean: Phoenecian
Analecta: Gothic (U+10330-U+1034F)
Musical: Byzantine & Western
Unicode: many Miscellaneous Symbols, Miscellaneous Technical, OCR,
supplemental Symbols, and Mathematical Alphanumeric symbols,
Mah Jong, and the outline of the Domino.
* Daniel Johnson
Created by hand a Cherokee range specially for FreeFont to be "in line with
the classic Cherokee typefaces used in 19th century printing", but also to
fit well with ranges previously in FreeFont. Then he made Unified Canadian
Syllabics in Sans, and a Cherokee and Kayah Li in Mono! And never to be
outdone by himself, then did UCAS Extended and Osmanya.... What next?
Armenian (serif) (U+0530-U+058F)
Cherokee (U+13A0-U+13FF)
Unified Canadian Aboriginal Syllabics (U+1400-U+167F)
UCAS Extended (U+18B0-U+18F5)
Kayah Li (U+A900-U+A92F)
Tifinagh (U+2D30-U+2D7F)
Vai (U+A500-U+A62B)
Latin Extended-D (Mayanist letters) (U+A720-U+A7FF)
Osmanya (U+10480-U+104a7)
* Yannis Haralambous and Wellcome Institute
In 1994, The Wellcome Library
The Wellcome Institute for the History of Medicine
183 Euston Road, London NW1 2BE, England.
commissioned Mr. Haralambous to produce a Sinhalese font for them.
We have received 03/09 official notice from Robert Kiley, Head of e-Strategy
for the Wellcome Library, that Yannis' font could be included in GNU
FreeFont under its GNU license.
Thanks to Dominik Wujastyk, for providing us with feedback and contacts
to repsonsible people at the Trust.
Sinhala (U+0D80-U+0DFF)
* The Sinhala font project http://sinhala.sourceforge.net/
The Sinhala font project has taken the glyphs from Yannis Haralambous'
Sinhala font, to produce a Unicode TrueType font, LKLUG. These glyphs
were for a while included in FreeFont.
Sinhala (U+0D80-U+0DFF)
* Steve White <stevan.white AT googlemail.com>
Filled in a lot of missing characters, got some font features working,
left fingerprints almost everywhere, and is responsible for these blocks:
Runic (U+16A0-U+16F0)
Glagolitic (U+2C00-U+2C5F)
Coptic (U+2C80-U+2CFF)
Old Italic (U+10300-U+1032F)
(The design of Runic is based roughly on one originally submitted by
Vyacheslav Dikonov)
* Pavel Skrylev is responsible for
Cyrillic Extended-A (U+2DEO-U+2DFF)
as well as many of the additions to
Cyrillic Extended-B (U+A640-U+A65F)
* Masoud Pourmoosa corrected several letters in Arabic for Persian:
Arabic (U+0600-U+06FF)
Notes:
*: The glyph collection looks license-compatible, but its author has
not yet replied and agreed on their work being used in part of
this glyph collection.
--------------------------------------------------------------------------
$Id: CREDITS,v 1.28 2010/09/11 13:24:11 Stevan_White Exp $

File diff suppressed because it is too large Load Diff

View File

@ -1,98 +0,0 @@
Installing GNU FreeFont
=======================
GNU FreeFont can be used in any modern operating system.
This document explains how to install FreeFont on some common systems.
UNIX/GNU/Linux/BSD Systems
--------------------------
FreeFont works with any system using the free font rasterizer FreeType
<http://www.freetype.org/>. Some features such as glyph substitution and
positioning may be handled by the text layout library
Pango <http://www.pango.org/>.
Most recent systems using FreeType2 and Pango handle OpenType fonts well,
but on older systems TrueType may perform better.
* Debian GNU/Linux
Users of Debian GNU/Linux system will probably want to use the Debian package,
named 'ttf-freefont', available from the Debian Linux site.
Install the fonts by issuing the command
apt-get install ttf-freefont
* KDE local installation
Users of KDE can install .ttf files on a per-user basis using the KDE
Control Center module "kcmfontinst", which may appear in the menu as
Settings -> System Administration -> Font Installer
This is especially helpful for developers and testers.
* Generic X Window systems
1) Fetch the freefont-ttf.tar.gz package with Free UCS outline fonts
in the TrueType format.
2) Unpack TrueType fonts into a suitable directory,
e.g. /usr/local/share/fonts/default/TrueType/
3) If you have chosen any other directory, make sure the directory you
used to install the fonts is listed in the path searched by the X
Font Server by editing the config file in /etc/X11/.
In some systems, you list the directory in the item "catalogue="
in the file /etc/X11/fs/config.
4) Run ttmkfdir in the directory where you unpacked the fonts.
Microsoft Windows 95/98/NT/2000/XP; Vista/7
-------------------------------------------
Note that in at least Windows 7, Vista, XP and 2000, the TrueType versions
perform much better than, and are recommended over, the OpenType ones.
For good font smoothing in Windows, Microsoft ClearType must be enabled.
The native Windows web browser must be used to install, enable, and configure
ClearType. A web search for "ClearType Tuner" will find the proper web pages.
Recent versions of the browser raise a security block (a yellow bar at the
top of the window), which you must act upon to allow installation. A
checkbox in the window turns ClearType on (in Win-speek, "Turn on ClearType").
The change happens immediately.
* Vista, Windows 7:
1) From the Start menu, open Control Panels
2) Drag-n-drop font files onto Fonts control panel
You may get a dialog saying
"Windows needs your permission to continue"
a) Click Continue
* 95/98/NT:
The font installation is similar to Vista.
In order to use OpenType, users of Windows 95, 98 and NT 4.0 can
install Adobe's 'Type Manager Light', which may be obtained from
the Adobe web site.
Otherwise, use the TrueType versions.
Apple Mac OS X
--------------
Support for OpenType on MacOS X started with OS 10.4, and has been improved
gradually in later versions.
Installing on Mac OS X consists of moving the font files to either
/Library/Fonts/ or ~/Library/Fonts/
depending on whether they should be available to all users on your system
or just to your own user.
--------------------------------------------------------------------------
$Id: INSTALL,v 1.11 2011-06-12 07:14:12 Stevan_White Exp $

View File

@ -1,127 +0,0 @@
-*-text-*-
GNU FreeFont
The GNU FreeFont project aims to provide a useful set of free scalable
(i.e., OpenType) fonts covering as much as possible of the ISO 10646/Unicode
UCS (Universal Character Set).
Statement of Purpose
--------------------
The practical reason for putting glyphs together in a single font face is
to conveniently mix symbols and characters from different writing systems,
without having to switch fonts.
Coverage
--------
FreeFont covers the following character ranges
* Latin, Cyrillic, and Arabic, with supplements for many languages
* Greek, Hebrew, Armenian, Georgian, Thaana, Syriac
* Devanagari, Bengali, Gujarati, Gurmukhi, Sinhala, Tamil, Malayalam
* Thai, Tai Le, Kayah Li, Hanunóo, Buginese
* Cherokee, Unified Canadian Aboriginal Syllabics
* Ethiopian, Tifnagh, Vai, Osmanya, Coptic
* Glagolitic, Gothic, Runic, Ugaritic, Old Persian, Phoenician, Old Italic
* Braille, International Phonetic Alphabet
* currency symbols, general punctuation and diacritical marks, dingbats
* mathematical symbols, including much of the TeX repertoire of symbols
* technical symbols: APL, OCR, arrows,
* geometrical shapes, box drawing
* musical symbols, gaming symbols, miscellaneous symbols
etc.
For more detail see <http://www.gnu.org/software/freefont/coverage.html>
Editing
-------
The free outline font editor, George Williams' FontForge
<http://fontforge.sourceforge.net/> is used for editing the fonts.
Design Issues
-------------
Which font shapes should be made? Historical style terms like Renaissance
or Baroque letterforms cannot be applied beyond Latin/Cyrillic/Greek
scripts to any greater extent than Kufi or Nashki can be applied beyond
Arabic script; "italic" is strictly meaningful only for Latin letters,
although many scripts such as Cyrillic have a history with "cursive" and
many others with "oblique" faces.
However, most modern writing systems have typographic formulations for
contrasting uniform and modulated character stroke widths, and since the
advent of the typewriter, most have developed a typographic style with
uniform-width characters.
Accordingly, the FreeFont family has one monospaced - FreeMono - and two
proportional faces (one with uniform stroke - FreeSans - and one with
modulated stroke - FreeSerif).
The point of having characters from different writing systems in one font
is that mixed text should look good, and so each FreeFont face contains
characters of similar style and weight.
Licensing
---------
Free UCS scalable fonts is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
The fonts are distributed in the hope that they will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, if you create a document which uses this font, and
embed this font or unaltered portions of this font into the document, this
font does not by itself cause the resulting document to be covered by the
GNU General Public License. This exception does not however invalidate any
other reasons why the document might be covered by the GNU General Public
License. If you modify this font, you may extend this exception to your
version of the font, but you are not obligated to do so. If you do not
wish to do so, delete this exception statement from your version.
Files and their suffixes
------------------------
The files with .sfd (Spline Font Database) are in FontForge's native format.
They may be used to modify the fonts.
TrueType fonts are the files with the .ttf (TrueType Font) suffix. These
are ready to use in Linux/Unix, on Apple Mac OS, and on Microsoft Windows
systems.
OpenType fonts (with suffix .otf) are preferred for use on Linux/Unix,
but *not* for recent Microsoft Windows systems.
See the INSTALL file for more information.
Web Open Font Format files (with suffix .woff) are for use in Web sites.
See the webfont_guidelines.txt for further information.
Further information
-------------------
Home page of GNU FreeFont:
http://www.gnu.org/software/freefont/
More information is at the main project page of Free UCS scalable fonts:
http://savannah.gnu.org/projects/freefont/
To report problems with GNU FreeFont, it is best to obtain a Savannah
account and post reports using that account on
https://savannah.gnu.org/bugs/
Public discussions about GNU FreeFont may be posted to the mailing list
freefont-bugs@gnu.org
--------------------------------------------------------------------------
Original author: Primoz Peterlin
Current administrator: Steve White <stevan.white@googlemail.com>
$Id: README,v 1.10 2011-06-12 07:14:12 Stevan_White Exp $

View File

@ -1,115 +0,0 @@
Troubleshooting GNU FreeFont
So your text looks lousy, although you installed FreeFont and you seem to be
using it. What do you do?
Before you blame the problem on FreeFont, take the time to double-check that
the text you are looking at is really rendered with FreeFont.
Be aware that not all Unicode characters are supported by FreeFont, and
even characters supported by one face, such as Serif, might not be
supported by other faces such as Sans.
Also, some systems have settings that strongly affect the rendering
of fonts. It may be worth tweaking these.
glyph substitution
==================
When given the task of displaying characters in text, modern font rendering
software usually tries to display *something*, even if the font it is
*supposed* to be using does not contain glyphs for all the characters in the
text. The software will snoop through all the fonts on the system to find
one that has a glyph for the one missing in the desired font. So although
you have specified FreeSans-bold, you may be looking at a letter from quite
a different font.
First double-check that the font in question really contains the character
in question. If you don't have font development software, this can be
tricky. In the case of FreeFont, you can check if a given character
range is supported: <http://www.gnu.org/software/freefont/coverage.html>
Next double-check that your application (web browser, text editor, etc)
has indeed been properly instructed to use the font.
Then double-check that the font is really installed in the system.
(This depends on the operating system, of course.)
Linux and Unix
==============
Modern Linux systems use a system called fontconfig, which maintains a font
cache, for efficiency.
The font cache can really complicate font installation and troubleshooting
however. It can happen that when a font is newly installed, what is
displayed is coming out of an old cache entry rather than the new font.
Just what to do depends on how and where the font was installed.
Fonts installed system-wide are usually put in a directory such as
/usr/share/fonts/
the font cache for these might be in
/var/cache/fontconfig/
Fonts installed just for one user account will typically be in
~/.fonts/
and the cache will be
~/.fontconfig/
You can clean your local cache merely by emptying the directory
~/.fontconfig/
In any case, to clean the cache, you can use the fontconfig command
fc-cache -vf
If run as root, it will clean the system cache, if run as a normal user,
it cleans only the normal user's cache.
The procedure for local fonts is:
1) shut off any program using the fonts in question
2) clean the cache
3) re-start the program
The procedure for system-wide fonts is:
1) log out of the X Windows session
2) in a console, clean the cache
3) log in to an X Windows session
LibreOffice / OpenOffice
========================
These products have their own font rendering libraries, which have
idiosyncratic behavior.
It has recently been reported that as of LibreOffice 3.5.1, font features
are disabled for OpenType fonts. If you use FreeFont with these products,
you may want to install the TrueType versions of the fonts.
Windows
=======
The most common complaint has to do with "blurry text". There are two
causes.
The first is that ClearType smoothing is turned off. The best way to check
is to use the native Windows Web browser. Do a search for "ClearType Tuner".
The Microsoft pages install a tuner for ClearType. A security block notice
will appear at the top of the window--you have to allow the installation.
Then check the box "Turn on ClearType". The change happens immediately.
The secont cause is that the FreeFont version with cubic spline outlines is
installed. As of the 2012 GNU FreeFont release, the TrueType builds have
quadratic splines, which work best with Windows' rendering software.
TTF (TrueType) quadratic splines Windows 7, Vista, Windows XP.
OTF (OpenType) cubic splines Linux, Mac
Note also: Firefox has a setting for ClearType:
gfx.font_rendering.cleartype_params.rendering_mode
A value of 2 sets it to old-style GDI rendering, while -1 is the default.
reporting problems
==================
If you really think you're seeing a bug in FreeFont, or if you have
a suggestion, consider opening a problem report at
https://savannah.gnu.org/bugs/?group=freefont
It is best that you make a Savannah account and log in with that, so
you can be e-mailed whenever changes are made to your report.
$Id: troubleshooting.txt,v 1.10 2011-07-16 08:38:06 Stevan_White Exp $

View File

@ -1,185 +0,0 @@
Usage of GNU FreeFont
Language scripts and faces
==========================
There are three faces (serif, sans-serif, and monospace), and four styles
(regular, bold, cursive/italic, and bold cursive/italic) for each face.
There is one font file per face/style combination: 12 files in total.
The letters for various languages, as well as specialized symbols, exist
among the various font files, but they are not uniformly populated.
All the fonts have complete support for Latin, Cyrillic, and Greek, as
well as most of the extensions for those scripts.
At this time, serif regular has by far the largest number of letters, and
supports the largest number of writing scripts. However there are writing
scripts supported by the sans-serif but not by serif.
For an overview of which scripts and sets of symbols are supported by
which face, see the FreeFont 'coverage' web page.
Font features
=============
FreeFont has numerous font "features" that perform alterations to the basic
letters of the font, replacing them with other letters, or positioning them
with respect to other letters.
Many features are activated automatically, but in some environments, they
present some user control. This documents those features with user control.
Language-specific features
==========================
Some OpenType font features are activated only when the text is specified to
be of a certain language.
This is done in HTML by enclosing the text with a tag whose 'lang' attribute
is set to the appropriate ISO 632.2 language code. In a word processor,
any block of text can be given a language setting.
Latin
-----
Catalan ligature improving l·l
Dutch ligatures for ij, IJ
Sami localized form for letter Eng
Turkish overrides ligatures fi ffi of Latin
Cyrillic
--------
Ukrainian ligature for double i-diaresis
Serbian/Macedonian localized letters be, and more in italic
Bulgarian style set for modern glyphs
Hebrew
------
Yiddish raised vowels under yo
Devanagari
----------
Sanskrit much larger set of ligatures
Hindi, Marathi better spacing of Western punctuation marks
Indic languages
---------------
The 'danda' character is encoded in Unicode only in the Devanagari range.
When writing in scripts of other Indic languages, this same character is to
be used. But the shapes and line thicknesses of glyphs vary slightly from
one script to another, so the same glyph for 'danda' may not fit all scripts.
By specifying the language of the text, an appropriate glyph for 'danda'
will be obtained.
Style sets
==========
These replacements are activated by specifying a "Style Set".
These features are accessible only from typesetting software.
Cyrillic Bulgarian modern (ss01)
Devanagari Bombay (ss02), Calcutta (ss03), Nepali (ss04)
Discretionary features
======================
These features are accessible only from typesetting software.
Typically the user must specifically request them.
Unless otherwise noted, these are available only in FreeSerif.
Ligatures and substitutions
---------------------------
Arabic, Armenian, Hebrew, German, Dutch
Small captials
--------------
A limited set of specially drawn small capital letters in Latin.
Superscript and subscript
-------------------------
Transform a limited set of characters--mostly Latin letters and numerals--
to versions well-sized and positioned as superscript or subscript.
Numeral styles
--------------
The default numerals of FreeSerif are mono-spaced and of even height.
It also features proportionally-spaced numerals, and "old-style" numerals--
those which vary in height and sometimes go beneath the baseline.
These can be had at discretion.
Diagonal fractions
------------------
A limited set of diagonal fraction substitutions are available at discretion.
The set is more than what is encoded in Unicode.
They work with the ASCII slash or the mathematical slash U+2215.
The transform a sequence "number-slash-number" to a diagonal form.
Zero
----
A slashed form of the numeral zero is available at discretion.
Available in all faces.
Alternative characters
======================
FreeSerif has some listings of alternatives for specific characters.
Again this is use primarily in specialized typesetting software.
Greek, Latin
Use in LaTeX
============
It is possible to use Unicode fonts in recent LaTeX implementations, but in
LuaTeX http://www.luatex.org/ and
XeTeX http://tug.org/xetex/
it is particularly easy to use Unicode text, and to enable font features.
Recent versions of these systems use the 'fontspec' package to choose fonts
and features.
A very simple document might contain the lines
---------------------------------------------------------------------------
\documentclass{ltxdockit}
\usepackage{fontspec}
\usepackage{xunicode}
\setmainfont[]{FreeSerif}
\begin{document}
{\fontspec[Script=Default,Fractions={On}]{FreeSerif}
1/7 3/10 7/10}
x\raisebox{-0.5ex}{{\scriptsize ai}}
x{\fontspec[Script=Default,VerticalPosition={Inferior}]{FreeSerif}
abcdefghijklmnopqrstuvwxyz+(0123456789)} \\
x\raisebox{0.85ex}{{\scriptsize ai}}
x{\fontspec[Script=Default,VerticalPosition={Superior}]{FreeSerif}
abcdefghijklmnopqrstuvwxyz+(0123456789)}
{\fontspec[Script=Latin]{FreeSerif}
\textsc{Small Caps} }
{ Bсички хора се раждат свободни и равни по достойнство и права.
\fontspec[Script=Cyrillic,Language=Bulgarian,Variant={1}]{FreeSerif} \selectfont
Bсички хора се раждат свободни и равни по достойнство и права. }
\end{document}
---------------------------------------------------------------------------
Here are some 'fontspec' setting-value pairs meaningful for FreeFont.
Numbers: Lining OldStyle Proportional SlashedZero
Fractions: On
VerticalPosition: Superior Inferior
Ligatures: Common Historical
Letters: UppercaseSmallCaps
Variant: 1 (etc. -- must be in {} picks style set.)
---------------------------------------------------------------------------
$Id: usage.txt,v 1.10 2011-07-16 08:38:06 Stevan_White Exp $

View File

@ -1,17 +0,0 @@
Thanks for downloading one of codeman38's retro video game fonts, as seen on Memepool, BoingBoing, and all around the blogosphere.
So, you're wondering what the license is for these fonts? Pretty simple; it's based upon that used for Bitstream's Vera font set <http://www.gnome.org/fonts/>.
Basically, here are the key points summarized, in as little legalese as possible; I hate reading license agreements as much as you probably do:
With one specific exception, you have full permission to bundle these fonts in your own free or commercial projects-- and by projects, I'm referring to not just software but also electronic documents and print publications.
So what's the exception? Simple: you can't re-sell these fonts in a commercial font collection. I've seen too many font CDs for sale in stores that are just a repackaging of thousands of freeware fonts found on the internet, and in my mind, that's quite a bit like highway robbery. Note that this *only* applies to products that are font collections in and of themselves; you may freely bundle these fonts with an operating system, application program, or the like.
Feel free to modify these fonts and even to release the modified versions, as long as you change the original font names (to ensure consistency among people with the font installed) and as long as you give credit somewhere in the font file to codeman38 or zone38.net. I may even incorporate these changes into a later version of my fonts if you wish to send me the modifed fonts via e-mail.
Also, feel free to mirror these fonts on your own site, as long as you make it reasonably clear that these fonts are not your own work. I'm not asking for much; linking to zone38.net or even just mentioning the nickname codeman38 should be enough.
Well, that pretty much sums it up... so without further ado, install and enjoy these fonts from the golden age of video games.
[ codeman38 | cody@zone38.net | http://www.zone38.net/ ]

View File

@ -1,379 +0,0 @@
#include <iostream>
#include <SDL2/SDL.h>
#include "Audio.hpp"
#include "Entity.hpp"
#include "Logger.hpp"
#include "Values.hpp"
#include "Timestep.hpp"
#include "Renderwindow.hpp"
enum PlayerType
{
Player, Bot, NoOne
};
enum Side
{
Left, Right, Top, Bottom, Up, Down, None
};
/* Variables */
bool GameRunning = true;
const Birb::Vector2f baseBallVector = { 6, 6 };
PlayerType lastCollider = PlayerType::NoOne;
Side lastSide = Side::None;
TTF_Font* scoreFont;
void MirrorBallVector(Birb::Vector2f* ballVector, Side side, Side playerMovementDirection)
{
float movementMultiplier = 1.00f;
if (playerMovementDirection != Side::None && side == Left && side != Top && side != Bottom)
{
movementMultiplier = Birb::utils::randomFloat(1.10f, 1.30f);
/* Change the ball movement direction depending on the player movement */
ballVector->x *= -1;
switch (playerMovementDirection)
{
case (Side::Up):
if (ballVector->y > 0)
ballVector->y *= -1 * movementMultiplier;
break;
case (Side::Down):
if (ballVector->y < 0)
ballVector->y *= -1 * movementMultiplier;
break;
default:
break;
}
lastSide = Side::Left;
return;
}
else
movementMultiplier = 0.90f;
/* Prevent the ball from glitching into the walls */
if (side == lastSide)
{
Birb::Debug::Log("Cancelling repeating collision");
return;
}
switch (side)
{
case (Top):
ballVector->y *= -1 * movementMultiplier;
break;
case (Bottom):
ballVector->y *= -1 * movementMultiplier;
break;
case (Left):
ballVector->x *= -1;
break;
case (Right):
ballVector->x *= -1;
break;
default:
break;
}
lastSide = side;
}
Side BallScreenBoundHit(Birb::Vector2f pos, int radius, Birb::Window window)
{
/* Top hit */
if (pos.y - radius < 0)
return Side::Top;
/* Bottom hit */
if (pos.y + radius > window.window_dimensions.y)
return Side::Bottom;
/* Left hit */
if (pos.x - radius < 0)
return Side::Left;
/* Right hit */
if (pos.x + radius > window.window_dimensions.x)
return Side::Right;
return Side::None;
}
void ResetBall(Birb::Vector2f* ballPosition, Birb::Vector2f* ballVector, Birb::Window window)
{
ballPosition->x = window.window_dimensions.x / 2.00f;
ballPosition->y = window.window_dimensions.y / 2.00f;
ballVector->x = baseBallVector.x;
ballVector->y = baseBallVector.y * Birb::utils::randomFloat(-1.5, 1.5);
lastCollider = PlayerType::NoOne;
lastSide = Side::None;
}
void UpdateBallCollider(Birb::Rect* collider, Birb::Vector2f ballPosition, int ballSize)
{
collider->x = ballPosition.x - (ballSize / 2.00f);
collider->y = ballPosition.y - (ballSize / 2.00f);
collider->w = (float)ballSize;
collider->h = (float)ballSize;
}
Side BallPlayerCollision(Birb::Rect playerDimensions, Birb::Rect botDimensions, Birb::Rect ballCollider)
{
SDL_Rect player = playerDimensions.getSDLRect();
SDL_Rect bot = botDimensions.getSDLRect();
SDL_Rect ball = ballCollider.getSDLRect();
/* Collision with either bot or player and the ball */
if (SDL_HasIntersection(&player, &ball) && lastCollider != PlayerType::Player)
{
lastCollider = PlayerType::Player;
return Side::Left;
}
else if (SDL_HasIntersection(&bot, &ball) && lastCollider != PlayerType::Bot)
{
lastCollider = PlayerType::Bot;
return Side::Right;
}
else
return Side::None;
}
int main(int argc, char **argv)
{
Birb::Debug::Log("Starting Pong!");
Birb::Debug::Log("Working directory: " + (std::string)argv[0]);
std::string workdir = (std::string)argv[0];
size_t pos = std::string::npos;
// Search for the substring in string in a loop untill nothing is found
while ((pos = workdir.find("/pong") )!= std::string::npos)
{
// If found then erase it from string
workdir.erase(pos, std::string("/pong").length());
break;
}
Birb::Window window("Pong", Birb::Vector2int(1280, 720), 240);
Birb::TimeStep timeStep;
/* Initialize timestep */
timeStep.Init();
/* Gameloop variables */
SDL_Event event;
bool holdingKey = false;
scoreFont = Birb::Resources::LoadFont(workdir + "/res/fonts/manaspace/manaspc.ttf", 64);
/* Ball variables */
Birb::Vector2f ballVector = { 6, 6 };
Birb::Vector2f ballPosition = { window.window_dimensions.x / 2.00f, window.window_dimensions.y / 2.00f };
int ballSize = 8;
Birb::Rect ballCollider;
/* Player variables */
int playerSpeed = 8;
int playerSideOffset = 32;
Birb::Rect playerDimensions = { (float)playerSideOffset, window.window_dimensions.y / 2.00f - 50, 10, 100 };
Side playerMovementDirection = Side::None;
int botMovementSpeed = 5;
Birb::Rect botDimensions = playerDimensions;
botDimensions.x = window.window_dimensions.x - playerDimensions.x - playerDimensions.w;
/* Score variables */
int playerScore = 0;
int botScore = 0;
Birb::Entity e_playerScore("Player score", Birb::Vector2int(window.window_dimensions.x / 2 - 150, 32), Birb::TextComponent("0", scoreFont, &Birb::Colors::White));
Birb::Entity e_botScore("Bot score", Birb::Vector2int(window.window_dimensions.x / 2 + 150 - 64, 32), Birb::TextComponent("0", scoreFont, &Birb::Colors::White));
/* Sounds */
Birb::Audio::Init(MIX_INIT_MP3);
Birb::Audio::SoundFile paddle_collision(workdir + "/res/sounds/paddle_collision.wav");
Birb::Audio::SoundFile player_lose(workdir + "/res/sounds/player_lose.wav");
Birb::Audio::SoundFile player_point(workdir + "/res/sounds/player_point.wav");
while (GameRunning)
{
timeStep.Start();
while (timeStep.Running())
{
bool playerMoved = false;
while (SDL_PollEvent(&event) != 0)
{
window.EventTick(event, &GameRunning);
/* Player movement */
if (event.type == SDL_KEYDOWN)
{
switch (event.key.keysym.scancode)
{
/* Arrow keys */
/* Up arrow */
case (82):
playerMovementDirection = Side::Up;
break;
/* Down arrow */
case (81):
playerMovementDirection = Side::Down;
break;
/* Vim keys */
/* k */
case (14):
playerMovementDirection = Side::Up;
break;
/* j */
case (13):
playerMovementDirection = Side::Down;
break;
/* Controller */
default:
playerMovementDirection = Side::None;
break;
}
}
else if (event.type == SDL_KEYUP)
{
playerMovementDirection = Side::None;
}
}
timeStep.Step();
}
timeStep.End();
/* Update score position */
e_playerScore.rect.x = window.window_dimensions.x / 2.00 - 150;
e_botScore.rect.x = window.window_dimensions.x / 2.00 + 150 - 64;
/* Handle player movement */
{
if (playerMovementDirection == Side::Up)
playerDimensions.y -= playerSpeed;
else if (playerMovementDirection == Side::Down)
playerDimensions.y += playerSpeed;
}
/* Handle bot movement */
{
if (ballPosition.x > window.window_dimensions.x / 2.00f && lastCollider != PlayerType::Bot) // Only move the bot paddle if the ball is on its side and it hasn't hit the ball yet
{
if (ballPosition.y - (playerDimensions.h / 2.00f) > 0 && ballPosition.y + (playerDimensions.h / 2.00f) < window.window_dimensions.y)
{
if (ballPosition.y > botDimensions.y + (botDimensions.h / 2.00f))
botDimensions.y += botMovementSpeed;
else
botDimensions.y -= botMovementSpeed;
}
}
/* Update the horizontal position of the bot in case the window dimensions are changed */
botDimensions.x = window.window_dimensions.x - playerDimensions.x - playerDimensions.w;
}
/* Ball movemement and colliders */
{
ballPosition.x += ballVector.x;
ballPosition.y += ballVector.y;
UpdateBallCollider(&ballCollider, ballPosition, ballSize);
/* Ball hit the top or bottom. Just bounce */
Side hitSide = BallScreenBoundHit(ballPosition, ballSize, window);
if (hitSide == Side::Top || hitSide == Side::Bottom)
MirrorBallVector(&ballVector, hitSide, playerMovementDirection);
/* Ball hit the side walls. Reset the game */
if (hitSide == Side::Left || hitSide == Side::Right)
{
/* Handle scoring and audio */
if (hitSide == Side::Left)
{
player_lose.play();
botScore++;
}
else
{
player_point.play();
playerScore++;
}
MirrorBallVector(&ballVector, hitSide, playerMovementDirection);
ResetBall(&ballPosition, &ballVector, window);
}
/* Check for paddle hits */
hitSide = BallPlayerCollision(playerDimensions, botDimensions, ballCollider);
if (hitSide != Side::None)
{
paddle_collision.play();
MirrorBallVector(&ballVector, hitSide, playerMovementDirection);
}
}
/* Render stuff */
window.Clear();
{
/* Draw playfield divider */
Birb::Render::DrawRect(Birb::Colors::White, Birb::Rect((window.window_dimensions.x / 2.00f) - 4, 0, 8, window.window_dimensions.y));
/* Draw players */
{
/* Player */
Birb::Render::DrawRect(Birb::Colors::White,
Birb::Rect(playerDimensions.x, playerDimensions.y,
playerDimensions.w, playerDimensions.h));
/* Bot */
Birb::Render::DrawRect(Birb::Colors::White,
Birb::Rect(botDimensions.x, botDimensions.y,
botDimensions.w, botDimensions.h));
}
/* Draw the ball */
Birb::Render::DrawCircle(Birb::Colors::White,
Birb::Vector2int(ballPosition.x, ballPosition.y),
ballSize);
/* Draw score */
e_playerScore.SetText(std::to_string(playerScore));
e_botScore.SetText(std::to_string(botScore));
Birb::Render::DrawEntity(e_playerScore);
Birb::Render::DrawEntity(e_botScore);
}
window.Display();
/* End of rendering */
}
Birb::Debug::Log("Starting cleanup...");
/* Free sound effects */
player_lose.free();
player_point.free();
paddle_collision.free();
window.Cleanup();
SDL_Quit();
Birb::Debug::Log("Game should be closed now!");
return 0;
}