Secondary font option

Hi, I would welcome a plugin that would allow me to use other than main font for a non-Latin script. Would it be even possible? If so, anybody of for it?

2 Likes

That’s a wonderful idea. I’d like to have that possibility, too. Would it be possible to implement that for Hebrew, Greek (and also for Arabic, Chinese, and Japanese)?

At the moment, a workaround like this could solve it (but I didn’t achieve it completely):

@font-face {
	font-family: SBL Hebrew;
	unicode-range: U+0590-05FF;
}

@font-face {
	font-family: SBL Greek;
	unicode-range: U+0370-03FF, U+1F00-1FFF;
}
div.cm-contentContainer,
.markdown-preview-view {
	font-family: SBL Hebrew, SBL Greek, Arial;
}

Source: Using CSS to Display Fonts for Greek and Hebrew, but not English - John Dyer