* w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros.
authorJason Rumney <jasonr@gnu.org>
Thu, 26 Jun 2008 22:11:25 +0000 (22:11 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 26 Jun 2008 22:11:25 +0000 (22:11 +0000)
commitc35f9821de5ec0cf127185890191ad0154600d0d
tree18fc6dbe64578d453a0004a8d7b7c4dc3a94e13c
parentec06f5c9a0d4fc01c3af9e14add64bb09f977fb6
* w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros.

* w32term.c (x_draw_glyph_string_foreground):
(x_draw_composite_glyph_string_foreground): Sync with xterm.c.
Use FONT_HANDLE macro.
(x_draw_glyph_string): Use FONT_TEXTMETRIC macro.

* w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape):
(uniscribe_encode_char): Use FONT_HANDLE macro.

* w32font.c (Fx_select_font): Use FONT_HANDLE macro.
(w32font_text_extents): Use precast w32_font.
(w32font_close): Free cached metrics.
(w32font_open_internal): Allocate space for name on stack.
src/ChangeLog
src/w32font.c
src/w32font.h
src/w32term.c
src/w32uniscribe.c