Re: [code] [textadept] retina displays

From: John Benediktsson <>
Date: Wed, 3 Apr 2013 06:51:30 -0700

Hi Mitchell,

> Thanks for your efforts. Perhaps asking the Scintilla mailing list could
> lead you somewhere.


I asked on the Scintilla mailing list, and it turns out you need to disable
Scintilla's buffering (something the cocoa backend also does). The
buffering interferes by rendering into (what is on a retina display) a
half-resolution bitmap.

void ScintillaGTK::Initialise() {
    // Tell Scintilla not to buffer: Quartz buffers drawing for us.

In addition to the NSHighResolutionCapable change to Info.plist, I believe
this is the only patch necessary against the Scintillla GTK backend (the
previous patch[1] seems unnecessary since LogPixelsY already returns 72?).

If this approach looks good to you, I'd love to test another binary for you
when you get some time.



You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 03 Apr 2013 - 09:51:30 EDT

This archive was generated by hypermail 2.2.0 : Thu 04 Apr 2013 - 06:36:17 EDT