+2006-10-27 Ben North <ben@redfrontdoor.org> (tiny change)
+
+ * w32term.c (x_draw_glyph_string_foreground): Set background mode
+ to TRANSPARENT before using overstrike to simulate bold faces.
+
+ * xfaces.c (best_matching_font): Fix logic to decide whether to
+ use overstriking to simulate bold-face (it was reversed).
+
2006-10-23 Kim F. Storm <storm@cua.dk>
- * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not initialized.
+ * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not
+ initialized.
* keyboard.c (read_char): Make an element (t . EVENT) in
unread-command-events add EVENT to the current command's key sequence.
(x_draw_glyph_string_foreground): Use overstrike when needed.
(x_draw_composite_glyph_string_foreground): Likewise.
Use mac_draw_image_string_16 instead of mac_draw_string_16.
- (mac_load_query_font): Rename from XLoadQueryFont. Take argument F
- instead of DPY. All uses changed. Don't save/restore font.
+ (mac_load_query_font): Rename from XLoadQueryFont. Take argument
+ F instead of DPY. All uses changed. Don't save/restore font.
2006-10-07 Ralf Angeli <angeli@caeruleus.net>
2006-09-30 Eli Zaretskii <eliz@gnu.org>
- * config.in Regenerated.
+ * config.in: Regenerated.
2006-09-29 Juri Linkov <juri@jurta.org>
{
/* For overstriking (to simulate bold-face), draw the
characters again shifted to the right by one pixel. */
+ int old_BkMode = SetBkMode (s->hdc, TRANSPARENT);
w32_text_out (s, x + 1, s->ybase - boff, s->char2b, s->nchars);
+ if (old_BkMode && old_BkMode != TRANSPARENT)
+ SetBkMode (s->hdc, old_BkMode);
}
}
if (s->font && s->font->hfont)