Font family for both editor and preview can not be set in config anymore.
Both editor and preview window always uses the default font from version 0.8.18 or maybe the previous version.
Hi @gustafekeberg, thanks for your report.
Could you tell us to your environment?
Hi @kazup01,
I have the same issue on macOS Sierra 10.12.6.
I found this for the preview with the Dev Tools:
font-family: 'Fira Code, Lato','helvetica','arial','sans-serif';
So, for now, I _"fixed"_ the issue for the preview by adding ' before and after the comma in the preferences (Preview Font Family: _Fira Code', 'Lato_).
Here is the result as seen with the Dev Tools:
font-family: 'Fira Code', 'Lato','helvetica','arial','sans-serif';
I hope it'll help you.
I'm on macOS High Sierra 10.13.1 and I've found out that the issue occurred for me when updating to 0.8.18
Hi! This is an issue also in linux [Arch] with the 0.8.18 version.
Yeah, I also tried it on Ubuntu 17.04. Custom fonts stop working when updating to 0.8.18
Same issue on both Ubuntu 16.04 and Windows 10.
I think Consolas is being used as a default font.
This issue was introduced back in 0.8.16 (#1048) but was never fixed/commented on.
Another workaround is to only specify a single font which is what I had to resort to, e.g. in my case just putting: SF Mono
Most helpful comment
Hi @kazup01,
I have the same issue on macOS Sierra 10.12.6.
I found this for the preview with the Dev Tools:
So, for now, I _"fixed"_ the issue for the preview by adding ' before and after the comma in the preferences (Preview Font Family: _Fira Code', 'Lato_).
Here is the result as seen with the Dev Tools:
I hope it'll help you.