mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-19 01:10:57 -08:00
(w32font_text_extents): Zero whole metrics struct first.
(compute_metrics): Don't set failure if we just cleared the cache.
This commit is contained in:
parent
995feee471
commit
dc6cf56878
2 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
2008-05-26 Jason Rumney <jasonr@gnu.org>
|
||||
|
||||
* w32font.c (w32font_text_extents): Zero whole metrics struct first.
|
||||
(compute_metrics): Don't set failure if we just cleared the cache.
|
||||
|
||||
2008-05-25 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
|
|
|
|||
|
|
@ -1896,7 +1896,8 @@ static void compute_metrics (dc, w32_font, code, metrics)
|
|||
w32_font->glyph_idx = 0;
|
||||
clear_cached_metrics (w32_font);
|
||||
}
|
||||
metrics->status = W32METRIC_FAIL;
|
||||
else
|
||||
metrics->status = W32METRIC_FAIL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue