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