Commits

Doug Stewart committed 0c6fa63

Moving all kinds of stuff out of the trunk -- none of this FLIR or fonts stuff is even used in the slightest.

Comments (0)

Files changed (53)

includes/flir/_COPYING.txt

-                    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>.

includes/flir/_README.txt

-Originally, I created Facelift Image Replacement because I didn't like sIFR but still wanted the 
-ability to add custom fonts to my websites.  Since then, I've added a lot more functionality and 
-FLIR has been downloaded upwards of 7000 times as of this writing.  
-
-If you appreciate FLIR and the time that went into creating it, the plug-ins, the documentation, 
-and providing support via the forums, than please think about making a small contribution to the 
-project.  
-
-Thank you for downloading FLIR and I hope you find it as useful as I do.
-
-Sincerely,
-Cory Mawhorter
-
-===
-
-Homepage:	http://facelift.mawhorter.net/
-Support:  	http://forums.mawhorter.net/
-Blog:		http://www.mawhorter.net/c/projects/facelift-projects
-Blog RSS:	http://www.mawhorter.net/c/projects/facelift-projects/feed/

includes/flir/config-flir.php

-<?php
-/*
-Facelift Image Replacement v1.2
-Facelift was written and is maintained by Cory Mawhorter.  
-It is available from http://facelift.mawhorter.net/
-
-===
-
-This file is part of Facelife Image Replacement ("FLIR").
-
-FLIR 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.
-
-FLIR 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 Facelift Image Replacement.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-define('FONT_DISCOVERY', 			false);
-
-define('ALLOWED_DOMAIN', 			false); // ex: 'example.com', 'subdomain.domain.com', '.allsubdomains.com', false disabled
-
-define('UNKNOWN_FONT_SIZE', 		16); // in pixels
-
-define('CACHE_CLEANUP_FREQ', 		-1); // -1 disable, 1 everytime, 10 would be about 1 in 10 times this script runs (higher number decreases frequency)
-define('CACHE_KEEP_TIME', 			604800); // 604800: 7 days
-
-define('CACHE_DIR', 					'cache');
-define('FONTS_DIR', 					'fonts');
-define('PLUGIN_DIR',					'plugins');
-
-define('HBOUNDS_TEXT', 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz[]{}()_'); // see http://facelift.mawhorter.net/docs/
-
-// Each font you want to use should have an entry in the fonts array.
-$fonts = array();
-$fonts['illuminating'] 	= 'ArtOfIlluminating.ttf';
-$fonts['okolaks'] 		= 'okolaksBold.ttf';
-$fonts['wanta'] 			= 'wanta_091.ttf';
-
-
-// The font will default to the following (put your most common font here).
-$fonts['default'] 		= $fonts['okolaks'];
-
-/*
-// You can now setup collections of fonts that will be automatically detected and used if the proper CSS conditions are met.
-// For more information, please visit: http://www.mawhorter.net/projects/facelift-projects/facelift-font-collections
-$fonts['your_font']		= array();
-$fonts['your_font'][] 	= array('file' => 'test/font_regular.ttf');
-$fonts['your_font'][] 	= array('file' => 'test/font_bolditalic.ttf'
-										,'font-stretch'			=> ''
-										,'font-style'				=> 'italic'
-										,'font-variant'			=> ''
-										,'font-weight'				=> 'bold'
-										,'text-decoration'		=> '');
-$fonts['your_font'][] 	= array('file' => 'test/font_bold.ttf'
-										,'font-weight'				=> 'bold');
-$fonts['your_font'][] 	= array('file' => 'test/font_italic.ttf'
-										,'font-style'				=> 'italic');
-*/
-
-
-// Set default replacements for "web fonts" here
-$fonts['arial'] = $fonts['helvetica'] = $fonts['sans-serif'] 		= $fonts['okolaks'];
-$fonts['times new roman'] = $fonts['times'] = $fonts['serif'] 		= $fonts['illuminating'];
-$fonts['courier new'] = $fonts['courier'] = $fonts['monospace'] 	= $fonts['wanta'];
-
-define('IM_EXEC_PATH', '/usr/bin/'); // Path to ImageMagick (with trailing slash).  ImageMagick is needed by some plugins, but not necessary.
-?>

includes/flir/flir.js

