asciidoctor-pdf for MoonBit (bobzhang/asciidoctor-pdf)
Copyright (C) 2026 Hongbo Zhang and the contributors to asciidoctor.mbt.
Licensed under the MIT License (see LICENSE), except for the third-party
material listed below, which is under its own license.

This module contains third-party material, listed below with its license.
The license texts are in LICENSE (MIT), rouge/LICENSE (Rouge, MIT, and
Pygments), pygments/LICENSE (Pygments, BSD-2-Clause), LICENSES/LICENSE-prawn
(prawn-table) and fonts/LICENSES.

== Asciidoctor PDF 2.3.27 (MIT)

Copyright (C) 2014-present OpenDevise Inc. and the Asciidoctor Project.
https://github.com/asciidoctor/asciidoctor-pdf

* The conversion is a port of Asciidoctor PDF's converter and theme loader.
* theme/bundled.mbt holds the text of its bundled themes (data/themes/*.yml).
* fonts/data_fa_legacy_mapping_yml.mbt holds its mapping of Font Awesome 4
  icon names (data/fonts/fa-legacy-mapping.yml).
* theme/harvest_test.mbt and theme/testdata are derived from its test suite
  (spec/theme_loader_spec.rb and its fixtures); tests/images holds images
  copied from its spec/fixtures.

The MIT license text is in LICENSE.

== bobzhang/prawn

The layout is bobzhang/prawn's (a separate module,
https://github.com/bobzhang/prawn.mbt), with its own LICENSE and NOTICE: its
prawn-svg port (MIT) and the parts adapted from Prawn and prawn-table.

== prawn-table 0.2.2 (Ruby's license terms, or GPLv2/GPLv3)

Copyright December 2009, Brad Ediger; prawn-table is copyrighted free
software produced by Gregory Brown along with community contributions.
https://github.com/prawnpdf/prawn-table

* table.mbt: the row stripes and the cell borders, adapted from prawn-table
  (partly through Asciidoctor PDF's prawn-table extensions).

prawn-table 0.2.2 may be used under Matz's original licensing terms for
Ruby, or the GPLv2 or GPLv3. The adapted parts are used under Matz's terms,
whose text is in LICENSES/LICENSE-prawn; they allow including part of the
software in other software (clause 4), and the modified source is freely
available in this module and at https://github.com/bobzhang/asciidoctor.mbt.
The GPLv2 and GPLv3 files LICENSE-prawn mentions are not included, as the
adapted parts are not used under those licenses.

== Rouge 3.30.0 (MIT; lexers adapted from Pygments, BSD-2-Clause)

Copyright (c) 2012 Jeanine Adkisson; Pygments: Copyright (c) 2006-2012 by
the respective authors.
https://github.com/rouge-ruby/rouge

* rouge/ (the package bobzhang/asciidoctor-pdf/rouge), with which source
  blocks are highlighted for `source-highlighter: rouge`, is a port of
  Rouge's lexer core (lexer.rb, regex_lexer.rb), of the lexers it lists in
  rouge/lexers_*.mbt (their regular expressions and keyword lists) and of
  its themes (rouge/themes_data.mbt, generated from Rouge).
* rouge/harvest_test.mbt holds Rouge's demos and parts of its visual
  samples (lib/rouge/demos, spec/visual/samples) with the tokens Rouge
  makes of them.

The license text, with the Pygments license it includes, is in
rouge/LICENSE.

== Asciidoctor (MIT)

Copyright (C) 2012-present Dan Allen, Sarah White, Ryan Waldron, and the
individual contributors to Asciidoctor. Used through the bobzhang/asciidoctor
module, a port of Asciidoctor. https://github.com/asciidoctor/asciidoctor

== Bundled fonts

The fonts are the files Asciidoctor PDF 2.3.27 and prawn-icon 3.0.0 ship,
unmodified (stored zlib-compressed and ASCII85-encoded in the data_*.mbt
files by scripts/pdf_bundle_fonts.mbtx of the asciidoctor.mbt repository).
A PDF made with them embeds subsets of them; the font licenses do not apply
to such documents.

Noto Serif and Noto Sans (subsets) -- Apache License 2.0
  fonts/ (notoserif-*-subset.ttf), fonts/sans (notosans-*-subset.ttf).
  Google Noto fonts, https://github.com/googlefonts/noto-fonts, subset by
  the Asciidoctor PDF project. License: fonts/LICENSES/LICENSE-noto;
  provenance: fonts/LICENSES/ABOUT-notoserif-subset, ABOUT-notosans-subset.

Noto Emoji (subset) -- Apache License 2.0
  fonts/fallback (notoemoji-subset.ttf).
  https://github.com/googlefonts/noto-emoji, subset by the Asciidoctor PDF
  project. License: fonts/LICENSES/LICENSE-noto; provenance:
  fonts/LICENSES/ABOUT-notoemoji-subset.

M+ 1mn and M+ 1p (subsets) -- M+ FONTS license (free use, copy and
distribution, with or without modification)
  fonts/ (mplus1mn-*-subset.ttf), fonts/fallback
  (mplus1p-regular-fallback.ttf). Copyright (C) 2002-2019 M+ FONTS PROJECT,
  https://mplus-fonts.osdn.jp, subset by the Asciidoctor PDF project.
  License: fonts/LICENSES/LICENSE-mplus; provenance:
  fonts/LICENSES/ABOUT-mplus1mn-subset, ABOUT-mplus1p-subset.

Font Awesome Free 5.15.1 (fonts) -- SIL Open Font License 1.1
  fonts/icons (fas/fa-solid.ttf, far/fa-regular.ttf, fab/fa-brands.ttf).
  Copyright (c) Fonticons, Inc., https://fontawesome.com. License:
  fonts/LICENSES/OFL-fontawesome.txt; Font Awesome's license summary:
  fonts/LICENSES/LICENSE-fontawesome. Brand icons are trademarks of their
  respective owners.

Foundation Icons 3.0 -- MIT License
  fonts/icons (fi/foundation-icons.ttf). Made by ZURB 2013,
  https://zurb.com/playground/foundation-icon-fonts-3. License:
  fonts/LICENSES/LICENSE-foundation-icons.

PaymentFont 1.2.5 -- MIT License (as distributed with prawn-icon)
  fonts/icons (pf/paymentfont-webfont.ttf). https://paymentfont.com.
  License: fonts/LICENSES/LICENSE-paymentfont.

Icon names
  fonts/icons (<set>/glyphs.txt): each icon font's icon names and code
  points, generated by scripts/pdf_bundle_fonts.mbtx from the icon fonts'
  own projects:
  * fas, far, fab: the glyph names in the Font Awesome Free 5.15.1 fonts
    themselves (SIL OFL 1.1, as above), plus the code point of
    font-awesome-logo-full, which Font Awesome Free 5.15.1's metadata
    (metadata/icons.yml; Copyright (c) Fonticons, Inc., Font Awesome Free
    license, fonts/LICENSES/LICENSE-fontawesome;
    https://github.com/FortAwesome/Font-Awesome) lists and the fonts lack.
  * fi: Foundation Icons 3.0's foundation-icons.css (MIT License, Made by
    ZURB 2013; https://github.com/zurb/foundation-icon-fonts).
  * pf: PaymentFont 1.2.5's sass/_variables.scss (MIT License, Copyright
    (c) 2017 Alexander Manfred Pöllmann;
    https://github.com/AlexanderPoellmann/PaymentFont). License:
    fonts/LICENSES/LICENSE-paymentfont-1.2.5.

== Fonts of dependencies

Programs built with this module also link moonbitlang/pagelayout, which
bundles Carlito, Liberation and Noto Sans SC fonts under the SIL Open Font
License 1.1 (see that module's fonts/LICENSES).

== Pygments (BSD-2-Clause)

Copyright (c) 2006-2022 by the respective authors (see AUTHORS file).
https://pygments.org

Programs that link the package bobzhang/asciidoctor-pdf/pygments (the
command cmd/asciidoctor-pdf-pygments does; cmd/asciidoctor-pdf does not)
also link bobzhang/pygments, a port of Pygments, and must reproduce its
license, whose text is in pygments/LICENSE (as bobzhang/pygments carries
it). Rouge's lexers, linked by every program of this module, are adapted
from Pygments too; rouge/LICENSE includes the same license.
