mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
Desktop: Fixes #10679: Fix incorrect text rendering on MacOS by changing the default font to Avenir Next
(#10686)
This commit is contained in:
parent
320d0df60d
commit
a3e04103de
@ -204,7 +204,7 @@ class Application extends BaseApplication {
|
||||
public updateEditorFont() {
|
||||
const fontFamilies = [];
|
||||
if (Setting.value('style.editor.fontFamily')) fontFamilies.push(`"${Setting.value('style.editor.fontFamily')}"`);
|
||||
fontFamilies.push('Avenir, Arial, sans-serif');
|
||||
fontFamilies.push('\'Avenir Next\', Avenir, Arial, sans-serif');
|
||||
|
||||
// The '*' and '!important' parts are necessary to make sure Russian text is displayed properly
|
||||
// https://github.com/laurent22/joplin/issues/155
|
||||
|
@ -58,7 +58,7 @@ export default function(theme: any, options: Options = null) {
|
||||
|
||||
theme = theme ? theme : {};
|
||||
|
||||
const fontFamily = '\'Avenir\', \'Arial\', sans-serif';
|
||||
const fontFamily = '\'Avenir Next\', \'Avenir\', \'Arial\', sans-serif';
|
||||
|
||||
const maxWidthTarget = options.contentMaxWidthTarget ? options.contentMaxWidthTarget : '#rendered-md';
|
||||
const maxWidthCss = options.contentMaxWidth ? `
|
||||
|
Loading…
Reference in New Issue
Block a user