https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/1930
## Fixed
- ExcalidrawAutomate `measureText` returned an incorrect value because `getFontFamily` returned undefined. This resulted in ExcaliBrain gates getting offset incorrectly since 2.2.11
## New in ExcalidrawAutomate
- Exposing `ea.tex2dataURL` based on FR [#1930](https://github.com/zsviczian/obsidian-excalidraw-plugin/issues/1930)
```ts
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 };
}>
```