-/*
-Facelift Image Replacement v1.2
-Facelift was written and is maintained by Cory Mawhorter.  
-It is available from http://facelift.mawhorter.net/
-
-===
-
-This file is part of Facelife Image Replacement ("FLIR").
-
-FLIR 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.
-
-FLIR 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 Facelift Image Replacement.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-var FLIR = {
-     version: '1.2'
-    
-    ,options: {
-         path: ''
-        ,classnameIgnore: false
-        ,findEmbededFonts: false
-        ,ignoredElements: 'BR,HR,IMG,INPUT,SELECT'
-    }
-    
-    ,onreplacing: null
-    ,onreplaced: null
-    ,onreplacingchild: null
-    ,onreplacedchild: null
-    
-    ,flirElements: {}
-    ,flirPlugins: []
-    
-    ,isCraptastic: true
-    ,isIE: true
-
-    ,defaultStyle: null
-    ,classStyles: {}
-        
-    ,embededFonts: {}
-
-    ,dpi: 96
-    
-    // either (options Object, fstyle FLIRStyle Object) or (fstyle FLIRStyle Object)
-    ,init: function(options, fstyle) { // or options for flir style
-        if(this.isFStyle(options)) { // (fstyle FLIRStyle Object)
-            this.defaultStyle = options;
-        }else { // [options Object, fstyle FLIRStyle Object]
-            if(typeof options != 'undefined')
-                this.loadOptions(options);
-        
-            if(typeof fstyle == 'undefined') {
-                this.defaultStyle = new FLIRStyle();
-            }else {
-                if(this.isFStyle(fstyle))
-                    this.defaultStyle = fstyle;
-                else
-                    this.defaultStyle = new FLIRStyle(fstyle);
-            }
-        }
-
-        this.calcDPI();
-                        
-        if(this.options.findEmbededFonts)
-            this.discoverEmbededFonts();
-
-        this.isIE = (navigator.userAgent.toLowerCase().indexOf('msie')>-1 && navigator.userAgent.toLowerCase().indexOf('opera')<0);
-        this.isCraptastic = (typeof document.body.style.maxHeight=='undefined');
-
-        if(this.isIE) {
-            this.flirIERepObj = [];
-            this.flirIEHovEls = [];
-            this.flirIEHovStyles = [];    
-        }
-
-        FLIR._call_plugin('init', arguments);
-    }
-    
-    ,loadOptions: function(options) {
-        for(var i in options)
-            this.options[i] = options[i];
-    }    
-    
-    ,installPlugin: function(plugin) {
-        this.flirPlugins.push(plugin);
-    }
-    
-    ,_call_plugin: function(func, call) {
-        var ret = call;
-        for(var i=0; i<this.flirPlugins.length; i++) {
-            if(typeof this.flirPlugins[i][func] == 'function') {
-                var pluginret = this.flirPlugins[i][func](ret);
-
-                if(typeof pluginret == 'undefined') {
-                    continue;
-                }
-                if(typeof pluginret == 'boolean' && pluginret == false) {
-                    return false;
-                }
-                if(typeof pluginret != 'boolean') // passes changes on
-                    ret = call;
-
-            }
-        }
-        
-        var ret = typeof ret != 'object' ? [ret] : ret;
-        if(ret.length && ret[0] && ret[0].callee)
-            return ret[0];
-        else
-            return ret;
-    }
-    
-    ,auto: function(els) {
-        if(!(args = FLIR._call_plugin('auto', arguments))) return;
-        els = args[0];
-        
-        var tags = typeof els=='undefined'?['h1','h2','h3','h4','h5']:(els.indexOf && els.indexOf(',')>-1?els.split(','):els);
-        var elements;
-        for(var i=0; i<tags.length; i++) {
-            elements = this.getElements(tags[i]);            
-
-            if(elements.length>0)
-                this.replace(elements);
-        }
-    }
-    
-    
-    ,hover: function(e) {
-        var o=FLIR.evsrc(e);
-        var targ=o;
-        var targDescHover = o.flirHasHover;
-        var hoverTree = o;
-        
-        var on = (e.type == 'mouseover');
-        
-        while(o != document.body && !o.flirMainObj) {
-            o = FLIR.getParentNode(o);
-            
-            if(!targDescHover) {
-                    targDescHover = o.flirHasHover;
-                    hoverTree = o;
-            }
-        }
-        
-        if(o==document.body) return;
-        
-        var FStyle = FLIR.getFStyle(o);
-        if(on && FStyle != FStyle.hoverStyle)
-            FStyle = FStyle.hoverStyle;
-            
-        if(!(args = FLIR._call_plugin('hover', [ on, targ, o, hoverTree ]))) return;
-        on                = args[0];
-        targ             = args[1];
-        o                 = args[2];
-        hoverTree     = args[3];
-        
-        var objs = FLIR.getChildren(hoverTree);
-        if(objs.length == 0 || (objs.length == 1 && (objs[0].flirImage || objs[0].flirHasHover))) {
-            objs = [hoverTree];
-        }else if(objs.length == 1 && !FLIR.isIgnoredElement(objs[0])) {
-            var subobjs = FLIR.getChildren(objs[0]);
-            if(subobjs.length > 0)
-                if((subobjs.length==1 && !subobjs[0].flirImage) || subobjs.length > 1)
-                    objs = subobjs;
-        }
-
-        var rep_obj;
-        for(var i=0; i < objs.length; i++) {
-            rep_obj = objs[i];
-            if(rep_obj.nodeName == 'IMG') continue;
-            if(!rep_obj.innerHTML) continue; // IE 
-
-            if(FLIR.isIE) {
-                var idx = FLIR.flirIEHovEls.length;
-                FLIR.flirIERepObj[idx] = rep_obj;
-                FLIR.flirIEHovStyles[idx] = FStyle;
-                
-                if(!FLIR.isCraptastic) {
-                    if(FStyle.useBackgroundMethod && FLIR.getStyle(rep_obj, 'display') == 'block') {
-                        FLIR.flirIEHovEls[idx] = rep_obj;
-                        setTimeout('FLIR.flirIERepObj['+idx+'].style.background = "url("+('+on+' ? FLIR.flirIEHovStyles['+idx+'].generateURL(FLIR.flirIERepObj['+idx+']) : FLIR.flirIERepObj['+idx+'].flirOrig)+") no-repeat";', 0);
-                    }else {
-                        FLIR.flirIEHovEls[idx] = rep_obj.flirImage ? rep_obj : FLIR.getChildren(rep_obj)[0];
-                        if(!FLIR.flirIEHovEls[idx].flirOrigWidth) {
-                            FLIR.flirIEHovEls[idx].flirOrigWidth = FLIR.flirIEHovEls[idx].width;
-                            FLIR.flirIEHovEls[idx].flirOrigHeight = FLIR.flirIEHovEls[idx].height;
-                        }
-                        var ie_js = 'FLIR.flirIEHovEls['+idx+'].src = '+on+' ? FLIR.flirIEHovStyles['+idx+'].generateURL(FLIR.flirIERepObj['+idx+'], FLIR.flirIEHovEls['+idx+'].alt) : FLIR.flirIERepObj['+idx+'].flirOrig;'
-                        ie_js += 'FLIR.flirIEHovEls['+idx+'].onload = function() { ';
-                        if(on && !FLIR.flirIEHovEls[idx].flirHoverWidth) {
-                            ie_js += '        FLIR.flirIEHovEls['+idx+'].flirHoverWidth = this.width; ';
-                            ie_js += '        FLIR.flirIEHovEls['+idx+'].flirHoverHeight = this.height; ';
-                        }
-                        ie_js += '    this.style.width = FLIR.flirIEHovEls['+idx+'].'+(on?'flirHoverWidth':'flirOrigWidth')+'+"px"; ';
-                        ie_js += '    this.style.height = FLIR.flirIEHovEls['+idx+'].'+(on?'flirHoverHeight':'flirOrigHeight')+'+"px"; ';
-                        ie_js += '}; ';
-                        setTimeout(ie_js, 0);
-                    }
-                }else {
-                    FLIR.flirIEHovEls[idx] = rep_obj.flirImage ? rep_obj : FLIR.getChildren(rep_obj)[0];
-                    setTimeout('  FLIR.flirIEHovEls['+idx+'].style.filter = \'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="\'+FLIR.flirIEHovStyles['+idx+'].generateURL(FLIR.flirIERepObj['+idx+'], FLIR.flirIEHovEls['+idx+'].alt)+\'", sizingMethod="image")\';  ', 0);
-                }
-            }else {
-                if(FStyle.useBackgroundMethod && FLIR.getStyle(rep_obj, 'display') == 'block') {
-                    var hovURL = rep_obj.flirHoverURL ? rep_obj.flirHoverURL : FStyle.generateURL(rep_obj);
-                    rep_obj.style.background='url('+(on?hovURL:rep_obj.flirOrig)+') no-repeat';
-                }else {
-                    var img = rep_obj.flirImage ? rep_obj : FLIR.getChildren(rep_obj)[0];
-                    var hovURL = rep_obj.flirHoverURL ? rep_obj.flirHoverURL : FStyle.generateURL(rep_obj, img.alt);
-                    img.src = on?hovURL:rep_obj.flirOrig;
-                }
-            }
-        }
-    }
-
-    ,addHover: function(obj) {
-        if(!(args = FLIR._call_plugin('addHover', arguments))) return;
-        obj    = args[0];
-        
-        obj.flirHasHover = true;
-        
-        if(obj.addEventListener) {
-            obj.addEventListener( 'mouseover', FLIR.hover, false );
-            obj.addEventListener( 'mouseout', FLIR.hover, false );
-        }else if (obj.attachEvent) {
-            obj.attachEvent( 'onmouseover', function() { FLIR.hover( window.event ); } );
-            obj.attachEvent( 'onmouseout', function() { FLIR.hover( window.event ); } );
-        }
-    }
-    
-    ,prepare: function(n) {
-        if(!(args = FLIR._call_plugin('prepare', arguments))) return;
-        n = args[0];
-        
-        if(n && n.hasChildNodes() && n.childNodes.length > 1) {
-            for(var i in n.childNodes) {
-                var node = n.childNodes[i];
-                if(node && node.nodeType == 3) {
-                    var span = document.createElement('SPAN');
-                    span.style.margin = span.style.padding = span.style.border = '0px';
-                    span.className = 'flir-span';
-						  span.flirSpan = true;
-                    var txt = node.nodeValue.replace(/[\t\n\r]/g, ' ').replace(/\s\s+/g, ' ');
-                    span.innerHTML = !FLIR.isIE ? txt : node.nodeValue.replace(/^\s+|\s+$/g,'&nbsp;');
-                    n.replaceChild(span, node);
-                }
-            }
-        }
-    }
-    
-    ,replace: function(o, FStyle) {
-        if(!(args = FLIR._call_plugin('replace', arguments))) return;
-        o         = args[0];
-        FStyle     = args[1];
-
-        if (!o || o.flirReplaced)
-            return;
-        
-        if(!this.isFStyle(FStyle))
-            FStyle = this.getFStyle(o);
-
-        if(typeof o == 'string')
-            o = this.getElements(o);
-        
-        if(typeof o.length != 'undefined') {
-            if(o.length == 0) return;
-
-            for(var i=0; i< o.length; i++)
-                this.replace(o[i], FStyle);
-            
-            return;
-        }
-
-        if(typeof FLIR.onreplacing == 'function') o = FLIR.onreplacing(o, FStyle);
-        
-        o.flirMainObj = true;
-        this.setFStyle(o, FStyle);
-        this.saveObject(o);
-        
-        if(this.options.findEmbededFonts && typeof this.embededFonts[FStyle.getFont(o)] != 'undefined')
-            return;
-        
-        FLIR.prepare(o);        
-        this._replace_tree(o, FStyle);
-
-        if(typeof FLIR.onreplaced == 'function') FLIR.onreplaced(o, FStyle);
-    }
-    
-    ,_replace_tree: function(o, FStyle) {
-        if(typeof __flir_replacetree_recurse == 'undefined') __flir_replacetree_recurse = 1;
-        else __flir_replacetree_recurse++;
-        
-        if(__flir_replacetree_recurse>1000) {
-            console.error('Facelift: Too much recursion.');
-            return;
-        }
-        
-        var objs = !o.hasChildNodes() || (o.hasChildNodes() && o.childNodes.length==1 && o.childNodes[0].nodeType==3) ? [o] : o.childNodes;
-
-        var rep_obj;
-        for(var i=0; i < objs.length; i++) {
-            rep_obj = objs[i];
-            if(typeof FLIR.onreplacingchild == 'function') rep_obj = FLIR.onreplacingchild(rep_obj, FStyle);
-
-            if(!rep_obj.innerHTML || rep_obj.nodeType != 1) continue;
-            if(FLIR.isIgnoredElement(rep_obj)) continue;
-            if(rep_obj.flirReplaced) continue;
-
-            if(rep_obj.nodeName == 'A' && !rep_obj.flirHasHover)
-                FLIR.addHover(rep_obj);
-
-            if(rep_obj.hasChildNodes() && (rep_obj.childNodes.length > 1 || rep_obj.childNodes[0].nodeType != 3)) {
-                FLIR.prepare(rep_obj);
-                FLIR._replace_tree(rep_obj, FStyle);
-                continue;
-            }
-
-            if(rep_obj.innerHTML == '') continue; // skip empty tags, if they exist
-            
-            if(!FLIR.isCraptastic)
-                if(FStyle.useBackgroundMethod)
-                    FLIR.replaceMethodBackground(rep_obj, FStyle);
-                else
-                    FLIR.replaceMethodOverlay(rep_obj, FStyle);
-            else
-                FLIR.replaceMethodCraptastic(rep_obj, FStyle);
-
-            rep_obj.className += ' flir-replaced';
-            rep_obj.flirReplaced = true;
-            
-            if(typeof FLIR.onreplacedchild == 'function') FLIR.onreplacedchild(o, FStyle);
-        }
-    }
-    
-    ,replaceMethodBackground: function(o, FStyle) {
-        if(!(args = FLIR._call_plugin('replaceMethodBackground', arguments))) return;
-        o         = args[0];
-        FStyle     = args[1];
-
-        var oid = this.saveObject(o);
-        var url = FStyle.generateURL(o);
-        
-        if(FLIR.getStyle(o, 'display') != 'block')
-            o.style.display='block';
-        
-        var tmp = new Image();
-        tmp.onload = function() {
-            FLIR.flirElements[oid].style.width=this.width+'px';
-            FLIR.flirElements[oid].style.height=this.height+'px';
-            
-            if(FStyle != FStyle.hoverStyle) {
-                var h_img = new Image();
-                o.flirHoverURL = h_img.src = FStyle.hoverStyle.generateURL(o);
-            }
-        };
-        tmp.src = url;
-        
-        o.style.background = 'url("'+url.replace(/ /g, '%20')+'") no-repeat';
-        o.flirOrig = url;
-        
-        o.oldTextIndent = o.style.textIndent;
-        o.style.textIndent='-9999px';
-    }
-
-    ,replaceMethodOverlay: function(o, FStyle) {
-        if(!(args = FLIR._call_plugin('replaceMethodOverlay', arguments))) return;
-        o         = args[0];
-        FStyle     = args[1];
-
-        var oid = this.saveObject(o);
-        var img = document.createElement('IMG');
-        img.alt = this.sanitizeHTML(o.innerHTML);
-
-        if(FStyle != FStyle.hoverStyle) {
-            img.onload = function() {
-                    var h_img = new Image();
-                    o.flirHoverURL = h_img.src = FStyle.hoverStyle.generateURL(o, img.alt);
-            };
-        }
-        
-        if(img.onerror) {
-            img.onerror = function() {
-                var span = document.createElement('SPAN');
-                span.innerHTML = img.alt;
-                try {
-                    o.replaceChild(span,img)
-                }catch(err) { }
-            };
-        }
-
-        img.flirImage = true;
-        img.className = 'flir-image';
-        img.src = FStyle.generateURL(o);
-        img.style.border='none';
-        o.flirOrig = img.src;
-        o.innerHTML='';
-        o.appendChild(img);
-    }
-
-    ,replaceMethodCraptastic: function(o, FStyle) {
-        if(!(args = FLIR._call_plugin('replaceMethodCraptastic', arguments))) return;
-        o         = args[0];
-        FStyle     = args[1];
-
-        var oid = this.saveObject(o);
-        var url = FStyle.generateURL(o);
-        
-        var img = document.createElement('IMG');
-        img.alt = this.sanitizeHTML(o.innerHTML);        
-        if(FStyle != FStyle.hoverStyle) {
-            img.onload = function() {
-                    var h_img = new Image();
-                    o.flirHoverURL = h_img.src = FStyle.hoverStyle.generateURL(o, img.alt);
-            };
-        }
-
-        img.flirImage = true;
-        img.className = 'flir-image';
-        img.src = this.options.path+'spacer.png';
-        img.style.width=o.offsetWidth+'px';
-        img.style.height=o.offsetHeight+'px';
-        img.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+url+'", sizingMethod="image")';
-
-        o.flirOrig = url;
-        o.innerHTML='';
-        o.appendChild(img);
-    }
-
-    ,saveObject: function(o) {
-        if(typeof o.flirId == 'undefined') {
-            o.flirId = this.getUID();
-            this.flirElements[o.flirId] = o;
-        }
-        
-        return o.flirId;
-    }
-    
-    ,getUID: function() {
-        var prefix='flir-';
-        var id=prefix+Math.random().toString().split('.')[1];
-        var i=0;
-        while(typeof this.flirElements[id] != 'undefined') {
-            if(i>100000) {
-                console.error('Facelift: Unable to generate unique id.');    
-            }
-            id=prefix+Math.random().toString().split('.')[1];
-            i++;
-        }
-        
-        return id;
-    }
-    
-    ,getElements: function(tag) {
-        if(!(args = FLIR._call_plugin('getElements', arguments))) return;
-        switch(args.length) {
-            case 1:
-                tag = args[0];
-                break;
-            case 2: // plugin returned list of elements
-                return args[0];
-                break;
-        }
-        
-        var found = [];
-
-        if(document.querySelectorAll) {
-            var qsa = false;
-            try{
-                found = document.querySelectorAll(tag);
-                qsa = true;
-            }catch(err){ qsa=false; }
-
-            if(qsa)
-                return found;
-        }
-
-        var objs,subels,cn,childs,tag,el,matches,subel,rep_el;
-    
-        el = tag;
-        
-        subel=false;
-		if(el.indexOf(' ')>-1) {
-			var parts = el.split(' ');
-			el = parts[0];
-			subel = parts[1];
-		}else if(el[0] == '#') {
-			return document.getElementById(el.substr(1));
-		}
-        
-        var grain_id=false;
-        if(el.indexOf('#') > -1) {
-            grain_id = el.split('#')[1];
-            tag = el.split('#')[0];
-        }
-
-        var grain_cn=false;
-        if(el.indexOf('.') > -1) {
-            grain_cn = el.split('.')[1];
-            tag = el.split('.')[0];
-        }
-
-        objs = document.getElementsByTagName(tag);
-        for(var p=0; p<objs.length; p++) {
-            if(objs[p].nodeType != 1) continue;
-            matches = false;
-            cn = objs[p].className?objs[p].className:'';
-            
-            if(grain_id && objs[p].id && objs[p].id == grain_id)
-                matches=true;
-            if(grain_cn && FLIR.hasClass(objs[p], grain_cn))
-                matches=true;
-            if(!grain_id && !grain_cn)
-                matches=true;
-            
-            if(!matches) continue;
-            if(this.options.classnameIgnore && cn.indexOf(this.options.classnameIgnore)>-1) continue;
-            
-            subels = false != subel ? objs[p].getElementsByTagName(subel) : [objs[p]];
-            for(var pp=0; pp<subels.length; pp++) {
-                rep_el = subels[pp];
-                if(this.options.classnameIgnore && rep_el.className && rep_el.className.indexOf(this.options.classnameIgnore)>-1) continue;
-
-                found.push(rep_el);
-            }
-        }
-        
-        return found;
-    }
-    
-    ,discoverEmbededFonts: function() {
-        this.embededFonts = {};
-        for(var i in document.styleSheets) {
-            if(!document.styleSheets[i].cssRules) continue;
-            for(var ii in document.styleSheets[i].cssRules) {
-                if(!document.styleSheets[0].cssRules[ii]) continue;
-                var node = document.styleSheets[0].cssRules[ii];
-                
-                if(node.type && node.type == node.FONT_FACE_RULE) {
-                    var nodesrc = node.style.getPropertyValue('src').match(/url\("?([^"\)]+\.[ot]tf)"?\)/i)[1];
-                    var font = node.style.getPropertyValue('font-family');
-                    if(font.indexOf(',')) {
-                        font = font.split(',')[0];
-                    }
-                
-                    font = font.replace(/['"]/g, '').toLowerCase();
-                    
-                    if(font!='' && nodesrc != '')
-                        this.embededFonts[font] = nodesrc;
-                }
-            }
-        }    
-    }
-
-    ,getStyle: function(el,prop) {
-        if(el.currentStyle) {
-            if(prop.indexOf('-') > -1)
-                prop = prop.split('-')[0]+prop.split('-')[1].substr(0, 1).toUpperCase()+prop.split('-')[1].substr(1);
-            var y = el.currentStyle[prop];
-        }else if(window.getComputedStyle) {
-            var y = document.defaultView.getComputedStyle(el,'').getPropertyValue(prop);
-        }
-        return y;
-    }
-        
-    ,getChildren: function(n) {
-        var children=[];
-        if(n && n.hasChildNodes())
-            for(var i in n.childNodes)
-                if(n.childNodes[i] && n.childNodes[i].nodeType == 1)
-                    children[children.length]=n.childNodes[i];
-    
-        return children;
-    }
-    
-    ,getParentNode: function(n) {
-        var o=n.parentNode;
-        while(o != document && o.nodeType != 1)
-            o=o.parentNode;
-    
-        return o;
-    }
-    
-    ,hasClass: function(o, cn) {
-        return (o && o.className && o.className.indexOf(cn)>-1);
-    }
-    
-    ,evsrc: function(e) {
-        var o;
-        if (e.target) o = e.target;
-        else if (e.srcElement) o = e.srcElement;
-        if (o.nodeType == 3) // defeat Safari bug
-            o = o.parentNode;    
-            
-        return o;
-    }
-    
-    ,calcDPI: function() {
-        if(screen.logicalXDPI) {
-            var dpi = screen.logicalXDPI;
-        }else {
-            var id = 'flir-dpi-div-test';
-            if(document.getElementById(id)) {
-                var test = document.getElementById(id);
-            }else {
-                var test = document.createElement('DIV');
-                test.id = id;
-                test.style.position='absolute';
-                test.style.visibility='hidden';
-                test.style.border=test.style.padding=test.style.margin='0';
-                test.style.left=test.style.top='-1000px';
-                test.style.height=test.style.width='1in';
-                document.body.appendChild(test);
-            }
-            
-            var dpi = test.offsetHeight;
-        }
-        
-        this.dpi = parseInt(dpi);
-    }
-    
-    ,isIgnoredElement: function(el, breakIgnored) { return ((','+this.options.ignoredElements).indexOf(','+el.nodeName)>-1); }
-    ,sanitizeHTML: function(html) { return html.replace(/<[^>]+>/g, ''); }
-    
-    ,getFStyle: function(o, fstyle) { 
-        var cStyle = this.getClassStyle(o);
-        if(this.isFStyle(cStyle))
-            fstyle = cStyle;
-
-        if(this.isFStyle(fstyle)) {
-            return fstyle;
-        }else if(this.isFStyle(o.flirStyle)) {
-            return o.flirStyle;
-        }else {
-            return this.defaultStyle;
-        }
-    }
-    ,setFStyle: function(o, FStyle) { o.flirStyle = FStyle; }
-    ,isFStyle: function(o) { if(!o) return false; return (o.toString() == '[FLIRStyle Object]'); }
-
-    ,addClassStyle: function(classname, FStyle) {
-        if(this.isFStyle(FStyle))
-            this.classStyles[classname] = FStyle;
-    }
-    ,getClassStyle: function(o) {
-        if(!(args = FLIR._call_plugin('getClassStyle', arguments))) return;
-        switch(args.length) {
-            case 1:
-                o = args[0];
-                break;
-            case 2: // plugin returned a style
-                return args[0];
-                break;
-        }
-
-        var cn = o.className;
-        if(this.classStyles.length == 0 || typeof cn == 'undefined' || cn=='') return false;
-        
-        var classes = cn.split(' ');
-        for(var i in this.classStyles) {
-            for(var ii=0; ii<classes.length; ii++) {
-                if(classes[ii]==i) {
-                    return this.classStyles[i];
-                }
-            }
-        }
-        
-        return false;
-    }
-};
-
-
-
-
-
-
-
-
-
-
-
-
-function FLIRStyle(options) {
-    this.useBackgroundMethod     = false;
-    this.inheritStyle             = true;
-    this.useExtendedStyles        = false;
-    this.hoverStyle             = (arguments[1] && FLIR.isFStyle(arguments[1])) ? arguments[1] : this;
-    
-    // options are sent along with the query string
-    this.options = {
-         mode: '' // none (''), wrap,progressive or name of a plugin
-        ,output:'auto' // auto, png, gif, jpg
-        
-        ,cSize: null
-        ,cColor: null
-        ,cFont: null // font-family
-        
-        ,realFontHeight: false
-        ,dpi: 96
-    };
-    
-    // supported css properties to internal name
-    this.cssStyles = {
-         'background-color'    : 'Background'
-        ,'color'             : 'Color'
-        ,'font-family'        : 'Font'
-        ,'font-size'        : 'Size'
-        ,'letter-spacing'    : 'Spacing'
-        ,'line-height'        : 'Line'
-        ,'text-align'        : 'Align'
-        ,'text-transform'    : 'Transform'
-    };
-    
-    this.extendedStyles = {
-         'font-stretch'        : 'Stretch'
-        ,'font-style'        : 'FontStyle'
-        ,'font-variant'        : 'Variant'
-        ,'font-weight'        : 'Weight'
-        ,'opacity'            : 'Opacity'
-        ,'text-decoration'    : 'Decoration'
-    }
-    
-    // legacy option support
-    for(var i in options) {
-        if(i.indexOf('css')==0)
-            i = 'c'+i.substr(3);
-
-        if(typeof this[i] != 'undefined') {
-            this[i] = options[i];
-        }else {
-            this.options[i] = options[i];
-        }
-    }
-    this.options.dpi = FLIR.dpi;
-    
-    
-    if(this.useExtendedStyles)
-        for(var i in this.extendedStyles)
-            this.cssStyles[i] = this.extendedStyles[i];
-    
-    for(var i=0; i<FLIR.flirPlugins.length; i++)
-        if(FLIR.flirPlugins[i].FLIRStyleExtend && typeof FLIR.flirPlugins[i].FLIRStyleExtend.init)
-            FLIR.flirPlugins[i].FLIRStyleExtend.init.call(this);
-}
-
-// generate a url based on an object
-FLIRStyle.prototype.generateURL = function(o) { // [, text]
-    var enc_text = (arguments[1]?arguments[1]:o.innerHTML);
-    var transform = this.options.cTransform;
-    if(transform==null)
-        transform = FLIR.getStyle(o, 'text-transform');
-
-    switch(transform) {
-        case 'capitalize':
-            enc_text = enc_text.replace(/\w+/g, function(w){
-                              return w.charAt(0).toUpperCase() + w.substr(1).toLowerCase();
-                         });
-            break;
-        case 'lowercase':
-            enc_text = enc_text.toLowerCase();
-            break;
-        case 'uppercase':
-            enc_text = enc_text.toUpperCase().replace(/&[a-z0-9]+;/gi, function(m) { return m.toLowerCase(); }); // keep entities lowercase, numeric don't matter
-            break;
-    }
-
-    enc_text = encodeURIComponent(enc_text.replace(/&/g, '{amp}').replace(/\+/g, '{plus}'));
-
-    return FLIR.options.path+'generate.php?text='+enc_text+'&h='+o.offsetHeight+'&w='+o.offsetWidth+'&fstyle='+this.serialize(o);
-};
-
-// create a custom image on the fly
-FLIRStyle.prototype.buildURL = function(text, o, maxwidth, maxheight) {
-    var enc_text = encodeURIComponent(text.replace(/&/g, '{amp}').replace(/\+/g, '{plus}'));
-    return FLIR.options.path+'generate.php?text='+enc_text+'&h='+(maxheight?maxheight:'200')+'&w='+(maxwidth?maxwidth:'800')+'&fstyle='+(o?this.serialize(o):this.serialize());
-};
-
-FLIRStyle.prototype.serialize = function(o) {
-    var sdata='';
-    var options = this.copyObject(this.options);    
-    
-    if(o && this.inheritStyle) {
-        for(var i in this.cssStyles) {
-            var name = this.cssStyles[i];
-
-            if(this.options['c'+name] == null || name=='Size')
-                this.options['c'+name] = this.get(o, i, name);    
-        }
-    }
-    
-    for(var i in this.options) {
-        if(this.options[i] == null || typeof this.options[i] == 'undefined' || this.options[i] == 'NaN')
-            continue;
-        sdata += ',"'+i+'":"'+this.options[i].toString().replace(/"/g, "'")+'"';
-    }
-
-    sdata = '{'+sdata.substr(1)+'}';
-    this.options = options;
-
-    return escape(sdata);
-};
-
-FLIRStyle.prototype.get = function(o, css_property, flirstyle_name) {
-    var func = 'get'+flirstyle_name;
-    
-	 while(o.flirSpan && o != document.body)
-	 	o = FLIR.getParentNode(o);
-    
-    return typeof this[func] == 'function' ? this[func](o) : FLIR.getStyle(o, css_property);
-};
-
-FLIRStyle.prototype.getFontStyle = function(o) { 
-    return o.nodeName=='EM' || FLIR.getParentNode(o).nodeName=='EM' ? 'italic' : FLIR.getStyle(o, 'font-style');
-};
-
-FLIRStyle.prototype.getWeight = function(o) { 
-    var fontweight = o.nodeName=='STRONG' || FLIR.getParentNode(o).nodeName=='STRONG' ? 'bold' : FLIR.getStyle(o, 'font-weight');
-    
-    switch(fontweight.toString()) {
-        case '100': case '200': case '300': case 'lighter':
-            return 'lighter';
-        case '400': case 'normal':
-            return '';
-        case '500': case '600': case '700': case 'bold':
-            return 'bold';
-        case '800': case '900': case 'bolder':
-            return 'bolder';
-    }
-};
-
-FLIRStyle.prototype.getFont = function(o) { 
-    var font = FLIR.getStyle(o, 'font-family');
-    if(font.indexOf(',')) {
-        font = font.split(',')[0];
-    }
-
-    return font.replace(/['"]/g, '').toLowerCase();
-};
-
-FLIRStyle.prototype.getColor = function(o) { 
-    var color = FLIR.getStyle(o, 'color');
-    if(color.substr(0, 1)=='#')
-        color = color.substr(1);
-    
-    return color.replace(/['"]/g, '').toLowerCase();
-};
-
-FLIRStyle.prototype.getSize = function(o) {
-    if(this.options.cSize!=null && '*/+-'.indexOf(this.options.cSize[0])<0)
-        return this.options.cSize;
-    
-    var raw = FLIR.getStyle(o, 'font-size');
-
-    var pix;
-    if(raw.indexOf('px') > -1) {
-        pix = Math.round(parseFloat(raw));
-    }else {
-        if(raw.indexOf('pt') > -1) {
-            var pts = parseFloat(raw);
-            pix = pts/(72/this.options.dpi);
-        }else if(raw.indexOf('em') > -1 || raw.indexOf('%') > -1) {
-            pix = this.calcFontSize(o);
-        }
-    }
-
-    if(this.options.cSize && '*/+-'.indexOf(this.options.cSize[0])>-1) {
-        try {
-            pix = this.roundFloat(parseFloat(eval(pix.toString().concat(this.options.cSize))));
-        }catch(err) { }
-    }
-    
-    o.flirFontSize = pix;
-    
-    return pix;
-};
-
-FLIRStyle.prototype.getSpacing = function(o) {
-    var spacing = FLIR.getStyle(o, 'letter-spacing');
-    var ret;
-    if(spacing != 'normal') {
-        if(spacing.indexOf('em') > -1) {
-            var fontsize = o.flirFontSize ? o.flirFontSize : this.getSize(o);
-            ret = (parseFloat(spacing)*fontsize);
-        }else if(spacing.indexOf('px') > -1) {
-            ret = parseFloat(spacing);
-        }else if(spacing.indexOf('pt') > -1) {
-            var pts = parseFloat(spacing);
-            ret = pts/(72/this.options.dpi);            
-        }
-        
-        return this.roundFloat(ret);
-    }
-
-    return '';    
-};
-
-FLIRStyle.prototype.getLine = function(o) {
-    var spacing = FLIR.getStyle(o, 'line-height');
-    var val = parseFloat(spacing);
-    var fontsize = o.flirFontSize ? o.flirFontSize : this.getSize(o);
-    if(spacing.indexOf('em') > -1) {
-        ret = (val*fontsize)/fontsize;
-    }else if(spacing.indexOf('px') > -1) {
-        ret = val/fontsize;
-    }else if(spacing.indexOf('pt') > -1) {
-        var pts = val;
-        ret = (pts/(72/this.options.dpi))/fontsize;
-    }else if(spacing.indexOf('%') > -1) {
-        return 1.0;    
-    }else {
-        ret = val;    
-    }
-    
-    return this.roundFloat(ret);
-};
-
-FLIRStyle.prototype.roundFloat = function(val) {
-    return Math.round(val*10000)/10000;
-};
-
-FLIRStyle.prototype.calcFontSize = function(o) {
-    var test = document.createElement('DIV');
-    test.style.border = '0';
-    test.style.padding = '0';
-    test.style.position='absolute';
-    test.style.visibility='hidden';
-    test.style.left=test.style.top='-1000px';
-    test.style.left=test.style.top='10px';
-    test.style.lineHeight = '100%';
-    test.innerHTML = 'Flir_Test';        
-    o.appendChild(test);
-    
-    var size = test.offsetHeight;
-    o.removeChild(test);
-
-    return size;
-};
-
-FLIRStyle.prototype.copyObject = function(obj) { 
-    var copy = {};
-    for(var i in obj) {
-        copy[i] = obj[i];    
-    }
-    
-    return copy;
-};
-
-FLIRStyle.prototype.toString = function() { return '[FLIRStyle Object]'; };

