= Xapian logos, buttons and other graphics = [[TOC]] == Introduction == This page is a work in progress. The aim is to provide Xapian users with different versions of the Xapian logo and to facilitate/promote the creation of back-links to the Xapian web site. The graphics on this page '''have not been endorsed''' by the Xapian project and none of these files should be considered as "official". For now, use the [https://xapian.org/xapian-logo.png Xapian logo] or the [https://xapian.org/xapian-powered.png "Powered by Xapian" logo] which are used on this web site. I wanted to add a "powered by Xapian" to my Xapian-based web site and it was hard for me to find how to do. In addition, existing logos did not suit me very well (see [http://thread.gmane.org/gmane.comp.search.xapian.general/7774 this thread]). I thought that having a page with graphics and logos that users can easily use (e.g. on pages like [http://en.wikipedia.org/wiki/Xapian this one]) would help to spread the word. Notes: * the text of this page contains [***notes like this one]: they are notes or questions intended to be removed by reviewers. * some graphics are displayed on a grey background so I can distinguish images with transparent and white backgrounds. == Current logos == The original logo clip-art was drawn in a "Xapian logo competition" by a tweakers.net user and was provided to the Xapian project to use as a logo. [***Olly, could you complete if/when you have more details?]. === Top-left logo used on the web site === png, white background. {{{ #!div style="background: #ccc;padding: 1em;" [[Image(https://xapian.org/xapian-logo.png)]] }}} === "Powered by" button found on the [https://xapian.org/users "Xapian users"] page === png, white background. {{{ #!div style="background: #ccc;padding: 1em;" [[Image(https://xapian.org/xapian-powered.png)]] }}} === Jenny Black SVG version === Jenny Black then drew a nice SVG version of the clip-art: [[Image(http://oligarchy.co.uk/xapian/patches/xapian-logo-square.svg)]] == New files == The graphics in this page are derived from this SVG version (I used [http://www.inkscape.org/ Inkscape]). === PNG version of the SVG file === ==== Transparent background ==== {{{ #!div style="background: #ccc;padding: 1em;" [[Image(xapian-logo-square-64.png)]] }}} * [attachment:xapian-logo-square-16.png] (png, 16x16 pixels, transparent) * [attachment:xapian-logo-square-32.png] (png, 32x32 pixels, transparent) * [attachment:xapian-logo-square-64.png] (png, 64x64 pixels, transparent) * [attachment:xapian-logo-square-128.png] (png, 128x128 pixels, transparent) ==== White background ==== {{{ #!div style="background: #ccc;padding: 1em;" [[Image(xapian-logo-square-64-w.png)]] }}} * [attachment:xapian-logo-square-16-w.png] (png, 16x16 pixels, white background) * [attachment:xapian-logo-square-32-w.png] (png, 32x32 pixels, white background) * [attachment:xapian-logo-square-64-w.png] (png, 64x64 pixels, white background) * [attachment:xapian-logo-square-128-w.png] (png, 128x128 pixels, white background) === Modified SVG file for use on dark backgrounds === The original SVG file is intented to be used on light backgrounds. When used on a dark or black background, shadows are not visibles or are lost. I've created a variation of Jenny's SVG file with light shadows instead of dark ones: [attachment:xapian-logo-square-dark.2.svg] [*** The correct name of this file should be "xapian-logo-square-dark.svg". The ".2" was added by trac after a "database is locked" error and I can't rename the attachment.] ==== Transparent background ==== {{{ #!div style="background: #ccc;padding: 1em;" [[Image(xapian-logo-square-dark-64.png)]] }}} * [attachment:xapian-logo-square-dark-16.png] (png, 16x16 pixels, transparent) * [attachment:xapian-logo-square-dark-32.png] (png, 32x32 pixels, transparent) * [attachment:xapian-logo-square-dark-64.png] (png, 64x64 pixels, transparent) * [attachment:xapian-logo-square-dark-128.png] (png, 128x128 pixels, transparent) ==== Black background ==== {{{ #!div style="background: #ccc;padding: 1em;" [[Image(xapian-logo-square-dark-64-b.png)]] }}} * [attachment:xapian-logo-square-dark-16-b.png] (png, 16x16 pixels, black background) * [attachment:xapian-logo-square-dark-32-b.png] (png, 32x32 pixels, black background) * [attachment:xapian-logo-square-dark-64-b.png] (png, 64x64 pixels, black background) * [attachment:xapian-logo-square-dark-128-b.2.png] (png, 128x128 pixels, black background) [*** same ".2" problem] == Textual parts of the logo == === Font === The textual parts of the current logos ("Xapian" and "Powered by") use the font [http://www.linotype.com/187375/itcamericantypewritermedium-font.html "ITC American Typewriter medium"] which is a commercial/copyrighted font by Linotype. There was [http://article.gmane.org/gmane.comp.search.xapian.general/7779 some discussion] on the list about the use of this font in an open source project. One option would be to give users an SVG outline of the text which is part of the logo so they don't have to install the font on their system. ([http://article.gmane.org/gmane.comp.search.xapian.general/7784 James Aylett]: ''What tends to happen is that the font files are licensed, and that license includes permission to create renderings''). Another, probably better, option would be to change the logo so it uses a freely available font ([http://article.gmane.org/gmane.comp.search.xapian.general/7783 Olly Betts]: ''I think it would be better to find a free (as in freedom not just as in beer) font. It doesn't necessarily have to look similar even, provided it looks good with the logo''). The problem, then, is to choose another font... Adam Sjøgren [http://article.gmane.org/gmane.comp.search.xapian.general/7791 suggested] to use * the [http://dejavu-fonts.org/ Deja Vu family] (descendants of the Bitstream Vera fonts) which is available under a [http://dejavu-fonts.org/wiki/index.php?title=License "free licence"] [*** someone, please check] * the [http://www.droidfonts.com/ fonts created for the Android phones] which are available under the [http://www.droidfonts.com/licensing/ Apache License, Version 2.0]. I also tried some monospace fonts released under the [http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL Open Font Licence from SIL] (OFL) or from [http://creativecommons.org/licenses/publicdomain/ Public Domain] (PD): * [http://www.levien.com/type/myfonts/inconsolata.html Inconsolata], OFL * [http://openfontlibrary.org/media/files/asyropoulos/224 UMTypewriter], OFL * [http://openfontlibrary.org/media/files/Daniel_J/359 Jura], GPL/OFL * [http://openfontlibrary.org/media/files/dalles/403 SMonohand], OFL * [http://openfontlibrary.org/media/files/rursus/412 RursusCompactMono], PD === Color of the text === The color of the word Xapian in the main logo is near black (#010101) but is grey (#666666) in the "powered by" logo. The text "Powered by" is in light grey (#999999) in the "powered by" logo. I've choosen to keep the black for the word Xapian and the light grey for the words "powered by". === Fonts test === In the original "powered by" logo, the text "powered by" is on the left on the logo, which gives a logo which is quite large. In the following examples, the bottom of the "p" in Xapian is aligned with the bottom of the red triangle of the logo and the text "powered by" is left-aligned with the "n" of the xapian. ==== Original, created from ITC American Typewriter medium ==== [[Image(ITC-American-Typewriter-medium.png)]] ==== !DejaVu Sans ==== [[Image(DejaVu-Sans.png)]] ==== !DejaVu Sans Condensed ==== [[Image(DejaVu-Sans-Condensed.png)]] ==== !DejaVu Sans Light ==== [[Image(DejaVu-Sans-Light.png)]] ==== !DejaVu Sans Mono ==== [[Image(DejaVu-Sans-Mono.png)]] ==== !DejaVu Serif ==== [[Image(DejaVu-Serif.png)]] ==== !DejaVu Serif Condensed ==== [[Image(DejaVu-Serif-Condensed.png)]] ==== Droid Sans ==== [[Image(Droid-Sans.png)]] ==== Droid Sans Mono ==== [[Image(Droid-Sans-Mono.png)]] ==== Droid Serif ==== [[Image(Droid-Serif.png)]] ==== Inconsolata ==== [[Image(Inconsolata.png)]] ==== UMTypewriter ==== [[Image(UMTypeWriter.png)]] ==== Jura ==== [[Image(Jura.png)]] ==== SMonohand ==== [[Image(SMonohand.png)]] ==== !RursusCompactMono ==== [[Image(RursusCompactMono.png)]] === All fonts at once === You can download the big SVG file I used to produce these variations : [attachment:xapian-text.svg]. == Some variations == === Xapian on black background === Light-shadows logo and text in white. [[Image(xapian-on-black.png)]] === Omega === [[Image(xapian-omega-1.png)]] [[Image(xapian-omega-2.png)]] [[Image(xapian-omega-3.png)]] === Blue button === [[Image(blue-button.png)]]