Skip to content

Commit 2416d68

Browse files
committed
icons: Add README.md
This file intends to capture all knowlege about the purpose and use of icon files.
1 parent 843b093 commit 2416d68

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

icons/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Unison icons
2+
3+
This directory contains icons for use with unison.
4+
5+
# Known purposes
6+
7+
## Unix Desktop Environments
8+
9+
The square icon (U.svg) could be installed in share/icons/hicolor for
10+
use by desktop environments.
11+
12+
The
13+
[icon theme specification](https://specifications.freedesktop.org/icon-theme/latest/)
14+
requires a raster format, preferring png, and optionally svg.
15+
The minimal requirement is a 48x48 icon for hicolor.
16+
17+
## Windows
18+
19+
Windows needs a
20+
[`.ico`](https://en.wikipedia.org/wiki/ICO_(file_format))file.
21+
Currently one is present in src/win32rc, but there is no information
22+
about where it came from or how it was created.
23+
24+
The command `icotool` from the package
25+
[`icoutils`](https://www.nongnu.org/icoutils/) (last release in 2018)
26+
appears to be able to create ico files and extract images from ico
27+
files.
28+
29+
According to wikipedia, starting with Windows Vista, `png` is
30+
acceptable within `ico`.
31+
32+
# Variants
33+
34+
U.svg is a square icon with just a U with arrows.
35+
36+
unison.svg uses the U (apparently from U.svg) and adds "nison" to make
37+
a word icon.
38+
39+
\todo Consider renaming U to unison and unison to unison-word. It
40+
seems likely that the bits currently in U are most useful, and they
41+
should have a more understandable installed name when installed.
42+
43+
# Build System Issues
44+
45+
Currently, there is no automated or scripted support to convert the
46+
svg-format files to `png` or `ico`, and the derived formats are
47+
checked in. Further, the files within `U.ico` do not appear to all
48+
have matching `.png` files.

0 commit comments

Comments
 (0)