feat: custom text metrics provider (#9121)

This commit is contained in:
Marcel Mraz 2025-02-11 14:23:08 +01:00 committed by GitHub
parent c329470b73
commit e3060dfb8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 268 additions and 267 deletions

View file

@ -5,7 +5,7 @@ import { render, waitFor, GlobalTestState } from "./test-utils";
import { Pointer, Keyboard } from "./helpers/ui";
import { Excalidraw } from "../index";
import { KEYS } from "../keys";
import { getLineHeightInPx } from "../element/textElement";
import { getLineHeightInPx } from "../element/textMeasurements";
import { getElementBounds } from "../element";
import type { NormalizedZoomValue } from "../types";
import { API } from "./helpers/api";