← Back to team overview

kicad-developers team mailing list archive

Re: Problem with our Cairo-only strategy

 

Scratch that last comment; I got myself tied in knots.

It is Cairo that renders blocky.


> On 28 Aug 2018, at 18:29, Jeff Young <jeff@xxxxxxxxx> wrote:
> 
> Interesting.  It’s not Cairo.
> 
> We currently have EDA_DRAW_PANEL_GAL hard-coded to OpenGL, so it’s actually OpenGL that’s rendering blocky….
> 
> 
>> On 28 Aug 2018, at 18:11, Jeff Young <jeff@xxxxxxxxx <mailto:jeff@xxxxxxxxx>> 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 <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