oportunidades 8
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-14 08:25:30 +02:00
parent 287e991486
commit ba1c0340ea
9112 changed files with 2199795 additions and 856 deletions
@@ -0,0 +1,13 @@
import { FontNames } from '@pdf-lib/standard-fonts';
export const values = (obj: any) => Object.keys(obj).map((k) => obj[k]);
export const StandardFontValues = values(FontNames);
export const isStandardFont = (input: any): input is FontNames =>
StandardFontValues.includes(input);
export const rectanglesAreEqual = (
a: { x: number; y: number; width: number; height: number },
b: { x: number; y: number; width: number; height: number },
) => a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;