@qrcommunication/gigapdf-lib 0.105.0 → 0.107.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -530,6 +530,14 @@ interface TextElementInfo {
530
530
  height: number;
531
531
  /** Resolved `/BaseFont` family (e.g. "Helvetica", "Times New Roman"). */
532
532
  fontFamily: string;
533
+ /**
534
+ * The raw `/BaseFont` name with the subset prefix kept (e.g.
535
+ * `"ABCDEF+TimesNewRomanPSMT"`), resolved against the run's own scope — the
536
+ * page, or the form XObject the run is drawn inside. Lets a host target the
537
+ * exact embedded subset rather than only the collapsed {@link fontFamily}.
538
+ * Empty when the run's font carried no `/BaseFont` (e.g. a Type3 font).
539
+ */
540
+ baseFont: string;
533
541
  bold: boolean;
534
542
  italic: boolean;
535
543
  /** Effective glyph size in points. */
package/dist/index.d.ts CHANGED
@@ -530,6 +530,14 @@ interface TextElementInfo {
530
530
  height: number;
531
531
  /** Resolved `/BaseFont` family (e.g. "Helvetica", "Times New Roman"). */
532
532
  fontFamily: string;
533
+ /**
534
+ * The raw `/BaseFont` name with the subset prefix kept (e.g.
535
+ * `"ABCDEF+TimesNewRomanPSMT"`), resolved against the run's own scope — the
536
+ * page, or the form XObject the run is drawn inside. Lets a host target the
537
+ * exact embedded subset rather than only the collapsed {@link fontFamily}.
538
+ * Empty when the run's font carried no `/BaseFont` (e.g. a Type3 font).
539
+ */
540
+ baseFont: string;
533
541
  bold: boolean;
534
542
  italic: boolean;
535
543
  /** Effective glyph size in points. */