Am 14.05.2015 um 22:08 schrieb Stephan Witt <[email protected]>: > Am 14.05.2015 um 20:07 schrieb Jean-Marc Lasgouttes <[email protected]>: > >> Le 13/05/2015 22:52, Stephan Witt a écrit : >>> Am 13.05.2015 um 10:42 schrieb Jean-Marc Lasgouttes <[email protected]>: >>> >>>> >>>> Hi there, >>>> >>>> The ritual question: what is still needed for 2.2? >>> >>> The patch I've sent to list on Fri, Mar 20, 2015 at 10:15:18AM +0100, named >>> 0001-svg-hidpi-on-mac.patch is not applied already. >>> >>> It is needed - but I didn't do it until now because it breaks the rendering >>> of the >>> splash image (the BackgroundWidget of GuiView) and I got distracted from >>> solving this. >> >> And then Hidpi is mostly done? > > Yes, it looks really good on my display. The problem I have with the splash > widget is the missing size of the SVG version of the banner.
Ok, I have a working solution now. There are some remarks: 1. I didn't find a better solution for the params_.pixel_ratio assignment in GraphicsLoader.cpp yet. 2. The solution for the banner is to provide a SVG with higher resolution than 400x250. This is not part of the patch, I tried it with 800x500 and 1600x1000 and for both the result is ok. 3. The initial size of 400x250 for the BackgroundWidget constructor is needed to get predictable results for different physical screen pixel_ratio values. I'll try to get it running on Linux to see how it works there. Meanwhile, I'm interested in comments. Stephan
0002-svg-hidpi-on-mac.patch
Description: Binary data
