diff src/w32font.h @ 91593:3081b8f848bc

* 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.
author Jason Rumney <jasonr@gnu.org>
date Wed, 06 Feb 2008 22:35:30 +0000
parents a9ab858a06c6
children a371504924ef
line wrap: on
line diff
--- a/src/w32font.h	Wed Feb 06 21:31:16 2008 +0000
+++ b/src/w32font.h	Wed Feb 06 22:35:30 2008 +0000
@@ -32,7 +32,7 @@
 {
   struct font font;
   TEXTMETRIC metrics;
-  struct frame *owning_frame;
+  struct font_metrics ascii_metrics[96];
 };
 
 Lisp_Object w32font_get_cache P_ ((FRAME_PTR fe));