You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +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:
		| @@ -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 ? ` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user