src/lib/font/mgSixhi6.c 1.3
1.3 2010/04/06 00:58:57 kent
Adjusting lineHeight of font to be at least two pixels more than pixel height. This gets the chromosome band text to draw again in the ideagram.
Index: src/lib/font/mgSixhi6.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/font/mgSixhi6.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -b -B -U 1000000 -r1.2 -r1.3
--- src/lib/font/mgSixhi6.c 31 Mar 2010 00:07:46 -0000 1.2
+++ src/lib/font/mgSixhi6.c 6 Apr 2010 00:58:57 -0000 1.3
@@ -1,211 +1,211 @@
/* sixhi.c - the data for the compiled-in Vpaint font. */
#include "common.h"
#include "memgfx.h"
#include "../gemfont.h"
/* formerly known as sixhi.c mgTinyFont() now mgTinyFont() */
static char const rcsid[] = "$Id$";
static UBYTE sixhi_data[] = {
0x0,0x82,0x4,0x21,0xcf,0xb6,0xd,0xe3,
0x4,0xe3,0x81,0x50,0xf9,0x87,0xbc,0xc3,
0xcc,0x3e,0x73,0xe0,0x38,0x1f,0x84,0x42,
0x0,0xcd,0x94,0x7b,0x26,0xc,0x31,0x84,
0x88,0x0,0x0,0x6,0x70,0x4f,0x3c,0x33,
0xc7,0x3e,0x71,0xc3,0xc,0x18,0x6,0x1c,
0x71,0xcf,0x1e,0xf3,0xef,0x9e,0x89,0xc0,
0x92,0x42,0x28,0x9c,0xf1,0xcf,0x1e,0xfa,
0x28,0xa2,0x8a,0x2f,0x9e,0xc1,0xe2,0x0,
0x60,0x8,0x0,0x8,0x1,0x80,0x80,0x1,
0x20,0x60,0x0,0x0,0x0,0x0,0x0,0x20,
0x0,0x0,0x0,0x0,0xe,0x31,0xc4,0x0,
0x79,0x41,0x8,0x51,0x2,0x0,0x21,0x44,
0x14,0x21,0x5,0x8,0x20,0x7,0x88,0x51,
0x2,0x10,0x51,0x45,0x4,0x1a,0x2f,0x6,
0x10,0x41,0x4,0xf1,0xe7,0x1c,0x60,0x0,
0x30,0xc0,0xc3,0x6c,0x69,0xa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d8,0xa2,0x16,
0x6b,0x66,0xfe,0x61,0xc6,0xbe,0x73,0x6d,
0x9a,0x21,0xc4,0x12,0x3,0xe1,0x98,0x10,
0xc0,0x2c,0x49,0xe0,0x7,0x68,0x63,0x0,
0x3,0x62,0x3b,0xdf,0x6e,0x1c,0xb2,0x97,
0x84,0xde,0xe1,0x50,0xc8,0x8f,0xbe,0xc3,
0xef,0x8e,0x73,0x20,0xb7,0x60,0x62,0x94,
0x0,0xc9,0x14,0x70,0x86,0x18,0x60,0xc7,
0xbe,0x1,0xe0,0x18,0xa8,0x47,0x1c,0x93,
0xcf,0x4,0x71,0xe0,0x0,0x60,0x1,0x8c,
0xbb,0xef,0x20,0x8b,0xcf,0x26,0xf8,0x80,
0x98,0x42,0xaa,0xa2,0xf2,0x2f,0x1c,0x22,
0x28,0xaa,0x21,0x42,0x18,0x30,0x6d,0x80,
0x30,0x28,0xa0,0x8b,0xe7,0xa2,0xc8,0x81,
0x38,0x23,0xe8,0xa2,0x8a,0x24,0x98,0x22,
0x28,0xaa,0x32,0x21,0x18,0x30,0x6b,0x9c,
0x82,0x27,0x1c,0x71,0xc7,0x20,0x71,0xc7,
0x18,0x21,0x87,0x1c,0x80,0xef,0x9c,0x71,
0xc8,0xa2,0x89,0xc8,0x98,0x71,0xcf,0x1e,
0x71,0x87,0x22,0xf1,0x2f,0xa2,0x61,0xe7,
0xb6,0xcc,0xcd,0x9b,0x71,0xc5,0x96,0xba,
0xe7,0x1c,0x70,0x0,0x8,0xea,0xdb,0x55,
0x49,0x27,0xc,0x18,0x6d,0x8c,0x19,0xbd,
0x86,0x18,0x66,0x46,0xd9,0xbd,0x9c,0xd8,
0x6f,0x56,0x18,0x66,0xf6,0x71,0xc7,0x2d,
0xd3,0xc6,0x54,0x33,0x66,0x8c,0xab,0xed,
0x9c,0x72,0xa7,0x92,0x78,0x86,0x6,0x30,
0xcf,0x80,0x30,0xc3,0x4,0x68,0xc1,0x0,
0x0,0x8d,0x86,0x62,0xac,0xaa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0x0,0x0,0x3c,0x0,0xe,
0x0,0x0,0x0,0x0,0x80,0x20,0x0,0x0,
0x0,0x0,0x3,0xc0,0x0,0x30,0x0,0x0,
0xc1,0xe7,0x1e,0x79,0xe7,0xb8,0x71,0xc7,
0x1c,0x71,0xc8,0xa2,0xf8,0x0,0x1c,0x71,
0xc7,0x9e,0xf1,0xc7,0x80,0x0,0x8c,0x30,
0x79,0xc7,0x1e,0x89,0x2f,0xbe,0x70,0x0,
0xf,0x4,0xc0,0x0,0x79,0xcb,0x10,0x0,
0x8,0xa2,0x70,0x0,0x0,0x29,0xe7,0x80,
0x10,0xc0,0x0,0x0,0x0,0x0,0x0,0x0,
0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc0,
0x0,0x0,0x0,0x0,0x0,0x1,0x80,0x0,
0x3,0x6,0x0,0xf8,0xc,0x8,0x70,0x0,
0x1c,0xc0,0x80,0x0,0x0,0x0,0x0,0x33,
0x0,0x0,0x0,0x0,0x8,0x0,0x0,0x0,
};
static WORD sixhi_ch_ofst[257] = {
0,6,12,18,24,30,36,42,
48,54,60,66,72,78,84,90,
96,102,108,114,120,126,132,138,
144,150,156,162,168,174,180,186,
192,198,204,210,216,222,228,234,
240,246,252,258,264,270,276,282,
288,294,300,306,312,318,324,330,
336,342,348,354,360,366,372,378,
384,390,396,402,408,414,420,426,
432,438,444,450,456,462,468,474,
480,486,492,498,504,510,516,522,
528,534,540,546,552,558,564,570,
576,582,588,594,600,606,612,618,
624,630,636,642,648,654,660,666,
672,678,684,690,696,702,708,714,
720,726,732,738,744,750,756,762,
768,774,780,786,792,798,804,810,
816,822,828,834,840,846,852,858,
864,870,876,882,888,894,900,906,
912,918,924,930,936,942,948,954,
960,966,972,978,984,990,996,1002,
1008,1014,1020,1026,1032,1038,1044,1050,
1056,1062,1068,1074,1080,1086,1092,1098,
1104,1110,1116,1122,1128,1134,1140,1146,
1152,1158,1164,1170,1176,1182,1188,1194,
1200,1206,1212,1218,1224,1230,1236,1242,
1248,1254,1260,1266,1272,1278,1284,1290,
1296,1302,1308,1314,1320,1326,1332,1338,
1344,1350,1356,1362,1368,1374,1380,1386,
1392,1398,1404,1410,1416,1422,1428,1434,
1440,1446,1452,1458,1464,1470,1476,1482,
1488,1494,1500,1506,1512,1518,1524,1530,
1536,};
static struct font_hdr sixhi_font =
{
STPROP, 8, "", 0, 255,
4, 4, 3, 1, 1,
5, 6, 0, 0,
1, 1, 0x5555, (short)0xaaaa,
0xc, NULL,
sixhi_ch_ofst, sixhi_data,
192, 6,
NULL,
1, 0, /* x/y offset */
- 6, /* lineHeight */
+ 8, /* lineHeight */
6, /* psHeight */
};
MgFont *mgTinyFont()
{
return &sixhi_font;
}