From e6e89911cd7dc397b6b23b6dcafd9d85b537528a Mon Sep 17 00:00:00 2001 From: QihanNX Date: Tue, 11 Aug 2026 04:27:41 +0000 Subject: [PATCH] feat: update OG image font to Noto Serif SC --- src/pages/og.png.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/og.png.ts b/src/pages/og.png.ts index d037ad6..2b6f2e9 100644 --- a/src/pages/og.png.ts +++ b/src/pages/og.png.ts @@ -6,7 +6,7 @@ import { getFontPathByWeight } from "@/utils/getFontPathByWeight"; import config from "@/config"; export const GET: APIRoute = async context => { - const fonts = fontData["--font-nunito"]; + const fonts = fontData["--font-noto-serif-sc"]; const regularFontPath = getFontPathByWeight(fonts, 400); const boldFontPath = getFontPathByWeight(fonts, 700); @@ -34,7 +34,7 @@ export const GET: APIRoute = async context => { display: "flex", alignItems: "center", justifyContent: "center", - fontFamily: "Nunito", + fontFamily: "Noto Serif SC", }, children: [ { @@ -145,13 +145,13 @@ export const GET: APIRoute = async context => { embedFont: true, fonts: [ { - name: "Nunito", + name: "Noto Serif SC", data: regularData, weight: 400, style: "normal", }, { - name: "Nunito", + name: "Noto Serif SC", data: boldData, weight: 700, style: "normal",