diff --git a/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml b/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml index 60f4085..156f0e5 100644 --- a/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml +++ b/DiscordChatExporter.Core/Exporting/PreambleTemplate.cshtml @@ -15,8 +15,8 @@ ? darkVariant : lightVariant; - string GetFontUrl(int weight) => - $"https://cdn.jsdelivr.net/gh/Tyrrrz/DiscordFonts@master/whitney-{weight}.woff"; + string GetFontUrl(string style, int weight) => + $"https://cdn.jsdelivr.net/gh/Tyrrrz/DiscordFonts@master/ggsans-{style}-{weight}.woff2"; ValueTask ResolveAssetUrlAsync(string url) => Context.ResolveAssetUrlAsync(url, CancellationToken); @@ -41,33 +41,73 @@ @{/* Styling */}