restty 0.1.17 → 0.1.18

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.
@@ -25,8 +25,7 @@ export declare function fontAdvanceUnits(entry: FontEntry, shapeClusterWithFont:
25
25
  export declare function glyphWidthUnits(entry: FontEntry, glyphId: number | undefined | null): number;
26
26
  /**
27
27
  * Select the best font index from the manager's font list for rendering the
28
- * given text cluster, preferring symbol fonts for Nerd/PUA codepoints and
29
- * scoring candidates by advance-width ratio fit.
28
+ * given text cluster, searching in fallback order similar to Ghostty.
30
29
  */
31
30
  export declare function pickFontIndexForText(state: FontManagerState, text: string, expectedSpan: number, shapeClusterWithFont: (entry: FontEntry, text: string) => ShapedCluster): number;
32
31
  /** Fetch a font file from a URL and return its ArrayBuffer, or null on failure. */