careteditor / releases-beta

Caret Beta releases
40 stars 4 forks source link

Fonts #7

Closed Torsten-K closed 6 years ago

Torsten-K commented 6 years ago

If I change the font names in the preferences (to those of installed fonts, of course, in my case "Liberation Mono" for the editor and "Liberation Sans" for the preview), nothing changes. There is always a default sans-serif font in both the editor in the preview.

Caret Beta 4.0.0.rc18 on Xubuntu 18.04 64-bit

erusev commented 6 years ago

Preferences are for the editor only. In order to change the font of preview, you need to modify the preview theme. You can do that from View › Preview Theme. If you're familiar with CSS it should be an easy task.

Torsten-K commented 6 years ago

Thanks, @erusev, for the explanation. I misunderstood the entries in the preferences – font is for the normal text in the editor, and codeFont is for programming code in the text. So, it's all clear to me now. And yes, I am familiar with CSS, so no problem to change the font in the preview. Thanks again!