연동 방법
1단계: API 발급
압축 해제된 파일을 서버의 지정된 디렉토리에 업로드하세요.
2단계: SDK 통합
다음 코드를 스타일 시트에 추가하세요.
3단계: 데이터 호출
코드 내 경로가 서버의 실제 상대 경로에 맞게 조정되었는지 확인하세요.
이 예시에서는 모든 정의 앞에 를 추가해야 합니다. 예:
@font-face { font-family: 'SpartanMB-Bold'; src: url('/css/webfont/SpartanMB-Bold.eot?#iefix') format('embedded-opentype'), url('/css/webfont/SpartanMB-Bold.otf') format('opentype'), url('/css/webfont/SpartanMB-Bold.woff') format('woff'), url('/css/webfont/SpartanMB-Bold.ttf') format('truetype'), url('/css/webfont/SpartanMB-Bold.svg#SpartanMB-Bold') format('svg'); font-weight: normal; font-style: normal; }