Am 19.05.2015 um 23:26 schrieb Jean-Marc Lasgouttes <lasgout...@lyx.org>:
> Le 19/05/15 23:06, Vincent van Ravesteijn a écrit : >> Stephan Witt schreef op 19-5-2015 om 22:48: >>> commit 0933df00113ee2735699c13559ad3b6e7e9fd115 >>> Author: Stephan Witt <sw...@lyx.org> >>> Date: Tue May 19 08:11:01 2015 +0200 >>> >>> Add Qt's Svg module to the list of used modules. This is required >>> to allow the use of e.g. the QSvgRenderer class. >>> >> >> Is it worth pulling in the QtSvg dependency just to show a nicer banner ? Yes. Because the SVG dependency is not expensive, IMO. > Stephan, can you evaluate what the cost is (memory/disk)? What if we doubled > the resolution of the png version instead? I'll do that. $ du -sh LyX-2.2.0dev.app/Contents/Frameworks/Qt*.framework 11M LyX-2.2.0dev.app/Contents/Frameworks/QtCore.framework 37M LyX-2.2.0dev.app/Contents/Frameworks/QtGui.framework 4,3M LyX-2.2.0dev.app/Contents/Frameworks/QtNetwork.framework 1,2M LyX-2.2.0dev.app/Contents/Frameworks/QtSvg.framework 1,2M LyX-2.2.0dev.app/Contents/Frameworks/QtXml.framework $ ls -lh LyX-2.2.0dev.app/Contents/PlugIns/imageformats/* -rwxr-xr-x 1 stephan staff 39K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqgif.dylib -rwxr-xr-x 1 stephan staff 36K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqico.dylib -rwxr-xr-x 1 stephan staff 255K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqjpeg.dylib -rwxr-xr-x 1 stephan staff 392K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqmng.dylib -rwxr-xr-x 1 stephan staff 31K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqsvg.dylib -rwxr-xr-x 1 stephan staff 31K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqtga.dylib -rwxr-xr-x 1 stephan staff 378K 20 Mai 07:27 LyX-2.2.0dev.app/Contents/PlugIns/imageformats/libqtiff.dylib I cannot imagine Qt is doubling the code to read and parse SVG files. We are using SVG images anyway and the required code and memory "overhead" is already there. To double the resolution of the png version was my original proposal. Now the LyX way to get HiDPI images is the SVG image. Stephan