kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #37321
Re: Problem with our Cairo-only strategy
Got it: OPENGL_ANTIALIASING_MODE::SUPERSAMPLING_X4.
(We weren’t picking this up because it’s saved in the Pcbnew section. We probably want to move it to Common. There isn’t any reason you’d want a different setting for Pcbnew and Eeschema is there?)
> On 28 Aug 2018, at 18:21, Wayne Stambaugh <stambaughw@xxxxxxxxx> wrote:
>
> 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 <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>
>>> <mailto: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 <https://launchpad.net/~kicad-developers>
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>>
>>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>>> More help : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
>> More help : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
Follow ups
References