[Libreoffice] LibreOffice Icon Naming

Andrew rugby471 at gmail.com
Mon Nov 1 11:52:04 PDT 2010


Regarding https://bugs.freedesktop.org/show_bug.cgi?id=30425

The way that LibreOffice packages its icon themes if far too complex and
difficult and therefore stifles creativity when it comes to creating new
icon
themes.

Icon are given cryptic names such as envvl_l.png in cryptic directories
such as
sw/res and therefore an artist has to spend more time working out where
an icon
should go, rather than creating a theme.

I propose that a readable naming scheme should be put in place that
fixes this,
maybe something similar to what GTK uses at the moment?

As well as this, only icon should be distributed in a theme package, not
unnecessary files such as go-oo-team.png :) These should be packaged with
LibreOffice, not in the icon theme package.

----

Issues with icons/artwork in LibreOffice:
	Sizes are not easily separated
	Names are cryptic
	Directories are classed by component, icons can't be shared and
	it is difficult to locate an icon
	High contrast is mixed into each icon theme, instead of being a
	separate icon theme

A good thing to base our icon and artwork structure on, is the Tango
Icon Naming Spec
(http://tango.freedesktop.org/Standard_Icon_Naming_Specification). It
solves all of the issues above, however the Tango Icon Naming Spec is
too small for LibreOffice and so we would have to extend the spec.

I think the scheme should go as such:

icontheme-name
	actions
		16x16
		22x22
		24x24
		32x32
		48x48
	...


Icon themes would be Tango, Galaxy or HighColour (the High Colour theme
should be a separate theme).


== Examples ==
	= Icons In Tango Spec =
		New File
		lc_newdoc.png,lch_newdoc.png
		actions/*/document-new.png

		Save
		lc05505.png,lc_save.png,lchsave.png
		actions/*/document-save.png

		Save As
		lc05508.png,lc_saveas.png,lchsaveas.png
		actions/*/document-save-as.png

		Document Properties
		lc_setdocumentproperties.png,
		lch_setdocumentproperties.png
		actions/*/document-properties.png

		Page Setup
		lc_printersetup.png,lch_printersetup.png
		actions/*/document-page-setup.png

	= Icons in LibO Extended Spec =
		Close
		lc_closedoc.png,lch_closedoc.png
		actions/*/document-close.png

		Export
		lc_exportto.png,lch_exportto.png
		actions/*/document-close.png

		Repeat	
		lc_repeat.png,lch_repeat.png
		actions/*/edit-repeat.png

		Insert Plugin
		lc_insertplugin.png,lch_insertplugin.png
		actions/*/insert-plugin.png

		Gallery
		lc_gallery.png,lch_gallery.png
		actions/*/tools-gallery.png

Any comments?

-- 
Andrew


More information about the LibreOffice mailing list