Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


2013/5/22 chimak111 <chimak111@gmail.com>


On Tue, May 21, 2013 at 8:57 PM, M Henri wrote:

   .... It is only when we come to the scalable apps, which are saved as
.svg files, that we see the sizes
you mentioned ; under usr/share/icons/gnome/scalable/apps, I find, just
as
you mentioned, that
storing libreoffice-calc.svg requires some 1.3 MB. *My question is - what
would happen if the LO
apps were simply removed from this folder* ; would that influence use of
the programme in any
important way ?...

   Henri


Hi, and thank you for confirming what I saw regarding the scalable apps...

Now, I did not remove those files. Instead, I made smaller svg files, ~ 700
*bytes* each for base, calc, draw, impress, and writer files and ~ 450
bytes
for the start-center-related files. I gave them the corresponding file
names
and replaced the bloated ones with the smaller ones. And, so far, I can
still open LibreOffice just fine. So I still don't know what part those
files play and why they're there.

If you're interested, here's my "replacement" code for the calc svg file :)
Obviously, it doesn't look the same but it gets the point across ;)


<svg width="166" height="205" xmlns="http://www.w3.org/2000/svg";>
  <rect ry="9" rx="9" id="svg_21" height="194" width="156" y="5.5" x="5"
stroke-width="5" stroke="#91E185" fill="#7f7f7f"/>
  <path fill="#91E185" stroke-width="5" d="m83,7l76,1l0,68l-76,-69z"
id="svg_22" stroke-linejoin="round"/>
  <path stroke="#999" id="svg_24"
d="m81,5.5l7,-0.5l73.5,67.5l0,7l-81,-74l0.5,0z" stroke-width="5"
fill="#999"/>
  <text font-weight="bold" xml:space="preserve" text-anchor="middle"
font-family="Monospace" font-size="134" id="svg_1" y="155" x="83"
fill="#91E185">C</text>
</svg>


To view it as an svg file, paste the code into a text editor, and save the
file with any prefix but the *suffix must be .svg*. You can then view the
file with your default image viewer.


Hullo, Hitesh/chimak111 ! And thanks for posting your code for replacing
those bloatted .svg files ! The point is, precisely as you write above,
that we «still don't know what part those
files play and why they're there» -  or for that mattter, why they are so
large. Hope some knowledgeable user or developer can contribute to our
enlightenment !...

Henri

-- 
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.