bobzhang/asciidoctor-pdf/fonts does not have a README file

    Bundle

    pub struct Bundle {
    // private fields
    }

    A set of bundled files, by the name they have in their directory (notoserif-regular-subset.ttf, fas/fa-solid.ttf). Each is decoded when it is first asked for, then kept.

    Bundle::contains

    fn Bundle::contains(self : Bundle, name : String) -> Bool

    Whether the bundle has file name (without decoding it).

    Bundle::from_armoured

    fn Bundle::from_armoured(files : Array[(String, () -> Array[Bytes])]) -> Bundle

    A bundle of generated data (see inflate_armoured).

    Bundle::get

    fn Bundle::get(self : Bundle, name : String) -> Bytes?

    The contents of file name, when the bundle has it.

    Bundle::names

    fn Bundle::names(self : Bundle) -> Array[String]

    The names of the bundle's files.

    Bundle::new

    fn Bundle::new(files : Array[(String, () -> Bytes)]) -> Bundle

    A bundle of files: name → a function producing the contents (called once, on the first get).

    default_fonts

    fn default_fonts() -> Bundle

    asciidoctor-pdf 2.3.27's default fonts, by their names in its data/fonts: the default theme's Noto Serif (notoserif-regular-subset.ttf, -bold-, -italic-, -bold_italic-) and M+ 1mn (mplus1mn-*-subset.ttf), and its mapping of Font Awesome 4 icon names (fa-legacy-mapping.yml).

    inflate_armoured

    fn inflate_armoured(chunks : Array[Bytes]) -> Bytes

    The bytes of generated data: the chunks of zlib-compressed, ASCII85-armoured text that scripts/pdf_bundle_fonts.mbtx writes, restored.