Disable scintilla buffer draw on OS X (with Quartz backend)
This delagates font rendering to Quartz so it can be rendered in 2x resolution on "retina" displays.
This commit is contained in:
parent
5356c4549a
commit
3c01fae8d9
@ -4779,6 +4779,11 @@ static ScintillaObject *create_new_sci(GeanyEditor *editor)
|
||||
|
||||
/* virtual space */
|
||||
SSM(sci, SCI_SETVIRTUALSPACEOPTIONS, editor_prefs.show_virtual_space, 0);
|
||||
|
||||
#ifdef GDK_WINDOWING_QUARTZ
|
||||
/* "retina" (HiDPI) display support on OS X - requires disabling buffered draw */
|
||||
SSM(sci, SCI_SETBUFFEREDDRAW, 0, 0);
|
||||
#endif
|
||||
|
||||
/* only connect signals if this is for the document notebook, not split window */
|
||||
if (editor->sci == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user