includes/flir/fonts/ArtOfIlluminating.ttf

Binary file removed.

includes/flir/fonts/ArtOfIlluminating.txt

-The Art of Illuminating font
-Made by Staffan Vilcans.
-
-Based on an image scanned from The Art of Illuminating As Practised in Europe from the Earliest Times by W. R. Symms, with an Essay and Instructions by M. D. Wyatt, Architect. London. Published April 2nd 1860 by Day and Son, Lithographers to the Queen.
-
-The image came from http://fromoldbooks.org/ and if you feel the urge you may donate money to him. This font is free (as in beer). You may install the font on as many computers you wish, but I ask you to kindly give med credit if you include it in a collelction or put it up for download. I know that the font lacks some characters. If you want to add them, please do, but send me the updated font so I can include it in the next release. You will ofcourse be credited as a co-creator.
-
-If you want to contact me, do so via e-mail to liftarn@interface1.net or visit my page at http://www.interface1.net

includes/flir/fonts/OFL_FAQ.txt

-OFL FAQ - Frequently Asked Questions about the SIL Open Font License (OFL)
-Version 1.1 - 26 February 2007
-(See http://scripts.sil.org/OFL for updates)
-
-
-1  ABOUT USING AND DISTRIBUTING FONTS LICENSED UNDER THE OFL
-
-1.1  Can I use the fonts in any publication, even embedded in the file?
-Yes. You may use them like most other fonts, but unlike some fonts you may include an embedded subset of the fonts in your document. Such use does not require you to include this license or other files (listed in OFL condition 2), nor does it require any type of acknowledgement within the publication. Some mention of the font name within the publication information (such as in a colophon) is usually appreciated. If you wish to include the complete font as a separate file, you should distribute the full font package, including all existing acknowledgements, and comply with the OFL conditions. Of course, referencing or embedding an OFL font in any document does not change the license of the document itself. The requirement for fonts to remain under the OFL does not apply to any document created using the fonts and their derivatives. Similarly, creating any kind of graphic using a font under OFL does not make the resulting artwork subject to the OFL.
-
-1.2  Can I make web pages using these fonts?
-Yes! Go ahead! Using CSS (Cascading Style Sheets) is recommended.
-
-1.3  Can I make the fonts available to others from my web site?
-Yes, as long as you meet the conditions of the license (do not sell by itself, include the necessary files, rename Modified Versions, do not abuse the Author(s)' name(s) and do not sublicense).
-
-1.4  Can the fonts be included with Free/Libre and Open Source Software collections such as GNU/Linux and BSD distributions?
-Yes! Fonts licensed under the OFL can be freely aggregated with software under FLOSS (Free/Libre and Open Source Software) licenses. Since fonts are much more useful aggregated to than merged with existing software, possible incompatibility with existing software licenses is not a problem. You can also repackage the fonts and the accompanying components in a .rpm or .deb package and include them in distro CD/DVDs and online repositories.
-
-1.5  I want to distribute the fonts with my program. Does this mean my program also has to be free and open source software?
-No. Only the portions based on the font software are required to be released under the OFL. The intent of the license is to allow aggregation or bundling with software under restricted licensing as well.
-
-1.6  Can I include the fonts on a CD of freeware or commercial fonts?
-Yes, as long some other font or software is also on the disk, so the OFL font is not sold by itself.
-
-1.7  Can I sell a software package that includes these fonts?
-Yes, you can do this with both the Original Version and a Modified Version. Examples of bundling made possible by the OFL would include: word processors, design and publishing applications, training and educational software, edutainment software, etc.
-
-1.8  Why won't the OFL let me sell the fonts alone?
-The intent is to keep people from making money by simply redistributing the fonts. The only people who ought to profit directly from the fonts should be the original authors, and those authors have kindly given up potential direct income to distribute their fonts under the OFL. Please honor and respect their contribution!
-
-1.9  I've come across a font released under the OFL. How can I easily get more information about the Original Version? How can I know where it stands compared to the Original Version or other Modified Versions?
-Consult the copyright statement(s) in the license for ways to contact the original authors. Consult the FONTLOG for information on how the font differs from the Original Version, and get in touch with the various contributors via the information in the acknowledgment section. Please consider using the Original Versions of the fonts whenever possible.
-
-1.10  What do you mean in condition 4? Can you provide examples of abusive promotion / endorsement / advertisement vs. normal acknowledgement?
-The intent is that the goodwill and reputation of the author(s) should not be used in a way that makes it sound like the original author(s) endorse or approve of a specific Modified Version or software bundle. For example, it would not be right to advertise a word processor by naming the author(s) in a listing of software features, or to promote a Modified Version on a web site by saying "designed by ...". However, it would be appropriate to acknowledge the author(s) if your software package has a list of people who deserve thanks. We realize that this can seem to be a gray area, but the standard used to judge an acknowledgement is that if the acknowledgement benefits the author(s) it is allowed, but if it primarily benefits other parties, or could reflect poorly on the author(s), then it is not.
-
-
-2  ABOUT MODIFYING OFL LICENSED FONTS
-
-2.1  Can I change the fonts? Are there any limitations to what things I can and cannot change?
-You are allowed to change anything, as long as such changes do not violate the terms of the license. In other words, you are not allowed to remove the copyright statement(s) from the font, but you could add additional information into it that covers your contribution.
-
-2.2  I have a font that needs a few extra glyphs - can I take them from an OFL licensed font and copy them into mine?
-Yes, but if you distribute that font to others it must be under the OFL, and include the information mentioned in condition 2 of the license.
-
-2.3  Can I charge people for my additional work? In other words, if I add a bunch of special glyphs and/or OpenType/Graphite code, can I sell the enhanced font?
-Not by itself. Derivative fonts must be released under the OFL and cannot be sold by themselves. It is permitted, however, to include them in a larger software package (such as text editors, office suites or operating systems), even if the larger package is sold. In that case, you are strongly encouraged, but not required, to also make that derived font easily and freely available outside of the larger package.
-
-2.4  Can I pay someone to enhance the fonts for my use and distribution?
-Yes. This is a good way to fund the further development of the fonts. Keep in mind, however, that if the font is distributed to others it must be under the OFL. You won't be able to recover your investment by exclusively selling the font, but you will be making a valuable contribution to the community. Please remember how you have benefitted from the contributions of others.
-
-2.5  I need to make substantial revisions to the font to make it work with my program. It will be a lot of work, and a big investment, and I want to be sure that it can only be distributed with my program. Can I restrict its use?
-No. If you redistribute a Modified Version of the font it must be under the OFL. You may not restrict it in any way. This is intended to ensure that all released improvements to the fonts become available to everyone. But you will likely get an edge over competitors by being the first to distribute a bundle with the enhancements. Again, please remember how you have benefitted from the contributions of others.
-
-2.6  Do I have to make any derivative fonts (including source files, build scripts, documentation, etc.) publicly available?
-No, but please do share your improvements with others. You may find that you receive more than what you gave in return.
-
-2.7  Why can't I use the Reserved Font Name(s) in my derivative font names? I'd like people to know where the design came from.
-The best way to acknowledge the source of the design is to thank the original authors and any other contributors in the files that are distributed with your revised font (although no acknowledgement is required). The FONTLOG is a natural place to do this. Reserved Font Name(s) ensure that the only fonts that have the original names are the unmodified Original Versions. This allows designers to maintain artistic integrity while allowing collaboration to happen. It eliminates potential confusion and name conflicts. When choosing a name be creative and avoid names that reuse almost all the same letters in the same order or sound like the original. Keep in mind that the Copyright Holder(s) can allow a specific trusted partner to use Reserved Font Name(s) through a separate written agreement.
-
-2.8  What do you mean by "primary name as presented to the user"? Are you referring to the font menu name?
-Yes, the requirement to change the visible name used to differentiate the font from others applies to the font menu name and other mechanisms to specify a font in a document. It would be fine, for example, to keep a text reference to the original fonts in the description field, in your modified source file or in documentation provided alongside your derivative as long as no one could be confused that your modified source is the original. But you cannot use the Reserved Font Names in any way to identify the font to the user (unless the Copyright Holder(s) allow(s) it through a separate agreement; see section 2.7). Users who install derivatives ("Modified Versions") on their systems should not see any of the original names ("Reserved Font Names") in their font menus, for example. Again, this is to ensure that users are not confused and do not mistake a font for another and so expect features only another derivative or the Original Version can actually offer. Ultimately, creating name conflicts will cause many problems for the users as well as for the designer of both the Original and Modified versions, so please think ahead and find a good name for your own derivative. Font substitution systems like fontconfig, or application-level font fallback configuration within OpenOffice.org or Scribus, will also get very confused if the name of the font they are configured to substitute to actually refers to another physical font on the user's hard drive. It will help everyone if Original Versions and Modified Versions can easily be distinguished from one another and from other derivatives. The substitution mechanism itself is outside the scope of the license. Users can always manually change a font reference in a document or set up some kind of substitution at a higher level but at the lower level the fonts themselves have to respect the Reserved Font Name(s) requirement to prevent ambiguity. If a substitution is currently active the user should be aware of it.
-
-2.9  Am I not allowed to use any part of the Reserved Font Names?
-You may not use the words of the font names, but you would be allowed to use parts of words, as long as you do not use any word from the Reserved Font Names entirely. We do not recommend using parts of words because of potential confusion, but it is allowed. For example, if "Foobar" was a Reserved Font Name, you would be allowed to use "Foo" or "bar", although we would not recommend it. Such an unfortunate choice would confuse the users of your fonts as well as make it harder for other designers to contribute.
-
-2.10  So what should I, as an author, identify as Reserved Font Names?
-Original authors are encouraged to name their fonts using clear, distinct names, and only declare the unique parts of the name as Reserved Font Names. For example, the author of a font called "Foobar Sans" would declare "Foobar" as a Reserved Font Name, but not "Sans", as that is a common typographical term, and may be a useful word to use in a derivative font name. Reserved Font Names should also be single words. A font called "Flowing River" should have Reserved Font Names "Flowing" and "River", not "Flowing River".
-
-2.11  Do I, as an author, have to identify any Reserved Font Names?
-No, but we strongly encourage you to do so. This is to avoid confusion between your work and Modified versions. You may, however, give certain trusted parties the right to use any of your Reserved Font Names through separate written agreements. For example, even if "Foobar" is a RFN, you could write up an agreement to give company "XYZ" the right to distribute a modified version with a name that includes "Foobar". This allows for freedom without confusion.
-
-2.12  Are any names (such as the main font name) reserved by default?
-No. That is a change to the license as of version 1.1. If you want any names to be Reserved Font Names, they must be specified after the copyright statement(s).
-
-2.13  What is this FONTLOG thing exactly?
-It has three purposes: 1) to provide basic information on the font to users and other developers, 2) to document changes that have been made to the font or accompanying files, either by the original authors or others, and 3) to provide a place to acknowledge the authors and other contributors. Please use it! See below for details on how changes should be noted.
-
-2.14  Am I required to update the FONTLOG?
-No, but users, designers and other developers might get very frustrated at you if you don't! People need to know how derivative fonts differ from the original, and how to take advantage of the changes, or build on them.
-
-
-3  ABOUT THE FONTLOG
-
-The FONTLOG can take a variety of formats, but should include these four sections:
-
-3.1  FONTLOG for <FontFamilyName>
-This file provides detailed information on the <FontFamilyName> font software. This information should be distributed along with the <FontFamilyName> fonts and any derivative works.
-
-3.2  Basic Font Information
-(Here is where you would describe the purpose and brief specifications for the font project, and where users can find more detailed documentation. It can also include references to how changes can be contributed back to the Original Version. You may also wish to include a short guide to the design, or a reference to such a document.)
-
-3.3  ChangeLog
-(This should list both major and minor changes, most recent first. Here are some examples:)
-
-7 February 2007 (Pat Johnson) <NewFontFamilyName> Version 1.3
-- Added Greek and Cyrillic glyphs
-- Released as "<NewFontFamilyName>"
-
-7 March 2006 (Fred Foobar) <NewFontFamilyName> Version 1.2
-- Tweaked contextual behaviours
-- Released as "<NewFontFamilyName>"
-
-1 Feb 2005 (Jane Doe) <NewFontFamilyName> Version 1.1
-- Improved build script performance and verbosity
-- Extended the smart code documentation
-- Corrected minor typos in the documentation
-- Fixed position of combining inverted breve below (U+032F)
-- Added OpenType/Graphite smart code for Armenian
-- Added Armenian glyphs (U+0531 -> U+0587) 
-- Released as "<NewFontFamilyName>"
-
-1 Jan 2005 (Joe Smith) <FontFamilyName> Version 1.0
-- Initial release of font "<FontFamilyName>"
-
-3.4  Acknowledgements
-(Here is where contributors can be acknowledged. 
-
-If you make modifications be sure to add your name (N), email (E), web-address (W) and description (D). This list is sorted by last name in alphabetical order.)
-
-N: Jane Doe
-E: jane@university.edu
-W: http://art.university.edu/projects/fonts
-D: Contributor - Armenian glyphs and code
-
-N: Fred Foobar
-E: fred@foobar.org
-W: http://foobar.org
-D: Contributor - misc Graphite fixes
-
-N: Pat Johnson
-E: pat@fontstudio.org
-W: http://pat.fontstudio.org
-D: Designer - Greek & Cyrillic glyphs based on Roman design
-
-N: Tom Parker
-E: tom@company.com
-W: http://www.company.com/tom/projects/fonts
-D: Engineer - original smart font code
-
-N: Joe Smith
-E: joe@fontstudio.org
-W: http://joe.fontstudio.org
-D: Designer - original Roman glyphs
-
-(Original authors can also include information here about their organization.)
-
-
-4  ABOUT MAKING CONTRIBUTIONS
-
-4.1  Why should I contribute my changes back to the original authors?
-It would benefit many people if you contributed back to what you've received. Providing your contributions and improvements to the fonts and other components (data files, source code, build scripts, documentation, etc.) could be a tremendous help and would encourage others to contribute as well and 'give back', which means you will have an opportunity to benefit from other people's contributions as well. Sometimes maintaining your own separate version takes more effort than merging back with the original. Be aware that any contributions, however, must be either your own original creation or work that you own, and you may be asked to affirm that clearly when you contribute.
-
-4.2  I've made some very nice improvements to the font, will you consider adopting them and putting them into future Original Versions?
-Most authors would be very happy to receive such contributions. Keep in mind that it is unlikely that they would want to incorporate major changes that would require additional work on their end. Any contributions would likely need to be made for all the fonts in a family and match the overall design and style. Authors are encouraged to include a guide to the design with the fonts. It would also help to have contributions submitted as patches or clearly marked changes (the use of smart source revision control systems like subversion, svk or bzr is a good idea). Examples of useful contributions are bug fixes, additional glyphs, stylistic alternates (and the smart font code to access them) or improved hinting.
-
-4.3  How can I financially support the development of OFL fonts?
-It is likely that most authors of OFL fonts would accept financial contributions - contact them for instructions on how to do this. Such contributions would support future development. You can also pay for others to enhance the fonts and contribute the results back to the original authors for inclusion in the Original Version.
-
-
-5  ABOUT THE LICENSE
-
-5.1  I see that this is version 1.1 of the license. Will there be later changes?
-Version 1.1 is the first minor revision of the OFL. We are confident that version 1.1 will meet most needs, but are open to future improvements. Any revisions would be for future font releases, and previously existing licenses would remain in effect. No retroactive changes are possible, although the Copyright Holder(s) can re-release the font under a revised OFL. All versions will be available on our web site: http://scripts.sil.org/OFL.
-
-5.2  Can I use the SIL Open Font License for my own fonts?
-Yes! We heartily encourage anyone to use the OFL to distribute their own original fonts. It is a carefully constructed license that allows great freedom along with enough artistic integrity protection for the work of the authors as well as clear rules for other contributors and those who redistribute the fonts. Some additional information about using the OFL is included at the end of this FAQ.
-
-5.3  Does this license restrict the rights of the Copyright Holder(s)?
-No. The Copyright Holder(s) still retain(s) all the rights to their creation; they are only releasing a portion of it for use in a specific way. For example, the Copyright Holder(s) may choose to release a 'basic' version of their font under the OFL, but sell a restricted 'enhanced' version. Only the Copyright Holder(s) can do this.
-
-5.4 Is the OFL a contract or a license?
-The OFL is a license and not a contract and so does not require you to sign it to have legal validity. By using, modifying and redistributing components under the OFL you indicate that you accept the license.
-
-5.5 How about translating the license and the FAQ into other languages?
-SIL certainly recognises the need for people who are not familiar with English to be able to understand the OFL and this FAQ better in their own language. Making the license very clear and readable is a key goal of the OFL.
-
-If you are an experienced translator, you are very welcome to help by translating the OFL and its FAQ so that designers and users in your language community can understand the license better. But only the original English version of the license has legal value and has been approved by the community. Translations do not count as legal substitutes and should only serve as a way to explain the original license. SIL - as the author and steward of the license for the community at large - does not approve any translation of the OFL as legally valid because even small translation ambiguities could be abused and create problems.
-
-We give permission to publish unofficial translations into other languages provided that they comply with the following guidelines:
-
-- put the following disclaimer in both English and the target language stating clearly that the translation is unofficial:
-
-"This is an unofficial translation of the SIL Open Font License into $language. It was not published by SIL International, and does not legally state the distribution terms for fonts that use the OFL. A release under the OFL is only valid when using the original English text.
-
-However, we recognize that this unofficial translation will help users and designers not familiar with English to understand the SIL OFL better and make it easier to use and release font families under this collaborative font design model. We encourage designers who consider releasing their creation under the OFL to read the FAQ in their own language if it is available.
- 
-Please go to http://scripts.sil.org/OFL for the official version of the license and the accompanying FAQ."
-
-- keep your unofficial translation current and update it at our request if needed, for example if there is any ambiguity which could lead to confusion.  
-
-If you start such a unofficial translation effort of the OFL and its accompanying FAQ please let us know, thank you.
-
-
-6  ABOUT SIL INTERNATIONAL
-
-6.1  Who is SIL International and what does it do?
-SIL International is a worldwide faith-based education and development organization (NGO) that studies, documents, and assists in developing the world's lesser-known languages through literacy, linguistics, translation, and other academic disciplines. SIL makes its services available to all without regard to religious belief, political ideology, gender, race, or ethnic background. SIL's members and volunteers share a Christian commitment.
-
-6.2  What does this have to do with font licensing?
-The ability to read, write, type and publish in one's own language is one of the most critical needs for millions of people around the world. This requires fonts that are widely available and support lesser-known languages. SIL develops - and encourages others to develop - a complete stack of writing systems implementation components available under open licenses. This open stack includes input methods, smart fonts, smart rendering libraries and smart applications. There has been a need for a common open license that is specifically applicable to fonts and related software (a crucial component of this stack) so SIL developed the SIL Open Font License with the help of the FLOSS community.
-
-6.3  How can I contact SIL?
-Our main web site is: http://www.sil.org/
-Our site about complex scripts is: http://scripts.sil.org/
-Information about this license (including contact email information) is at: http://scripts.sil.org/OFL
-
-
-7  ABOUT USING THE OFL FOR YOUR ORIGINAL FONTS
-
-If you want to release your fonts under the OFL, you only need to do the following:
-
-7.1  Put your copyright and reserved font names information in the beginning of the main OFL file.
-7.2  Put your copyright and the OFL references in your various font files (such as in the copyright, license and description fields) and in your other components (build scripts, glyph databases, documentation, rendering samples, etc).
-7.3  Write an initial FONTLOG for your font and include it in the release package.
-7.4  Include the OFL in your release package.
-7.5  We also highly recommend you include the relevant practical documentation on the license by putting the OFL-FAQ in your package.
-7.6  If you wish, you can use the OFL Graphics on your web page.
-
-
-
-That's all. If you have any more questions please get in touch with us.
-

