Moving font metadata into common

This commit is contained in:
Marcel Mraz 2025-03-19 15:50:16 +01:00
parent dfd48c221c
commit ccbd004f22
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
18 changed files with 58 additions and 45 deletions

View file

@ -13,6 +13,7 @@ import {
distance,
getFontString,
isRTL,
getVerticalOffset,
} from "@excalidraw/common";
import { getElementAbsoluteCoords } from "@excalidraw/element/bounds";
import { getUncroppedImageElement } from "@excalidraw/element/cropElement";
@ -38,8 +39,6 @@ import {
import { getContainingFrame } from "@excalidraw/element/frame";
import { getCornerRadius } from "@excalidraw/element/shapes";
// TODO_SEP: consider separating
import { getVerticalOffset } from "@excalidraw/excalidraw/fonts/FontMetadata";
import type {
ExcalidrawElement,