답변 3개
1. 글꼴 다운로드 및 임의의 경로에 글꼴을 업로드합니다.
- 아래에서는 `static/font/...` 경로에 위치했습니다.
2. ckeditor 글꼴 설정에 원하는 글꼴을 추가합니다.
`static\plugin\editor\ckeditor4\config.js`
CKEDITOR.editorConfig = function( config ) {
...
// 글꼴관련
config.font_names = '맑은 고딕;굴림;굴림체;궁서;궁서체;돋움;돋움체;바탕;바탕체;안성탕면체/Ansungtangmyun-Bold;'; // + CKEDITOR.config.font_names;
...
3. `static\plugin\editor\ckeditor4\contents.css`, `templates\basic\static\css\default.css`
두개 파일의 최하단에 아래 코드를 추가합니다.
@font-face {
font-family: "Ansungtangmyun-Bold";
font-display: block;
font-weight: normal;
font-style: normal;
src: url(/static/font/Ansungtangmyun-Bold.ttf) format('truetype');
}

댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
https://eyoom.net/eb3_tip/452?sfl=wr_subject&stx=t&sop=and&page=1
https://xe1.xpressengine.com/tip/23082758
https://d2d2.kr/xe_tip/131267
보시고 상황에 맞는걸 사용해보세요^^
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인