diff options
author | Jason Rumney <jasonr@gnu.org> | 2008-02-06 22:35:30 +0000 |
---|---|---|
committer | Jason Rumney <jasonr@gnu.org> | 2008-02-06 22:35:30 +0000 |
commit | 46a923ac725b5ce93bfb7ef8d56055bdc167df22 (patch) | |
tree | a078f4388ea36ce673445991cc2494de053d3bdf /src/w32font.h | |
parent | 06c0751a07882220836c83256c12b87e723f5877 (diff) | |
download | emacs-46a923ac725b5ce93bfb7ef8d56055bdc167df22.tar.gz |
* w32font.c (w32font_text_extents): Fill in lbearing metric.
Use cached metrics for ASCII characters.
(w32font_open_internal): Don't set font's owning_frame. Cache
metrics for ASCII characters.
* w32font.h (struct w32font_info): Add ascii_metrics.
Remove owning_frame.
Diffstat (limited to 'src/w32font.h')
-rw-r--r-- | src/w32font.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32font.h b/src/w32font.h index dd71405bf0a..ba8af67fa5a 100644 --- a/src/w32font.h +++ b/src/w32font.h @@ -32,7 +32,7 @@ struct w32font_info { struct font font; TEXTMETRIC metrics; - struct frame *owning_frame; + struct font_metrics ascii_metrics[96]; }; Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe)); |