base.css 의 @font-face 가 /fonts/PretendardVariable.woff2 를 가리키는데 public/fonts 에는 README 만 있었다. 킹서버 실측: 그 주소가 404 — 윈도우 콘솔에 폰트 오류로 보였고, 빌더와 Pretendard 를 쓰는 기본 템플릿은 맥·윈도우 모두 Noto Sans KR 로 떨어져 있었다. Pretendard 는 구글 폰트에 없다. - public/fonts/PretendardVariable.woff2 (v1.3.9 가변, 2.0MB, orioncactus/pretendard 공식 배포본, sha256 9599f12f…) — 빌더(frontend)·발행본(site) 양쪽 - Pretendard-OFL.txt: SIL OFL 1.1 은 폰트 배포 시 라이선스 동봉을 요구한다 vite build 산출물에 fonts/ 포함 확인 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Pretendard-OFL.txt | ||
| PretendardVariable.woff2 | ||
| README.md | ||
fonts
PretendardVariable.woff2 를 여기 두면 한글 본문이 Pretendard 로 뜬다.
없어도 빌드는 깨지지 않는다 — @font-face 가 조용히 실패하고
Noto Sans KR(구글폰트 CDN) → system-ui 순서로 폴백된다.
빌드 시 "didn't resolve at build time" 경고가 뜨는 건 그 때문이고, 무해하다.
curl -L -o PretendardVariable.woff2 \
https://github.com/orioncactus/pretendard/raw/main/packages/pretendard/dist/web/variable/woff2/PretendardVariable.woff2
★ 프리렌더가 public/ 을 굽는 결과물로 복사하므로, 여기 두면 발행 사이트에 자동으로 따라간다.
빌더(solution/frontend/public/fonts/)는 자기 몫을 따로 갖는다 — 두 앱은 번들이 다르다.