폰트 질문이요

폰트 질문이요

QA

폰트 질문이요

본문

www/theme/basic/css/fonts/

3731885385_1611540979.9675.png

 


@font-face {font-family:'AppleSDGothicNeoL';
    src:url('./fonts/AppleSDGothicNeoL.eot');
    src:url('./fonts/AppleSDGothicNeoL.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoL.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoL.ttf') format('truetype');
    font-weight:400;
    font-style:normal;
}
@font-face {font-family:'AppleSDGothicNeoM';
    src:url('./fonts/AppleSDGothicNeoM.eot');
    src:url('./fonts/AppleSDGothicNeoM.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoM.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoM.ttf') format('truetype');
    font-weight:500;
    font-style:normal;
}
@font-face {font-family:'AppleSDGothicNeoB';
    src:url('./fonts/AppleSDGothicNeoB.eot');
    src:url('./fonts/AppleSDGothicNeoB.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoB.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoB.ttf') format('truetype');
    font-weight:700;
    font-style:normal;
}
@font-face {font-family:'AppleSDGothicNeoEB';
    src:url('./fonts/AppleSDGothicNeoEB.eot');
    src:url('./fonts/AppleSDGothicNeoEB.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoEB.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoEB.ttf') format('truetype');
    font-weight:900;
    font-style:normal;
}
body {font-family:'Apple SD Gothic Neo';font-style:normal;}

 

PC에 Apple SD Gothic Neo 폰트를 적용시키고싶은데 어디가 틀린건가요? 글씨가 안먹혀요
 

이 질문에 댓글 쓰기 :

답변 1

@font-face {font-family:'AppleSDGothicNeoL'; 

선언을 한 것과 

 

body {font-family:'Apple SD Gothic Neo';font-style:normal;}

불러서 쓰는게 다르지 않나요?


@font-face {font-family:'Apple SD Gothic Neo';
	src:url('./fonts/AppleSDGothicNeoL.eot');
	src:url('./fonts/AppleSDGothicNeoL.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoL.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoL.ttf') format('truetype');
	font-weight:400;
	font-style:normal;
}
@font-face {font-family:'Apple SD Gothic Neo';
	src:url('./fonts/AppleSDGothicNeoM.eot');
	src:url('./fonts/AppleSDGothicNeoM.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoM.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoM.ttf') format('truetype');
	font-weight:500;
	font-style:normal;
}
@font-face {font-family:'Apple SD Gothic Neo';
	src:url('./fonts/AppleSDGothicNeoB.eot');
	src:url('./fonts/AppleSDGothicNeoB.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoB.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoB.ttf') format('truetype');
	font-weight:700;
	font-style:normal;
}
@font-face {font-family:'Apple SD Gothic Neo';
	src:url('./fonts/AppleSDGothicNeoEB.eot');
	src:url('./fonts/AppleSDGothicNeoEB.eot?#iefix') format(‘embedded-opentype’), url('./fonts/AppleSDGothicNeoEB.woff') format(‘woff’), url('./fonts/AppleSDGothicNeoEB.ttf') format('truetype');
	font-weight:900;
	font-style:normal;
}


이렇게 바꿔봤는데도 안돼네요 ㅠㅠ

src 부분의 경로는 정확한가요?
fonts 라는 폴더는 어디에 위치해 있나요. eot 파일 또는 웹폰트에 사용될 폰트는 다운받아서 폴더에 넣어두셨나요? 천천히 체크해보세요 ^^



www/theme/basic/css/default.css 에서 위에 코드 작성한거구요

www/theme/basic/css/fonts 에 폰트들 넣어놨어요

질문에서 맨위에 fonts 파일도 확인해보시면 폴더에 넣어둔게 잘못된걸까요 ??

답변을 작성하시기 전에 로그인 해주세요.
전체 52
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT