From 245060dd30558819e4af96718207ade8c1ed5b77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=BE=E5=A4=AA=20=E2=82=8D=E2=82=8D=20=E2=97=9D=28?= =?UTF-8?q?=EF=BD=A5=E2=97=A1=EF=BD=A5=29=E2=97=9F=20=E2=81=BE=E2=81=BE?= Date: Fri, 2 Aug 2024 14:54:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E6=B1=BA=E5=AD=97=E9=AB=94?= =?UTF-8?q?=E6=8A=93=E4=B8=8D=E5=88=B0=E7=9A=84=E5=9B=B0=E6=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Domains/Social/Services/Image/ImagesGenerator.php | 4 ++-- resources/sass/frontend/base/_basic.scss | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Domains/Social/Services/Image/ImagesGenerator.php b/app/Domains/Social/Services/Image/ImagesGenerator.php index 2d317ac9..e2aec3e6 100644 --- a/app/Domains/Social/Services/Image/ImagesGenerator.php +++ b/app/Domains/Social/Services/Image/ImagesGenerator.php @@ -254,12 +254,12 @@ public function font(string $font): ImagesGenerator /** 俐方體 11 號 */ case 'cubic-11': - $this->fontPath = public_path('fonts/Cubic_11_1.010_R.ttf'); + $this->fontPath = public_path('fonts/Cubic_11.ttf'); break; /** 粉圓體 */ case 'huninn': - $this->fontPath = public_path('fonts/jf-openhuninn-1.1.ttf'); + $this->fontPath = public_path('fonts/jf-openhuninn.ttf'); break; /** 未來熒黑 */ diff --git a/resources/sass/frontend/base/_basic.scss b/resources/sass/frontend/base/_basic.scss index 8312e843..ce629ada 100644 --- a/resources/sass/frontend/base/_basic.scss +++ b/resources/sass/frontend/base/_basic.scss @@ -71,7 +71,7 @@ body { */ @font-face { font-family: "Cubic 11"; - src: url("/fonts/Cubic_11_1.010_R.ttf"); + src: url("/fonts/Cubic_11.ttf"); } /** @@ -80,7 +80,7 @@ body { */ @font-face { font-family: "Huninn"; - src: url("/fonts/jf-openhuninn-1.1.ttf"); + src: url("/fonts/jf-openhuninn.ttf"); } /** @@ -88,7 +88,7 @@ body { * https://github.com/welai/glow-sans */ @font-face { - font-family: "Huninn"; + font-family: "Glow Sans"; src: url("/fonts/GlowSansTC-Normal-Medium.ttf"); }