@vivliostyle/core
    Preparing search index...

    Class Mapper

    Object that loads fonts in a document and allocates font families for them in the view document

    where to add styles in the view document (normally head element)

    where to probe text in the view document (normally body element)

    Index

    Constructors

    • Parameters

      • head: Element
      • body: Element
      • Optionalopt_familyPrefix: string

      Returns Mapper

    Properties

    body: Element
    familyCounter: number = 0
    familyPrefix: string
    head: Element
    srcURLMap: { [key: string]: Fetcher<Face> } = {}

    Maps Face.src to an entry for an already-loaded font.

    Methods