Font Settings

Configure the fonts displayed in the toolbar.

Synap Editor only manages the font list — font files themselves are not provided.

Font Settings

Use editor.fontFamily to set the fonts that appear in the toolbar's font menu.

Plain

Provide the style strings that will be applied to text.

// synapeditor.config.js
{
  'editor.fontFamily': {
    'ko': [
      '돋움', '굴림', '바탕', '궁서', '맑은고딕',
      'Arial', 'Comic Sans MS', 'Courier New', 'Georgia',
      'Lucida Sans Unicode', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana'
    ]
  }
}

Object form

Release 2.15.2212 and above.

When the label shown in the toolbar menu and the style applied to text should differ, write the entry in object form as shown below.

{ label: 'Text shown in the menu', value: 'Style applied to text' }

Configuration

// synapeditor.config.js
{
  'editor.fontFamily': {
    'ko': [
      '굴림',
      { label: '나눔 고딕', value: 'NanumGothic' },
      { label: '바탕', value: 'Batang' },
      { label: '붓 글씨를 닮은 궁서체', value: 'GungSuh' }
    ]
  }
}

Result

Object form result

Per-language font settings

// 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'
    ]
  }
}
Korean (ko)English (en)
ko 1
ko 2
ko 3
en 1
en 2