← Back to team overview

kicad-developers team mailing list archive

Re: Problem with our Cairo-only strategy

 

Do we need to write a macos GAL object that uses the native macos device
context?  This seems redundant to me because isn't that the purpose of
wxDC and it's derivatives?

On 8/28/2018 1:11 PM, Jeff Young wrote:
> Hi Seth,
> 
> The scaling comes out correct, it’s just blocky.
> 
> Is there some way to adjust what Cairo thinks the screen resolution is
> and then re-scale the canvas so that everything comes out the same
> again?  I don’t know.
> 
> Cheers,
> Jeff.
> 
> 
>> On 28 Aug 2018, at 18:06, Seth Hillbrand <seth@xxxxxxxxxxxxx
>> <mailto:seth@xxxxxxxxxxxxx>> wrote:
>>
>> Can we just use cairo_scale to adjust the axes for Mac retina?
>>
>> -S
>>
>> Am Di., 28. Aug. 2018 um 09:59 Uhr schrieb Jeff Young <jeff@xxxxxxxxx
>> <mailto:jeff@xxxxxxxxx>>:
>>
>>     JP made the Footprint Wizard Cairo-only recently, and I planned to
>>     do the same for the Eeschema dialog previews.
>>
>>     However, I’ve just discovered that Cairo doesn’t handle Retina
>>     displays on Mac.  (It essentially draws blocks of 2x2 pixels
>>     instead of individual ones.)
>>
>>     Anyone know if this is something we can fix, or if we need to use
>>     OpenGL on Mac?
>>     _______________________________________________
>>     Mailing list: https://launchpad.net/~kicad-developers
>>     Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>     <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>     Unsubscribe : https://launchpad.net/~kicad-developers
>>     More help   : https://help.launchpad.net/ListHelp
>>
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References