웹 폰트 질문 좀 드립니다.

웹 폰트 질문 좀 드립니다.

QA

웹 폰트 질문 좀 드립니다.

답변 1

본문

수고하십니다.

웹폰트를 사용중입니다.

 

아래와 같이 사용 중입니다.

 

S-CoreDream-4Regular 폰트에서 없는 폰트가 있어서 없는 폰트는 공백으로 나오더라구요.

예를 들어 앜 같은 글자요.

 

그래서 Noto+Sans+KR 추가 해줬습니다.

없는 글자는 Noto Sans KR과 dotum 나올 줄 알고 해봤는데 안나옵니다.

 

웹폰트 사용시 없는 글자를 대체할 수 있는 방법이 없을까요?

 

 


@import url('https://fonts.googleapis.com/css?family=Roboto:400,300,500,500italic,700,900,400italic,700italic');
@font-face { font-family: 'S-CoreDream-4Regular'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-4Regular.woff') format('woff'); font-weight: normal; font-style: normal; }
@import url('https://fonts.googleapis.com/css2? family= Noto+Sans+KR:wght@400;500 & display=swap');
 
 
 
body {
    font-size:15px !important;
    font-family: 'S-CoreDream-4Regular', 'Noto Sans KR', 'dotum', sans-serif !important;

 

 

 

이 질문에 댓글 쓰기 :

답변 1


<style>
.my { font-family:dotum; }
</style>
.
.
.
</body>
 
<script>
document.querySelector("body").innerHTML = document.querySelector("body").innerHTML.replaceAll("앜", "<span class='my'>앜</span>");
</script>
답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 33
© SIRSOFT
현재 페이지 제일 처음으로