diff --git a/.cargo/notices.toml b/.cargo/notices.toml new file mode 100644 index 00000000..ec615791 --- /dev/null +++ b/.cargo/notices.toml @@ -0,0 +1 @@ +allow = ["Apache-2.0", "MIT", "Unicode-3.0"] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9333888..404c9cbd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,11 @@ jobs: name: Tests runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/setup-java@17f84c3641ba7b8f6deff6309fc4c864478f5d62 # v3 with: - distribution: 'temurin' - java-version: '17' + distribution: "temurin" + java-version: "17" - run: wget https://github.com/janpe2/CFFDump/releases/download/v1.3.0/CFFDump_bin_cli_1.3.0.jar -O CFFDump_bin_cli_1.3.0.jar - run: echo "CFF_DUMP_BIN=$PWD/CFFDump_bin_cli_1.3.0.jar" >> $GITHUB_ENV - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 @@ -33,11 +33,11 @@ jobs: name: Check clippy, formatting, and documentation runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: dtolnay/rust-toolchain@78c2cd7546db85145bb10485288dd4e5063c5093 # 1.89.0 with: components: clippy, rustfmt - - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3 - run: cargo clippy --workspace --all-targets --all-features - run: cargo fmt --check --all - run: cargo doc --workspace --no-deps @@ -46,7 +46,17 @@ jobs: name: Check minimum Rust version runs-on: ubuntu-latest steps: - - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: dtolnay/rust-toolchain@1.85.0 - - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + - uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3 - run: cargo check --workspace + + licenses: + name: Check licenses + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: dtolnay/rust-toolchain@78c2cd7546db85145bb10485288dd4e5063c5093 # 1.89.0 + - uses: typst/notices@0e44c240da489017e8766ed80eab2d03b2833a0c # v0.1.2 + with: + args: check --deps --all-features diff --git a/NOTICE b/NOTICE index 80a9cdc0..821f9cbe 100644 --- a/NOTICE +++ b/NOTICE @@ -1,44 +1,28 @@ -# Code +This NOTICE file compiles licenses and notices for code, data, and other +contents of this software that originate from third parties. In a source +repository, it covers contents not tracked by the dependency tree or other +machine-readable manifests; accompanying a distribution, it can also cover the +dependencies included in it. It is machine-readable and follows the format set +out in https://github.com/typst/notice (version 1). Tools that can parse this +file can use it to incorporate it into license notices, Software Bills of +Materials (SBOMs), etc of their distributions of this software, provided the +contents within are represented faithfully. Other distributions must reproduce +this file verbatim. -ttf-parser -Code from ttf-parser was used/adapted for the following parts: -- Reader, Writer, LazyArray16 and LazyArray16Iter -- `name` table parsing. -- `hmtx` table parsing. -- Most of the `cff` parsing logic as well auxiliary structs and functions -such as `calc_subroutine_bias`, `SIDMetadata`, `CIDMetadata` `RealNumber`, -`Index`, `IndexSize`, `OffsetSize`, `FDSelect`, `ArgumentStack`, `Top Dict` and `FONT Dict`, -`DictionaryParser`. +================================================================================ +MIT --- This license applies to: -The MIT license applies: +* The charstring `Decompiler`, adapted from fonttools -Copyright (c) 2018 Yevhenii Reizner + Path: `src/cff/charstring.rs` + Source: https://github.com/fonttools/fonttools -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +* Font "TestTTC" -============================================================================== + Path: `fonts/TestTTC.ttc` + Source: https://github.com/fonttools/fonttools + Not included when used as a library -fonttools -Code from fonttools was used/adapted for the following parts: -- The `Decompiler` for charstrings. - -The MIT license applies: MIT License Copyright (c) 2017 Just van Rossum @@ -60,26 +44,66 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +================================================================================ -# Fonts -The SIL OPEN FONT LICENSE Version 1.1 applies to the following fonts: -- fonts/ClickerScript-Regular.ttf -- fonts/MPLUS1p-Regular.ttf -- fonts/Cantarell-VF.otf -- fonts/NotoSans-Regular.ttf -- fonts/NotoSans-Regular_var.ttf -- fonts/NotoSansCJKsc-Bold-subset1.otf -- fonts/NotoSansCJKsc-Regular.otf -- fonts/Syne-Regular_subset.oft (Copyright 2017 The Syne Project Authors (https://gitlab.com/bonjour-monde/fonderie/syne-typeface)) +================================================================================ +OFL-1.1 --- This license applies to: + +* Font "Clicker Script" + + Path: `fonts/ClickerScript-Regular.ttf` + Source: https://github.com/google/fonts/tree/main/ofl/clickerscript + Notice: Copyright (c) 2012 by Brian J. Bonislawsky and Jim Lyles DBA + Astigmatic (AOETI) (astigma@astigmatic.com), with Reserved Font Name + "Mouse Memoirs" + Not included when used as a library + +* Font "M PLUS 1p" + + Path: `fonts/MPLUS1p-Regular.ttf` + Source: https://github.com/coz-m/MPLUS_FONTS + Notice: Copyright 2021 The M+ FONTS Project Authors + (https://github.com/coz-m/MPLUS_FONTS) + Not included when used as a library + +* Font "Cantarell" + + Path: `fonts/Cantarell-VF.otf` + Source: https://gitlab.gnome.org/GNOME/cantarell-fonts + Notice: Copyright (c) 2009--2019, The Cantarell Authors + Not included when used as a library + +* Font "Noto Sans" + + Paths: `fonts/NotoSans-Regular.ttf`, `fonts/NotoSans-Regular_var.ttf` + Source: https://github.com/notofonts/latin-greek-cyrillic + Notice: Copyright 2022 The Noto Project Authors + (https://github.com/notofonts/latin-greek-cyrillic) + Not included when used as a library + +* Font "Noto Sans CJK SC" + + Paths: `fonts/NotoSansCJKsc-Bold-subset1.otf`, + `fonts/NotoSansCJKsc-Regular.otf`, + `fonts/NotoSansCJKsc-Regular_custom_font_matrix.otf` + Source: https://github.com/notofonts/noto-cjk + Not included when used as a library + +* Font "Syne" + + Path: `fonts/Syne-Regular_subset.otf` + Source: https://gitlab.com/bonjour-monde/fonderie/syne-typeface + Notice: Copyright 2017 The Syne Project Authors + (https://gitlab.com/bonjour-monde/fonderie/syne-typeface) + Not included when used as a library ------------------------------------------------------------ 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 +development of collaborative font projects, to support 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. @@ -106,29 +130,29 @@ 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 +Original Version, by changing formats or by porting Font "Software to a" new environment. "Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. +writer or other person who contributed to 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, +a copy of 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, +1) Neither 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, +2) Original or Modified Versions of 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 +3) No Modified Version of 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. @@ -139,31 +163,38 @@ 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, +5) 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 remain under this license does not apply to any document created -using the Font Software. +using Font "Software." TERMINATION This license becomes null and void if any of the above conditions are not met. DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +Font "SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND," EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. +FROM, OUT OF THE USE OR INABILITY TO USE Font "SOFTWARE OR FROM" +OTHER DEALINGS IN Font "SOFTWARE." +================================================================================ + -============================================================================== +================================================================================ +LicenseRef-Bitstream-Vera (Bitstream Vera Fonts License) --- This license +applies to: -The Bitstream Vera Fonts license applies to the following fonts: -- fonts/DejaVuSansMono.ttf +* Font "DejaVu Sans Mono" + + Path: `fonts/DejaVuSansMono.ttf` + Source: https://github.com/dejavu-fonts/dejavu-fonts + Not included when used as a library Bitstream Vera Fonts Copyright ——————————————— @@ -175,14 +206,14 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of the fonts accompanying this license (“Fonts”) and associated documentation files (the “Font Software”), to reproduce and distribute the Font Software, including without limitation the rights to use, copy, merge, -publish, distribute, and/or sell copies of the Font Software, and to permit -persons to whom the Font Software is furnished to do so, subject to the +publish, distribute, and/or sell copies of Font "Software, and to permit" +persons to whom Font "Software is furnished to do so, subject to the" following conditions: The above copyright and trademark notices and this permission notice shall -be included in all copies of one or more of the Font Software typefaces. +be included in all copies of one or more of Font "Software typefaces." -The Font Software may be modified, altered, or added to, and in particular +Font "Software may be modified, altered, or added to, and in particular" the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either the words “Bitstream” or the word @@ -192,17 +223,17 @@ This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the “Bitstream Vera” names. -The Font Software may be sold as part of a larger software package but no -copy of one or more of the Font Software typefaces may be sold by itself. +Font "Software may be sold as part of a larger software package but no" +copy of one or more of Font "Software typefaces may be sold by itself." -THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS +Font "SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS" OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF -THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE +THE USE OR INABILITY TO USE Font "SOFTWARE OR FROM OTHER DEALINGS IN THE" FONT SOFTWARE. Except as contained in this notice, the names of Gnome, the Gnome @@ -222,15 +253,15 @@ a copy of the fonts accompanying this license (“Fonts”) and associated documentation files (the “Font Software”), to reproduce and distribute the modifications to the Bitstream Vera Font Software, including without limitation the rights to use, copy, merge, publish, -distribute, and/or sell copies of the Font Software, and to permit -persons to whom the Font Software is furnished to do so, subject to +distribute, and/or sell copies of Font "Software, and to permit" +persons to whom Font "Software is furnished to do so, subject to" the following conditions: The above copyright and trademark notices and this permission notice -shall be included in all copies of one or more of the Font Software +shall be included in all copies of one or more of Font "Software" typefaces. -The Font Software may be modified, altered, or added to, and in +Font "Software may be modified, altered, or added to, and in" particular the designs of glyphs or characters in the Fonts may be modified and additional glyphs or characters may be added to the Fonts, only if the fonts are renamed to names not containing either @@ -240,67 +271,101 @@ This License becomes null and void to the extent applicable to Fonts or Font Software that has been modified and is distributed under the “Tavmjong Bah Arev” names. -The Font Software may be sold as part of a larger software package but -no copy of one or more of the Font Software typefaces may be sold by +Font "Software may be sold as part of a larger software package but" +no copy of one or more of Font "Software typefaces may be sold by" itself. -THE FONT SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +Font "SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND," EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. +FROM, OUT OF THE USE OR INABILITY TO USE Font "SOFTWARE OR FROM" +OTHER DEALINGS IN Font "SOFTWARE." Except as contained in this notice, the name of Tavmjong Bah shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Font Software without prior written authorization from Tavmjong Bah. For further information, contact: tavmjong @ free . fr. +================================================================================ + + +================================================================================ +LicenseRef-GUST-Font-License (GUST Font License) --- This license applies to: + +* Font "Latin Modern Roman" + + Path: `fonts/LatinModernRoman-Regular.otf` + Source: https://www.gust.org.pl/projects/e-foundry/latin-modern + Notice: Copyright 2003--2026 by B. Jackowski and J.M. Nowacki + Not included when used as a library + +* A test font derived from Latin Modern Roman + + Path: `fonts/EndcharInSubroutine.otf` + Source: https://www.gust.org.pl/projects/e-foundry/latin-modern + Notice: Copyright 2003--2026 by B. Jackowski and J.M. Nowacki + Not included when used as a library + +* Font "New Computer Modern Math" + + Path: `fonts/NewCMMath-Regular.otf` + Source: https://git.gnu.org.ua/newcm.git + Notice: (C) 2019-2021 Antonis Tsolomitis. + Not included when used as a library + +This is version 1.0, dated 22 June 2009, of the GUST Font License. +(GUST is the Polish TeX Users Group, http://www.gust.org.pl) + +For the most recent version of this license see +http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt or +http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt -============================================================================== - -The GUST font license applies to the following fonts: -- fonts/LatinModernRoman-Regular.otf -- fonts/EndcharInSubroutine_1.otf (derived from LatinModernRoman-Regular.otf) -- fonts/NewCMMath-Regular.otf - -% This is version 1.0, dated 22 June 2009, of the GUST Font License. -% (GUST is the Polish TeX Users Group, http://www.gust.org.pl) -% -% For the most recent version of this license see -% http://www.gust.org.pl/fonts/licenses/GUST-FONT-LICENSE.txt -% or -% http://tug.org/fonts/licenses/GUST-FONT-LICENSE.txt -% -% This work may be distributed and/or modified under the conditions -% of the LaTeX Project Public License, either version 1.3c of this -% license or (at your option) any later version. -% -% Please also observe the following clause: -% 1) it is requested, but not legally required, that derived works be -% distributed only after changing the names of the fonts comprising this -% work and given in an accompanying "manifest", and that the -% files comprising the Work, as listed in the manifest, also be given -% new names. Any exceptions to this request are also given in the -% manifest. -% -% We recommend the manifest be given in a separate file named -% MANIFEST-.txt, where is some unique identification -% of the font family. If a separate "readme" file accompanies the Work, -% we recommend a name of the form README-.txt. -% -% The latest version of the LaTeX Project Public License is in -% http://www.latex-project.org/lppl.txt and version 1.3c or later -% is part of all distributions of LaTeX version 2006/05/20 or later. - -============================================================================== - -The Apache 2.0 license applies to the following fonts: -- fonts/Roboto-Regular.ttf +This work may be distributed and/or modified under the conditions of the LaTeX +Project Public License, either version 1.3c of this license or (at your option) +any later version. +Please also observe the following clause: +1) it is requested, but not legally required, that derived works be distributed + only after changing the names of the fonts comprising this work and given in + an accompanying "manifest", and that the files comprising the Work, as listed + in the manifest, also be given new names. Any exceptions to this request are + also given in the manifest. + + We recommend the manifest be given in a separate file named + MANIFEST-.txt, where is some unique identification of Font + "family. If a separate "readme" file accompanies the Work," we recommend a + name of the form README-.txt. + +The latest version of the LaTeX Project Public License is in +http://www.latex-project.org/lppl.txt and version 1.3c or later is part of all +distributions of LaTeX version 2006/05/20 or later. +================================================================================ + + +================================================================================ +Apache-2.0 --- This license applies to: + +* Parsing and writing logic adapted from ttf-parser + + Paths: `src/read.rs`, `src/write.rs`, `src/name.rs`, `src/hmtx.rs`, + `src/post.rs`, `src/cff/` + Source: https://github.com/harfbuzz/ttf-parser + Notice: Copyright (c) 2018 Yevhenii Reizner + Also see: Code was used/adapted for Reader, Writer, LazyArray16 and + LazyArray16Iter, `name` table parsing, `hmtx` table parsing, and + most of the `cff` parsing logic and its auxiliary structs and + functions. + +* Font "Roboto" + + Path: `fonts/Roboto-Regular.ttf` + Source: https://github.com/googlefonts/roboto + Notice: Copyright 2011 Google Inc. All Rights Reserved. + Not included when used as a library Apache License Version 2.0, January 2004 @@ -478,55 +543,4 @@ The Apache 2.0 license applies to the following fonts: of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -============================================================================== - -The MIT license applies to the following fonts: -- fonts/TestTTC.ttc - -MIT License - -Copyright (c) 2017 Just van Rossum - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +================================================================================