@vivliostyle/core
    Preparing search index...

    Class Face

    A font declared in a font-face rule.

    Index

    Constructors

    • Parameters

      • properties: { [key: string]: Val }

      Returns Face

    Properties

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

    Methods

    • Create "at" font-face rule.

      Parameters

      • src: string
      • fontBytes: Blob

      Returns string

    • Check if font traits are the same for two font faces

      Parameters

      Returns boolean