]> git.eshelyaron.com Git - emacs.git/commit
(w32_per_char_metric): Remove HDC argument. Use
authorAndrew Innes <andrewi@gnu.org>
Sat, 21 Oct 2000 13:26:41 +0000 (13:26 +0000)
committerAndrew Innes <andrewi@gnu.org>
Sat, 21 Oct 2000 13:26:41 +0000 (13:26 +0000)
commit82f9d56522a44d7f32a092873d55b5d1cfb3e4ad
tree14257dc98238a702e2dde865793ffc9f9c896ebb
parentaa2ee344e3f206a0964d35212c194178358bd2a5
(w32_per_char_metric): Remove HDC argument.  Use
cached information in emulated XFontStruct to handle common cases
quickly.  Do not allocate XCharStruct for return.
(w32_native_per_char_metric): New function.
(w32_bdf_per_char_metric): Fill in supplied XCharStruct instead of
allocating one.
(x_produce_glyphs): Don't get an HDC.  Change calls to
w32_per_char_metric to match arg change above.  Remove calls to
free results.
(w32_get_glyph_overhangs): Ditto.
(w32_cache_char_metrics): New function.
src/w32term.c