(x_draw_glyph_string_background): Clear the background
manually when cleartype is in use. (x_draw_glyph_string_foreground): Draw text transparently when cleartype is in use.
This commit is contained in:
parent
ff31fb954a
commit
073387e725
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-02-15 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* w32term.c (x_draw_glyph_string_background): Clear the background
|
||||
manually when cleartype is in use.
|
||||
(x_draw_glyph_string_foreground): Draw text transparently when
|
||||
cleartype is in use.
|
||||
|
||||
2008-02-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix.
|
||||
|
|
|
@ -1519,6 +1519,7 @@ x_draw_glyph_string_background (s, force_p)
|
|||
|| s->font_not_found_p
|
||||
|| s->extends_to_end_of_line_p
|
||||
|| s->font->bdf
|
||||
|| cleartype_active
|
||||
|| force_p)
|
||||
{
|
||||
x_clear_glyph_string_rect (s, s->x, s->y + box_line_width,
|
||||
|
@ -1547,7 +1548,8 @@ x_draw_glyph_string_foreground (s)
|
|||
else
|
||||
x = s->x;
|
||||
|
||||
if (s->for_overlaps || (s->background_filled_p && s->hl != DRAW_CURSOR))
|
||||
if (s->for_overlaps || (s->background_filled_p && s->hl != DRAW_CURSOR)
|
||||
|| cleartype_active)
|
||||
SetBkMode (s->hdc, TRANSPARENT);
|
||||
else
|
||||
SetBkMode (s->hdc, OPAQUE);
|
||||
|
|
Loading…
Add table
Reference in a new issue