Skip to content

modern-pdf-lib


modern-pdf-lib / CIDFontData

Interface: CIDFontData

Defined in: src/assets/font/fontEmbed.ts:475

Data for the CIDFont (DescendantFont) dictionary.

Properties

baseFont

readonly baseFont: string

Defined in: src/assets/font/fontEmbed.ts:477


cidSystemInfo

readonly cidSystemInfo: CIDSystemInfoData

Defined in: src/assets/font/fontEmbed.ts:478


defaultWidth

readonly defaultWidth: number

Defined in: src/assets/font/fontEmbed.ts:485


subtype

readonly subtype: "CIDFontType2"

Defined in: src/assets/font/fontEmbed.ts:476


wArray

readonly wArray: readonly WidthEntry[]

Defined in: src/assets/font/fontEmbed.ts:484

The /W (widths) array entries. Each entry is either:

  • [cid, [w1, w2, ...]] — individual widths starting at cid
  • [cidFirst, cidLast, width] — range with uniform width

Released under the MIT License.