MIT License, Apache License 2.0 & BSD-3-Clause Notices

Copyright (c) 2026 OxfordPDF Contributors

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.

---

Provenance and Third-Party Notices for OxfordPDF Engine (`shared/oxford-pdf-engine`):

1. `content/bcmap.mjs` and `content/jpeg.mjs` are adapted from Mozilla PDF.js
   (`src/core/cmap.js`, `src/core/jpg.js`), Copyright Mozilla Foundation,
   licensed under the Apache License, Version 2.0
   (http://www.apache.org/licenses/LICENSE-2.0).

2. `content/encoding-data.mjs` and `content/cff-strings.mjs` contain character
   and glyph mapping tables built from `fontTools` (MIT License) and the Adobe
   Glyph List (Copyright Adobe Systems Incorporated, BSD-3-Clause License).

3. `content/fast-crypto.mjs` is written from FIPS 180-4 and FIPS 197.
   `content/glyphless-font.mjs` builds its font from the OpenType specification.

4. Standard font programs in `public/fonts/standard/` are Liberation Fonts
   (Copyright Liberation Fonts authors and Red Hat, Inc.), licensed under the
   SIL Open Font License 1.1 (`public/licenses/Liberation-OFL.txt`).

5. Precompiled binary CMap files in `public/pdfjs/cmaps/` are generated by
   Mozilla PDF.js (`pdfjs-dist`, Apache-2.0) from Adobe CMap resources
   (Copyright Adobe Systems Incorporated, BSD-3-Clause License,
   `public/pdfjs/cmaps/LICENSE`).

6. Run-time dependencies: `pako` (MIT and Zlib), `@pdf-lib/fontkit` (MIT) and
   `@pdf-lib/standard-fonts` (MIT). Code inlined in fontkit's build and Adobe's
   font-metric notice are in `public/licenses/PDF-engine-bundled-code.txt`.
