Re: [Development] New high-dpi QPen proposal (Was Re: Proposal: Make QPen non-cosmetic by default)

2012-10-18 Thread Samuel Rødal
On 10/18/2012 11:08 AM, Bache-Wiig Jens wrote: >> Maybe as a best effort we could introduce a different render hint, >> asking QPainter to treat cosmetic pens as geometric, would be a better >> solution for Morten's high-dpi use case. Then it would be opt-in instead >> of opt-out, and no existing a

Re: [Development] New high-dpi QPen proposal (Was Re: Proposal: Make QPen non-cosmetic by default)

2012-10-18 Thread Bache-Wiig Jens
> Maybe as a best effort we could introduce a different render hint, > asking QPainter to treat cosmetic pens as geometric, would be a better > solution for Morten's high-dpi use case. Then it would be opt-in instead > of opt-out, and no existing applications would be affected. Turning on > hig

Re: [Development] New high-dpi QPen proposal (Was Re: Proposal: Make QPen non-cosmetic by default)

2012-10-18 Thread Sean Harmer
On Thursday 18 October 2012 09:59:45 Samuel Rødal wrote: > In summary (or TL;DR), my new proposal would be to just make > QPainter::NonCosmeticDefaultPen work as advertised, and have it be set > by default when high-dpi mode is enabled. This way there would be > minimal breakage of existing code. T

[Development] New high-dpi QPen proposal (Was Re: Proposal: Make QPen non-cosmetic by default)

2012-10-18 Thread Samuel Rødal
On 10/18/2012 07:53 AM, Uwe Rathmann wrote: > On Wed, 17 Oct 2012 16:47:00 +0200, Samuel Rødal wrote: > >> Seems to me to be the best compromise to avoid completely breaking too >> much existing code. > > I don't agree - it is going to break many applications doing graphics and > PDF export for a m