Fixed
- ExcalidrawAutomate
measureText
returned an incorrect value becausegetFontFamily
returned undefined. This resulted in ExcaliBrain gates getting offset incorrectly since 2.2.11
New in ExcalidrawAutomate
- Exposing
ea.tex2dataURL
based on FR #1930
async tex2dataURL(
tex: string,
scale: number = 4 // Default scale value, adjust as needed
): Promise<{
mimeType: MimeType;
fileId: FileId;
dataURL: DataURL;
created: number;
size: { height: number; width: number };
}>