includes/flir/fonts/OFL_License.txt

-Copyright (c) 1997-2008, gluk (gluksza@wp.pl),
-with Reserved Font Names 'okolaks'
-
-This Font Software is licensed under the SIL Open Font License, Version 1.1.
-This license is copied below, and is also available with a FAQ at:
-http://scripts.sil.org/OFL
-
-
------------------------------------------------------------
-SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
------------------------------------------------------------
-
-PREAMBLE
-The goals of the Open Font License (OFL) are to stimulate worldwide
-development of collaborative font projects, to support the font creation
-efforts of academic and linguistic communities, and to provide a free and
-open framework in which fonts may be shared and improved in partnership
-with others.
-
-The OFL allows the licensed fonts to be used, studied, modified and
-redistributed freely as long as they are not sold by themselves. The
-fonts, including any derivative works, can be bundled, embedded, 
-redistributed and/or sold with any software provided that any reserved
-names are not used by derivative works. The fonts and derivatives,
-however, cannot be released under any other type of license. The
-requirement for fonts to remain under this license does not apply
-to any document created using the fonts or their derivatives.
-
-DEFINITIONS
-"Font Software" refers to the set of files released by the Copyright
-Holder(s) under this license and clearly marked as such. This may
-include source files, build scripts and documentation.
-
-"Reserved Font Name" refers to any names specified as such after the
-copyright statement(s).
-
-"Original Version" refers to the collection of Font Software components as
-distributed by the Copyright Holder(s).
-
-"Modified Version" refers to any derivative made by adding to, deleting,
-or substituting -- in part or in whole -- any of the components of the
-Original Version, by changing formats or by porting the Font Software to a
-new environment.
-
-"Author" refers to any designer, engineer, programmer, technical
-writer or other person who contributed to the Font Software.
-
-PERMISSION & CONDITIONS
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of the Font Software, to use, study, copy, merge, embed, modify,
-redistribute, and sell modified and unmodified copies of the Font
-Software, subject to the following conditions:
-
-1) Neither the Font Software nor any of its individual components,
-in Original or Modified Versions, may be sold by itself.
-
-2) Original or Modified Versions of the Font Software may be bundled,
-redistributed and/or sold with any software, provided that each copy
-contains the above copyright notice and this license. These can be
-included either as stand-alone text files, human-readable headers or
-in the appropriate machine-readable metadata fields within text or
-binary files as long as those fields can be easily viewed by the user.
-
-3) No Modified Version of the Font Software may use the Reserved Font
-Name(s) unless explicit written permission is granted by the corresponding
-Copyright Holder. This restriction only applies to the primary font name as
-presented to the users.
-
-4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
-Software shall not be used to promote, endorse or advertise any
-Modified Version, except to acknowledge the contribution(s) of the
-Copyright Holder(s) and the Author(s) or with their explicit written
-permission.
-
-5) The Font Software, modified or unmodified, in part or in whole,
-must be distributed entirely under this license, and must not be
-distributed under any other license. The requirement for fonts to