first commit
This commit is contained in:
8
node_modules/pdf-lib/es/utils/objects.js
generated
vendored
Normal file
8
node_modules/pdf-lib/es/utils/objects.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { FontNames } from '@pdf-lib/standard-fonts';
|
||||
export var values = function (obj) { return Object.keys(obj).map(function (k) { return obj[k]; }); };
|
||||
export var StandardFontValues = values(FontNames);
|
||||
export var isStandardFont = function (input) {
|
||||
return StandardFontValues.includes(input);
|
||||
};
|
||||
export var rectanglesAreEqual = function (a, b) { return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height; };
|
||||
//# sourceMappingURL=objects.js.map
|
||||
Reference in New Issue
Block a user