글꼴 설정
툴바에 표시되는 글꼴을 구성합니다.
Synap Editor는 글꼴 목록만 관리하며, 글꼴 파일 자체는 제공하지 않습니다.
글꼴 설정
editor.fontFamily를 사용하여 툴바의 글꼴 메뉴에 표시되는 글꼴을 설정합니다.
일반
텍스트에 적용될 스타일 문자열을 지정합니다.
// synapeditor.config.js
{
'editor.fontFamily': {
'ko': [
'돋움', '굴림', '바탕', '궁서', '맑은고딕',
'Arial', 'Comic Sans MS', 'Courier New', 'Georgia',
'Lucida Sans Unicode', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana'
]
}
}
객체 형태
2.15.2212 버전부터 지원합니다.
툴바 메뉴에 표시되는 레이블과 텍스트에 적용되는 스타일이 다를 경우, 아래와 같이 객체 형태로 항목을 작성합니다.
{ label: 'Text shown in the menu', value: 'Style applied to text' }
설정
// synapeditor.config.js
{
'editor.fontFamily': {
'ko': [
'굴림',
{ label: '나눔 고딕', value: 'NanumGothic' },
{ label: '바탕', value: 'Batang' },
{ label: '붓 글씨를 닮은 궁서체', value: 'GungSuh' }
]
}
}
결과

언어별 글꼴 설정
// synapeditor.config.js
{
'editor.fontFamily': {
'ko': [
'돋움', '굴림', '바탕', '궁서', '맑은 고딕',
'Arial', 'Comic Sans MS', 'Courier New', 'Georgia',
'Lucida Sans Unicode', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana'
],
'en': [
'Arial', 'Comic Sans MS', 'Courier New', 'Georgia',
'Lucida Sans Unicode', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana'
]
}
}
| 한국어 (ko) | 영어 (en) |
|---|---|
![]() ![]() ![]() | ![]() ![]() |




