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 | 8018018339bcd369e90869cdf2edfa2e1e6003a4 (patch) | |
tree | eb031dba8101d20e9eb6818b3280b4d498c169f7 /src/w32font.h | |
parent | 41c00bb738a419981d6eaa712f617f1e6732ebd0 (diff) | |
download | emacs-8018018339bcd369e90869cdf2edfa2e1e6003a4.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)); |