Apache OpenOffice (AOO) Bugzilla – Issue 121656
Gallery: Exchynge some png graphics with svg graphics
Last modified: 2022-10-28 12:54:24 UTC
ALG. The chinese symphony colleagues have offered some of the gallery graphics in their original vector format. Unfortunately not all, but some. Adding these will have two effects: (a) It will (hopefully) decrease the install set size (b) the quality of graphics inserted from the gallery will be high and resolution independent
ALG: Got data for: -arrows -bullets -diagrams -symbols -txtshapes These are not complete and need corrections from time to time, all in all I have to check each single svg graphic. Also these contain 'display="none"' elements which should be filtered out. Some I need to edit using an adequate software; these files also need to be filtered to again remove unused stuff. Looking forward...
ALG: Checked 321 SVGs (yesterday) and if they can replace the corresponding PNGs and WMFs/EMFs. Had to adapt quite some, most by removing the mentioned statement, but also some with graphic tools to adapt the correct SVG size information or to remove unnecessary graphic elements.
ALG: Dir main/extras/source/gallery is 22.364.817 bytes in trunk, in the changed version with SVGs it's 17.882.111 bytes, so it's about 4464706 bytes less, or 4,4 MB. Not bad, this is even better compressable since SVG contains text. Let's see what the install sets say...
ALG: Win install set was 144.503.390 bytes, is now 139.544.774 bytes. This means 4.958.616 bytes less. Yay, nealry 5 megabytes less for the download at *better* quality. Just multiply with our download numbers... Checked build, preparing commit...
"alg" committed SVN revision 1436927 into trunk: #121656# Replaced many gallery base graphics with SVG
ALG: Comitted, done. Looking at some findings in SVG reader...
ALG: Added support for the 'display' property (formally used in the originals, but all removed to make sources even smaller). Also corrected the applied transformation so that it's not applied to masks and clips. Preparing checkin...
"alg" committed SVN revision 1437324 into trunk: #121656# Some more cleanups for SVG import, also const as const can
"alg" committed SVN revision 1437329 into trunk: #121656# removed const for return-by-value
ALG: Okay, done.