diff --git a/src/alf/fonts.ts b/src/alf/fonts.ts index 05da233c7a..c38ba6be3c 100644 --- a/src/alf/fonts.ts +++ b/src/alf/fonts.ts @@ -56,6 +56,10 @@ export function applyFonts(style: Record) { }[style.fontWeight as string] || 'Inter-Regular' if (style.fontStyle === 'italic') { - style.fontFamily += 'Italic' + if (style.fontFamily === 'Inter-Regular') { + style.fontFamily = 'Inter-Italic' + } else { + style.fontFamily += 'Italic' + } } }