Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface used to provide packed (binary) PDF CMaps to the PDF rendering pipeline.

    PDF.js uses CMaps (character maps) to decode text for certain fonts. To reduce initial bundle size, CMaps are split into multiple loadable “groups”. Each group is represented by an IPdfCMapGroup implementation that can return the binary .bcmap payload for a given CMap file name.

    interface IPdfCMapGroup {
        getBinaryCMapData(name: string): Uint8Array<ArrayBufferLike>;
    }

    Methods

    • Returns the binary data for the specified packed CMap file.

      Parameters

      • name: string

        The .bcmap file name to look up (including the .bcmap extension).

      Returns Uint8Array<ArrayBufferLike>

      The packed CMap bytes, or undefined if this group does not contain the requested CMap.