worked on premove bug
[xboard.git] / bitmaps / README.bitmaps
1 This directory provides bitmaps with the same size and naming\r
2 conventions as those distributed till xboard-3.**\r
3 These bitmaps are distributed under the GNU GENERAL PUBLIC LICENSE\r
4 coming with xboard.\r
5 \r
6 The bitmaps contained herein were converted from my MetaFont\r
7 version of chess font. These are designed very well to deliver\r
8 good rastered images on low resolution devices. The general\r
9 shape of these fonts are designed after very old typefaces\r
10 used in printing chess books. They are not as fancy as the\r
11 currently used bitmaps of xboard, but I like them in their\r
12 'san serif'-ness - may be others too.\r
13   The MetaFont source of this font may be obtained from me\r
14 under the GNU GENERAL PUBLIC LICENSE.\r
15   To convert the pk-Files to bitmaps I used the conversion tool\r
16 mftobdf to generate X11-bdf - fonts, and then used a small C\r
17 program, to write the xbm-files.\r
18 \r
19 5.Feb.1994 Elmar Bartel\r
20 bartel@informatik.tu-muenchen.de\r
21 \r
22 [Elmar supplied only 80, 64, and 40 pixel bitmaps]\r
23 \r
24 * * *\r
25 \r
26 The 21-pixel bitmaps are also based on Elmar's font, but I hand-tuned\r
27 them quite a bit.  I converted them from the Metafont gf file by\r
28 running gftype and applying a C program of my own to the\r
29 human-readable output.\r
30 \r
31 icon_white and icon_black were produced in the same way.\r
32 \r
33 21 Nov 1995  Tim Mann\r
34 \r
35 * * *\r
36 \r
37 The 33, 45, 49, 54, and 58 pixel bitmaps are also based on Elmar's font.\r
38 They were converted using dopkbm.sh, followed by a manual pass with the\r
39 X bitmap editor to adjust the size (adding blank borders as needed) and\r
40 to hand-tune the pixels in a few cases where that was badly needed.\r
41 Here is some data that may be useful in later conversions:\r
42 \r
43 Character numbers in fselch fonts:\r
44 \r
45 Piece  Open  Solid  Open/bg  Solid/bg\r
46 P      0     014    022      036\r
47 N      1     015    023      037\r
48 B      2     016    024      040\r
49 R      3     017    025      041\r
50 Q      4     020    026      042\r
51 K      5     021    027      043\r
52 \r
53 Sizes (WxH):\r
54 \r
55 fselch*.mf  blank sq  queen   used for\r
56 ----------  --------  -----   --------\r
57 8           33x33     31x29   33x33\r
58 9           37x37     33x32   none\r
59 10          42x42     41x37   none\r
60 11          46x46     43x41   45x45\r
61 12          50x50     47x43   49x49\r
62 13          54x54     50x47   54x54\r
63 14          58x58     56x50   58x58\r
64 20          83x83     71x76   none\r
65 21          87x87     76x81   87x87\r
66 22          91x91     79x83   none\r
67 23          95x95     82x89   95x95\r
68 25          104x104   91x99   none\r
69 26          108x108   94x103  108x108\r
70 28          116x116   99x107  116x116\r
71 30          125x125   110x118 none\r
72 31          129x129   113x122 129x129\r
73 32          133x133   116x124 none\r
74 \r
75 \r
76 In each case, fselch*.mf was formatted for 300 dpi.  On Linux with the\r
77 Red Hat tetex-0.4pl8-9 package, this required mag=0.5.  Example:\r
78 \r
79   mf\r
80   \mode=localfont; mag=0.5; input fselch8.mf\r
81   gftopk fselch8.300gf\r
82 \r
83 On Red Hat with tetex-0.9-6, mag=1.0 was needed instead.\r
84 \r
85   mf\r
86   \mode=localfont; mag=1.0; input fselch26.mf\r
87   gftopk fselch26.300gf\r
88 \r
89 \r
90 15 Feb 1998  Tim Mann\r
91 25 Feb 1999  Tim Mann\r
92 \r
93 * * *\r
94 \r
95 I added a large number of bitmaps for non-orthodox pieces, mainly in\r
96 size middling and bulky (and to a lesser extent in petite). A few pieces\r
97 (Archbishop, Chancellor and Lance) are available in all sizes from petite to bulky.\r
98 The bitmaps were created as WinBoard .bmp monochrome bitmaps with MS Paint, and \r
99 converted to .bm C-source files semi-automatically, to be used as built-ins for xboard.\r
100 \r
101  4 Aug 2008 H.G. Muller