Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Set the font families to be displayed on the toolbar.

Warning

Synap Editor SynapEditor can only set the font list of font and we do does not provide any font filesfile.

사이냅에디터는 글꼴 목록 설정만 가능하며 별도로 폰트파일을 제공하지 않습니다.

Font Configuration

Set the font families to be displayed on the toolbar with 'editor.fontFamily'

General

Sets the style to be applied to the text in the form of a string.

Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
	'editor.fontFamily': {
    	'koen': [
            '돋움Arial', '굴림Comic Sans MS', '바탕Courier New', '궁서Georgia',
  '맑은고딕',          'Lucida Sans Unicode', 'ArialTahoma', 'Comic SansTimes New Roman', 'Trebuchet MS', 'Courier New', 'GeorgiaVerdana'
        ]
    }
}


Object shape

Status
colourYellow
titleRelease 2.15.2212 or avobe

If the name to be displayed in the toolbar menu and the style to be applied to the text are different, create and set it in the form of an object as shown below.

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

설정 결과


Code Block
languagejs
themeEmacs
titlesynapeditor.config.js
{
    'editor.fontFamily': {
        'en': [
            'Arial',
            { label: 'Monospaced typeface'
Lucida Sans Unicode', 'Tahoma',
, value: 'Courier New' },
            { label: 'Serif typeface', value: 'Times New Roman' },
            { label: '
Trebuchet
Sans-serif 
MS
typeface', value: '
Verdana'
Comic Sans MS' }
        ]
    }
}


Image Added



Setting Fonts by Language

Code Block
languagejs
themeEmacs
titlesynapeditor.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
en (English)English (en)

Image RemovedImage RemovedImage Removed

Image RemovedImage RemovedImage AddedImage Added

ko (Korean)

Image AddedImage AddedImage Added