Re: [code] [textadept] retina displays

From: Mitchell <m.att.foicica.com>
Date: Tue, 2 Apr 2013 23:39:37 -0400 (EDT)

Hi John,

On Tue, 2 Apr 2013, John Benediktsson wrote:

> Hi Mitchell,
>
> I spent a good amount of time trying to figure out how to setup pango /
> cairo / gtk / gdk to properly render at retina display HiDPI settings but
> can't seem figure it out.

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

> The resolutions returned by GDK and the entire stack are 72.0 which is
> "correct", and way the cocoa backend works is to apply a scaling factor of
> 2.0 when rendering text or images (if the NSScreen supports it, dragging a
> window from a retina to non-retina screen should "reset" the DPI).
>
> Would it be possible to use the Scintilla Cocoa backend? How hard do you
> think that would be?

No, it would require rewriting Textadept to use Cocoa instead of GTK which
is not something I can do :(

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Tue 02 Apr 2013 - 23:39:37 EDT

This archive was generated by hypermail 2.2.0 : Wed 03 Apr 2013 - 06:38:42 EDT