@@ -46,7 +46,7 @@ export const FONT_METADATA: Record<number, FontMetadata> = {
unitsPerEm: 1000,
ascender: 1011,
descender: -353,
- lineHeight: 1.35,
+ lineHeight: 1.25,
},
[FONT_FAMILY["Lilita One"]]: {
@@ -116,7 +116,7 @@ export const FONT_METADATA: Record<number, FontMetadata> = {
ascender: 880,
descender: -144,
- lineHeight: 1.15,
fallback: true,
@@ -1324,7 +1324,7 @@ describe("textWysiwyg", () => {
).toEqual(FONT_FAMILY.Nunito);
expect(
(h.elements[1] as ExcalidrawTextElementWithContainer).lineHeight,
- ).toEqual(1.35);
+ ).toEqual(1.25);
});
describe("should align correctly", () => {