@adobe/pdfservices-node-sdk
Version:
The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.
44 lines • 1.43 kB
JavaScript
;
/*
* Copyright 2024 Adobe
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file in
* accordance with the terms of the Adobe license agreement accompanying
* it. If you have received this file from a source other than Adobe,
* then your use, modification, or distribution of it requires the prior
* written permission of Adobe.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.Font = void 0;
/**
* This class provides information about the font used in the specified PDF file, such as font-name, font-family etc.
*/
class Font {
/**
* Returns a string specifying the post-script name of the font - e.g. "YERPXC+MyriadPro-Regular" etc.
*
* @returns A String denoting the post-script name of the font.
*/
get name() {
return this._name;
}
/**
* Returns a string specifying the font technology type - e.g. "Type 1", "TrueType", "OpenType" etc.
*
* @returns A String denoting the font technology type.
*/
get fontType() {
return this._fontType;
}
/**
* Returns a string specifying font's family name - e.g. For font "Times Bold Italic", family name is "Times" etc.
*
* @returns A String denoting the font's family name.
*/
get familyName() {
return this._familyName;
}
}
exports.Font = Font;
//# sourceMappingURL=Font.js.map