@vivliostyle/core
    Preparing search index...

    Class Face

    A font declared in a font-face rule.

    Index

    Constructors

    Properties

    blobs: Blob[] = []
    blobURLs: string[] = []
    family: string
    fontTraitKey: string
    properties: { [key: string]: Val }
    src: string
    styleElement: HTMLStyleElement = null

    The <style> element carrying this face's @font-face rule in the view document. Only the view faces made by Mapper.initFont have one.

    Methods

    • Create "at" font-face rule.

      Parameters

      • src: string
      • fontBytes: Blob

      Returns string