Separate metadata from fonts

This commit is contained in:
Marcel Mraz 2025-03-13 14:36:29 +01:00
parent a61fdb428c
commit a0c16d9bc1
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
10 changed files with 47 additions and 39 deletions

View file

@ -37,7 +37,7 @@ import {
isTextElement,
isUsingAdaptiveRadius,
} from "../element/typeChecks";
import { getLineHeight } from "../fonts";
import { getLineHeight } from "../fonts/FontMetadata";
import { syncInvalidIndices } from "../fractionalIndex";
import { randomId } from "../random";
import {

View file

@ -22,7 +22,7 @@ import {
} from "../element/newElement";
import { measureText, normalizeText } from "../element/textMeasurements";
import { isArrowElement } from "../element/typeChecks";
import { getLineHeight } from "../fonts";
import { getLineHeight } from "../fonts/FontMetadata";
import { syncInvalidIndices } from "../fractionalIndex";
import { getSizeFromPoints } from "../points";
import { randomId } from "../random";