Diff

Differences From Artifact [c27adbbcfd]:

To Artifact [17dced76d1]:


1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315

    gdk_gc_set_foreground(gc, &inst->cols[nfg]);
    gdk_draw_text(inst->pixmap, inst->fonts[fontid], gc,
		  x*inst->font_width+cfg.window_border,
		  y*inst->font_height+cfg.window_border+inst->fonts[0]->ascent,
		  text, len);

    /*
     * X fonts seem to be pretty consistent about leaving the
     * _left_ pixel of the cell blank rather than the right. Hence
     * I'm going to hard-code shadow bolding as displaying one
     * pixel to the left rather than try to work out whether it
     * should be left or right.
     */
    if (shadow) {
	gdk_draw_text(inst->pixmap, inst->fonts[fontid], gc,
		      x*inst->font_width+cfg.window_border - 1,
		      y*inst->font_height+cfg.window_border+inst->fonts[0]->ascent,
		      text, len);
    }

    if (attr & ATTR_UNDER) {
	int uheight = inst->fonts[0]->ascent + 1;
	if (uheight >= inst->font_height)







<
<
<
<
<
<
<


|







1292
1293
1294
1295
1296
1297
1298







1299
1300
1301
1302
1303
1304
1305
1306
1307
1308

    gdk_gc_set_foreground(gc, &inst->cols[nfg]);
    gdk_draw_text(inst->pixmap, inst->fonts[fontid], gc,
		  x*inst->font_width+cfg.window_border,
		  y*inst->font_height+cfg.window_border+inst->fonts[0]->ascent,
		  text, len);








    if (shadow) {
	gdk_draw_text(inst->pixmap, inst->fonts[fontid], gc,
		      x*inst->font_width+cfg.window_border + cfg.shadowboldoffset,
		      y*inst->font_height+cfg.window_border+inst->fonts[0]->ascent,
		      text, len);
    }

    if (attr & ATTR_UNDER) {
	int uheight = inst->fonts[0]->ascent + 1;
	if (uheight >= inst->font_height)