-
Notifications
You must be signed in to change notification settings - Fork 2
[FIX] 폰트 OTS 오류 해결 #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for hufscheer-manager ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for hufscheer ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
HiimKwak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그럼 기존 방식은 next local font로 폰트를 외부에서부터 가져와서 사용하고 있던거고, 바뀐 방식은 pretendard 폰트의 한 버전을 아예 의존성으로 추가해 고정적으로 관리하는 방식인건가요?
기존 방식은 이번 이슈에서는 위의 문제 개선 방법을 고민하다가 Next Local Fonts를 사용하는 것 보다는 Pretendard 의존성으로 추가하는 게 낫다고 판단했습니다. |
seongminn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
거슬렸는데 고생하셨습니다! pretendard가 구글 폰트에 등록을 하려고 계속 시도 중인데 생각보다 까다로워서 쉽지 않은 상황이라고 하더라구요.
기존에 cdn으로 import 해오던 폰트를 아예 의존성으로 설치해버려서 로컬 폰트처럼 관리하는 것으로 보이는데 맞을까요? 좋은 방법인 것 같습니다!
네 맞습니다! |
🌍 이슈 번호
✅ 작업 내용
pretendard폰트의 의존성 패키지를 설치하여, 폰트 css를 불러오는 방식으로 변경했습니다.♾️ 기타
next/font방식으로 폰트를 최적화 하는 것이 가장 좋을거라고 생각했으나, 현재 Pretendard 폰트는 구글 웹폰트에 업로드 되어 있지 않아 Local Fonts 방식을 사용해야 하는 상황이었습니다.