PDFType0FontObject Extends PDFIndirectBaseObject
Defined in: object/indirect/fontType0.ts:8
Constructor object/indirect/fontType0.ts:48
new PDFType0FontObject(
fontBufferInput):PDFType0FontObject
Parameters
| Parameter | Type |
|---|---|
fontBufferInput | any |
Returns
PDFType0FontObject
Overrides
PDFIndirectBaseObject.constructor
Properties
| Property | Modifier | Type | Default value | Overrides | Inherited from |
|---|---|---|---|---|---|
_typefontType0.ts:9 | public | string | "fontType0" | PDFIndirectBaseObject._type | - |
cidFontfontType0.ts:13 | public | PDFIndirectBaseObject | undefined | - | - |
fontfontType0.ts:11 | public | Font | undefined | - | - |
fontDescriptorfontType0.ts:15 | public | PDFIndirectBaseObject | undefined | - | - |
fontFilefontType0.ts:16 | public | PDFIndirectStreamObject | undefined | - | - |
fontNamefontType0.ts:10 | public | string | undefined | - | - |
generation?baseIndirect.ts:7 | public | number | undefined | - | PDFIndirectBaseObject.generation |
hbBlobfontType0.ts:18 | public | any | undefined | - | - |
hbFacefontType0.ts:19 | public | any | undefined | - | - |
hbFontfontType0.ts:20 | public | any | undefined | - | - |
id?baseIndirect.ts:6 | public | number | undefined | - | PDFIndirectBaseObject.id |
toUnicodefontType0.ts:14 | public | PDFIndirectStreamObject | undefined | - | - |
valuebaseIndirect.ts:8 | public | any | undefined | - | PDFIndirectBaseObject.value |
Methods
getChildren() object/indirect/fontType0.ts:22
getChildren(): (
PDFIndirectBaseObject|undefined)[]
Returns
(PDFIndirectBaseObject | undefined)[]
Overrides
PDFIndirectBaseObject.getChildren
toBuffer() object/indirect/baseIndirect.ts:25
toBuffer(
encryptFn?,encryptStreamFn?,compressOverride?):Buffer
Parameters
| Parameter | Type |
|---|---|
encryptFn? | (str) => string |
encryptStreamFn? | (data) => Buffer |
compressOverride? | boolean |
Returns
Buffer
Inherited from
PDFIndirectBaseObject.toBuffer
toRef() object/indirect/baseIndirect.ts:16
toRef():
PDFReferenceObject
Returns
Inherited from
toString() object/indirect/baseIndirect.ts:20
toString():
string
Returns
string
Inherited from
PDFIndirectBaseObject.toString
fromUrl() object/indirect/fontType0.ts:26
staticfromUrl(url):Promise<PDFType0FontObject>
Parameters
| Parameter | Type |
|---|---|
url | string |
Returns
Promise<PDFType0FontObject>